STM32: -flto --> binary size reduced from 220k to 155k

This commit is contained in:
Pavel Kirienko
2014-04-08 15:53:25 +04:00
parent e8fa4a2369
commit aca9b98016
@@ -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