mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-06 04:40:35 +08:00
STM32: -flto --> binary size reduced from 220k to 155k
This commit is contained in:
@@ -41,4 +41,8 @@ UINCDIR += src/sys
|
||||
|
||||
SERIAL_CLI_PORT_NUMBER = 2
|
||||
|
||||
RELEASE_OPT = -Os -fomit-frame-pointer
|
||||
DEBUG_OPT = -Os -g3
|
||||
USE_OPT = -flto -u_port_lock -u_port_unlock -uchThdExit
|
||||
|
||||
include crdr_chibios/rules_stm32f105_107.mk
|
||||
|
||||
Reference in New Issue
Block a user