aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/TRNG/make/stm32l476_discovery.make
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/TRNG/make/stm32l476_discovery.make')
-rw-r--r--testhal/STM32/multi/TRNG/make/stm32l476_discovery.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/testhal/STM32/multi/TRNG/make/stm32l476_discovery.make b/testhal/STM32/multi/TRNG/make/stm32l476_discovery.make
index a8d43f714..21875522e 100644
--- a/testhal/STM32/multi/TRNG/make/stm32l476_discovery.make
+++ b/testhal/STM32/multi/TRNG/make/stm32l476_discovery.make
@@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
- USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
@@ -112,6 +112,7 @@ include $(CHIBIOS)/tools/mk/autobuild.mk
include $(CHIBIOS)/test/lib/test.mk
include $(CHIBIOS)/test/rt/rt_test.mk
include $(CHIBIOS)/test/oslib/oslib_test.mk
+include $(CHIBIOS)/os/hal/lib/streams/streams.mk
# Define linker script file here.
LDSCRIPT= $(STARTUPLD)/STM32L476xG.ld