diff options
Diffstat (limited to 'testhal/STM32/STM32F1xx/RTC/Makefile')
-rw-r--r-- | testhal/STM32/STM32F1xx/RTC/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F1xx/RTC/Makefile b/testhal/STM32/STM32F1xx/RTC/Makefile index 88272a9de..7cd4bc0cb 100644 --- a/testhal/STM32/STM32F1xx/RTC/Makefile +++ b/testhal/STM32/STM32F1xx/RTC/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). @@ -101,8 +101,7 @@ CSRC = $(PORTSRC) \ $(OSALSRC) \ $(PLATFORMSRC) \ $(BOARDSRC) \ - main.c \ - $(CHIBIOS)/os/various/chrtclib.c + main.c # C++ sources that can be compiled in ARM or THUMB mode depending on the global # setting. |