aboutsummaryrefslogtreecommitdiffstats
path: root/os/common
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-01-11 10:09:25 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-01-11 10:09:25 +0000
commitc7c04a2dfd295cc7cc2ad3f3bddeea378bb5009a (patch)
treeb5cc2b0cc017ae81f264b9590764e9115fd0b998 /os/common
parent8eeb2f00a43442f486151ff6869c8fc825e52e1d (diff)
downloadChibiOS-c7c04a2dfd295cc7cc2ad3f3bddeea378bb5009a.tar.gz
ChibiOS-c7c04a2dfd295cc7cc2ad3f3bddeea378bb5009a.tar.bz2
ChibiOS-c7c04a2dfd295cc7cc2ad3f3bddeea378bb5009a.zip
maple support and demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7618 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common')
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32F103xE_maplemini_bootloader.ld32
1 files changed, 32 insertions, 0 deletions
diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F103xE_maplemini_bootloader.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F103xE_maplemini_bootloader.ld
new file mode 100644
index 000000000..0c7553296
--- /dev/null
+++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F103xE_maplemini_bootloader.ld
@@ -0,0 +1,32 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006-2015 Giovanni Di Sirio
+
+ This file is part of ChibiOS.
+
+ ChibiOS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/*
+ * ST32F103xE memory setup for use with the maplemini bootloader.
+ * You will have to
+ * #define CORTEX_VTOR_INIT 0x5000
+ * in your projects chconf.h
+ */
+MEMORY
+{
+ flash : org = 0x08005000, len = 512k - 0x5000
+ ram : org = 0x20000C00, len = 64k - 0xC00
+}
+
+INCLUDE rules.ld