diff --git a/libuavcan_drivers/stm32/test_stm32f107/Makefile b/libuavcan_drivers/stm32/test_stm32f107/Makefile index 6c1ffbde04..47b30b0291 100644 --- a/libuavcan_drivers/stm32/test_stm32f107/Makefile +++ b/libuavcan_drivers/stm32/test_stm32f107/Makefile @@ -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