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/Mikromedia-STM32-M4-ILI9341/example_chibios_3.x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boards/base/Mikromedia-STM32-M4-ILI9341/example_chibios_3.x') diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/example_chibios_3.x/Makefile b/boards/base/Mikromedia-STM32-M4-ILI9341/example_chibios_3.x/Makefile index a68e06e4..da6e199e 100644 --- a/boards/base/Mikromedia-STM32-M4-ILI9341/example_chibios_3.x/Makefile +++ b/boards/base/Mikromedia-STM32-M4-ILI9341/example_chibios_3.x/Makefile @@ -36,7 +36,7 @@ endif # ARCH = arm-none-eabi- -SRCFLAGS = -ggdb -O0 +SRCFLAGS = -ggdb -O1 CFLAGS = CXXFLAGS = -fno-rtti ASFLAGS = -- cgit v1.2.3