From c7c04a2dfd295cc7cc2ad3f3bddeea378bb5009a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 11 Jan 2015 10:09:25 +0000 Subject: maple support and demo git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7618 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../GCC/ld/STM32F103xE_maplemini_bootloader.ld | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32F103xE_maplemini_bootloader.ld (limited to 'os/common') 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 . +*/ + +/* + * 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 -- cgit v1.2.3