aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/UART/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/UART/Makefile')
-rw-r--r--testhal/STM32/UART/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/UART/Makefile b/testhal/STM32/UART/Makefile
index 76a8c978e..e430a7678 100644
--- a/testhal/STM32/UART/Makefile
+++ b/testhal/STM32/UART/Makefile
@@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
- USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C++ specific options here (added to USE_OPT).
@@ -62,7 +62,7 @@ include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
include $(CHIBIOS)/os/kernel/kernel.mk
-include $(CHIBIOS)/test/test.mk
+#include $(CHIBIOS)/test/test.mk
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.