From a5cde14428f4993ad5556456fc5780af2530273c Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 27 Nov 2015 10:28:41 +1000 Subject: ChibiOS does not work reliably with GCC -O0 with recent compilers. Change to -O1 --- boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile') diff --git a/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile b/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile index 37dd4b5e..f5a1b2c2 100644 --- a/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile +++ b/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile @@ -34,7 +34,7 @@ endif # ARCH = arm-none-eabi- -SRCFLAGS = -ggdb -O0 +SRCFLAGS = -ggdb -O1 CFLAGS = CXXFLAGS = -fno-rtti ASFLAGS = -- cgit v1.2.3