From f6b817c499ec1d8bd528cff00ecae8ed30747151 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Dec 2014 21:37:57 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7583 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../ARMCMx/compilers/GCC/ld/STM32F072xB.ld | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32F072xB.ld diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F072xB.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F072xB.ld new file mode 100644 index 000000000..73fec94c2 --- /dev/null +++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F072xB.ld @@ -0,0 +1,30 @@ +/* + ChibiOS - Copyright (C) 2006,2007,2008,2009,2010, + 2011,2012,2013,2014 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 . +*/ + +/* + * STM32F051x8 memory setup. + */ +MEMORY +{ + flash : org = 0x08000000, len = 128k + ram : org = 0x20000000, len = 16k +} + +INCLUDE rules.ld