From e1fe47b7f9200eb2d1796fb8348d014f826aca4b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 25 May 2014 15:55:46 +0000 Subject: INEMO and NUCLEO board files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6962 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../ports/ARMCMx/compilers/GCC/ld/STM32F030x8.ld | 26 ++++++++++++++++++++++ .../ports/ARMCMx/compilers/GCC/ld/STM32F401xC.ld | 26 ++++++++++++++++++++++ .../ports/ARMCMx/compilers/GCC/ld/STM32L152xE.ld | 26 ++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32F030x8.ld create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32F401xC.ld create mode 100644 os/common/ports/ARMCMx/compilers/GCC/ld/STM32L152xE.ld (limited to 'os/common') 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 -- cgit v1.2.3