aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32L476-DISCOVERY/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32L476-DISCOVERY/Makefile')
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/Makefile b/demos/STM32/RT-STM32L476-DISCOVERY/Makefile
index 99f09a27d..881f1aade 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/Makefile
+++ b/demos/STM32/RT-STM32L476-DISCOVERY/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).