aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-25 15:55:46 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-25 15:55:46 +0000
commite1fe47b7f9200eb2d1796fb8348d014f826aca4b (patch)
tree28ddbc528d5b11c5583df44386d3623f43ca9461 /os/common/ports
parent8bdd0b926946c83dc7ec41ab6372baf4e158d382 (diff)
downloadChibiOS-e1fe47b7f9200eb2d1796fb8348d014f826aca4b.tar.gz
ChibiOS-e1fe47b7f9200eb2d1796fb8348d014f826aca4b.tar.bz2
ChibiOS-e1fe47b7f9200eb2d1796fb8348d014f826aca4b.zip
INEMO and NUCLEO board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6962 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports')
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32F030x8.ld26
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32F401xC.ld26
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/ld/STM32L152xE.ld26
3 files changed, 78 insertions, 0 deletions
diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F030x8.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F030x8.ld
new file mode 100644
index 000000000..cc1a2b0b1
--- /dev/null
+++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F030x8.ld
@@ -0,0 +1,26 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/*
+ * STM32F030x8 memory setup.
+ */
+MEMORY
+{
+ flash : org = 0x08000000, len = 64k
+ ram : org = 0x20000000, len = 8k
+}
+
+INCLUDE rules.ld
diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F401xC.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F401xC.ld
new file mode 100644
index 000000000..74b9fbcc8
--- /dev/null
+++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F401xC.ld
@@ -0,0 +1,26 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/*
+ * STM32F401xC memory setup.
+ */
+MEMORY
+{
+ flash : org = 0x08000000, len = 256k
+ ram : org = 0x20000000, len = 64k
+}
+
+INCLUDE rules.ld
diff --git a/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L152xE.ld b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L152xE.ld
new file mode 100644
index 000000000..c3a9165e8
--- /dev/null
+++ b/os/common/ports/ARMCMx/compilers/GCC/ld/STM32L152xE.ld
@@ -0,0 +1,26 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/*
+ * STM32L152xB memory setup.
+ */
+MEMORY
+{
+ flash : org = 0x08000000, len = 512k
+ ram : org = 0x20000000, len = 80k
+}
+
+INCLUDE rules.ld