aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile')
-rw-r--r--boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile b/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile
index 2512c62a..6c1bb94c 100644
--- a/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile
+++ b/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile
@@ -8,7 +8,7 @@
# See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables
OPT_OS = chibios
OPT_THUMB = yes
- OPT_LINK_OPTIMIZE = yes
+ OPT_LINK_OPTIMIZE = no
OPT_CPU = stm32m4
# uGFX settings
@@ -19,12 +19,13 @@
# ChibiOS settings
ifeq ($(OPT_OS),chibios)
- # See $(GFXLIB)/tools/gmake_scripts/os_chibios.mk for the list of variables
- CHIBIOS = ../ChibiOS
- CHIBIOS_BOARD = ST_STM32F429I_DISCOVERY
- CHIBIOS_PLATFORM = STM32F4xx
- CHIBIOS_PORT = GCC/ARMCMx/STM32F4xx
- CHIBIOS_LDSCRIPT = STM32F407xG.ld
+ # See $(GFXLIB)/tools/gmake_scripts/os_chibios_2.mk for the list of variables
+ CHIBIOS = ../ChibiOS
+ CHIBIOS_VERSION = 2
+ CHIBIOS_BOARD = ST_STM32F429I_DISCOVERY
+ CHIBIOS_PLATFORM = STM32F4xx
+ CHIBIOS_PORT = GCC/ARMCMx/STM32F4xx
+ CHIBIOS_LDSCRIPT = STM32F429xI.ld
endif
##############################################################################################