aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103-MAPLEMINI/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-01 08:09:19 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-01 08:09:19 +0000
commit1643fb26c9748ba28f6950e9f17f98259ae7ef15 (patch)
tree64b36a73a7c11ae07813a51df3501b0b5179db42 /demos/STM32/RT-STM32F103-MAPLEMINI/Makefile
parent76726565ab2dbf9351c704a55a6c66dae4e58cc5 (diff)
downloadChibiOS-1643fb26c9748ba28f6950e9f17f98259ae7ef15.tar.gz
ChibiOS-1643fb26c9748ba28f6950e9f17f98259ae7ef15.tar.bz2
ChibiOS-1643fb26c9748ba28f6950e9f17f98259ae7ef15.zip
Fixed bug #719.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8998 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F103-MAPLEMINI/Makefile')
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/Makefile b/demos/STM32/RT-STM32F103-MAPLEMINI/Makefile
index 1e1090d40..ee7e60c75 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/Makefile
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/Makefile
@@ -107,9 +107,9 @@ include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
ifeq ($(USE_MAPLEMINI_BOOTLOADER),1)
- LDSCRIPT = $(STARTUPLD)/STM32F103xE_maplemini_bootloader.ld
+ LDSCRIPT = $(STARTUPLD)/STM32F103xB_maplemini_bootloader.ld
else
- LDSCRIPT = $(STARTUPLD)/STM32F103xE.ld
+ LDSCRIPT = $(STARTUPLD)/STM32F103xB.ld
endif
# C sources that can be compiled in ARM or THUMB mode depending on the global
@@ -206,6 +206,9 @@ CPPWARN = -Wall -Wextra -Wundef
# List all user C define here, like -D_DEBUG=1
UDEFS =
+ifeq ($(USE_MAPLEMINI_BOOTLOADER),1)
+ UDEFS += -DCORTEX_VTOR_INIT=0x5000
+endif
# Define ASM defines here
UADEFS =