aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-01-08 13:46:52 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-01-08 13:46:52 +0000
commit8eeb2f00a43442f486151ff6869c8fc825e52e1d (patch)
treecf6572ccab2fbaf2f70370497b81fbedfaf9c061 /os/common/ports
parent6efea1e107c13cfc334ff711ec9f0e40be76ee08 (diff)
downloadChibiOS-8eeb2f00a43442f486151ff6869c8fc825e52e1d.tar.gz
ChibiOS-8eeb2f00a43442f486151ff6869c8fc825e52e1d.tar.bz2
ChibiOS-8eeb2f00a43442f486151ff6869c8fc825e52e1d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7617 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports')
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x6.ld30
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32L052x8.ld30
2 files changed, 60 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+*/
+
+/*
+ * 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 <http://www.gnu.org/licenses/>.
+*/
+
+/*
+ * STM32L052x8 memory setup.
+ */
+MEMORY
+{
+ flash : org = 0x08000000, len = 64k
+ ram : org = 0x20000000, len = 8k
+}
+
+INCLUDE rules.ld