From 8eeb2f00a43442f486151ff6869c8fc825e52e1d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 8 Jan 2015 13:46:52 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7617 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../ports/ARMCMx/compilers/GCC/ld/STM32L052x6.ld | 30 ++++++++++++++++++++++ .../ports/ARMCMx/compilers/GCC/ld/STM32L052x8.ld | 30 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x6.ld create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x8.ld (limited to 'os/common/ports') diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x6.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x6.ld new file mode 100644 index 000000000..9b6c03e82 --- /dev/null +++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x6.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 . +*/ + +/* + * STM32L052x8 memory setup. + */ +MEMORY +{ + flash : org = 0x08000000, len = 16k + ram : org = 0x20000000, len = 8k +} + +INCLUDE rules.ld diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x8.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x8.ld new file mode 100644 index 000000000..d1f85f00f --- /dev/null +++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x8.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 . +*/ + +/* + * STM32L052x8 memory setup. + */ +MEMORY +{ + flash : org = 0x08000000, len = 64k + ram : org = 0x20000000, len = 8k +} + +INCLUDE rules.ld -- cgit v1.2.3