diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-11-27 10:28:41 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-11-27 10:28:41 +1000 |
commit | a5cde14428f4993ad5556456fc5780af2530273c (patch) | |
tree | c16d19c35d9adda159b3f9979a9343578c11fe6c /boards/base/Mikromedia-Plus-STM32-M4 | |
parent | 627e780b6c96de1dc88b52abeb765f385afb6d96 (diff) | |
download | uGFX-a5cde14428f4993ad5556456fc5780af2530273c.tar.gz uGFX-a5cde14428f4993ad5556456fc5780af2530273c.tar.bz2 uGFX-a5cde14428f4993ad5556456fc5780af2530273c.zip |
ChibiOS does not work reliably with GCC -O0 with recent compilers.
Change to -O1
Diffstat (limited to 'boards/base/Mikromedia-Plus-STM32-M4')
-rw-r--r-- | boards/base/Mikromedia-Plus-STM32-M4/example_chibios_2.x/Makefile | 2 | ||||
-rw-r--r-- | boards/base/Mikromedia-Plus-STM32-M4/example_chibios_3.x/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_2.x/Makefile b/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_2.x/Makefile index 4d6cf31a..344e3bf4 100644 --- a/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_2.x/Makefile +++ b/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_2.x/Makefile @@ -36,7 +36,7 @@ endif # ARCH = arm-none-eabi- -SRCFLAGS = -ggdb -O0 +SRCFLAGS = -ggdb -O1 CFLAGS = CXXFLAGS = -fno-rtti ASFLAGS = diff --git a/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_3.x/Makefile b/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_3.x/Makefile index 7f274b95..03ed9e2b 100644 --- a/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_3.x/Makefile +++ b/boards/base/Mikromedia-Plus-STM32-M4/example_chibios_3.x/Makefile @@ -6,7 +6,7 @@ # Compiler options here. ifeq ($(USE_OPT),) # Replace -O0 with -O2 for a production build. -O2 just messes with the debugger. - USE_OPT = -O0 -g -fomit-frame-pointer -falign-functions=16 + USE_OPT = -O1 -g -fomit-frame-pointer -falign-functions=16 endif # C specific options here (added to USE_OPT). |