diff --git a/boards/bluepill/Makefile.include b/boards/bluepill/Makefile.include index 85c59e3a03930bea9883ef2a1918dc5ffd82d466..c87a5146a6c3bf15ab8a2c13d0461d1d6b5856c9 100644 --- a/boards/bluepill/Makefile.include +++ b/boards/bluepill/Makefile.include @@ -15,16 +15,16 @@ include $(RIOTMAKE)/tools/serial.inc.mk # To stop bootloader from loading an existing firmware, pull down # (ground) GPIO B1. ifeq ($(PROGRAMMER),dfu-util) - export LINKER_SCRIPT = stm32f103c8_bluepill.ld - export BINFILE = $(patsubst %.elf,%.bin,$(ELFFILE)) + export ROM_OFFSET ?= 0x2000 # Skip the space needed by the embedded bootloader + export BINFILE = $(patsubst %.elf,%.bin,$(ELFFILE)) + export FLASHER = dfu-util + export DEBUGGER = # no debugger + export RESET = # dfu-util has no support for resetting the device - export FLASHER = dfu-util - export DEBUGGER = # no debugger - export RESET = # dfu-util has no support for resetting the device - - export OFLAGS = -O binary - export FFLAGS = -d 1d50:6017 -s 0x08002000:leave -D "$(HEXFILE)" + export OFLAGS = -O binary + export FFLAGS = -d 1d50:6017 -s 0x08002000:leave -D "$(HEXFILE)" else + # this board uses openocd by default export DEBUG_ADAPTER ?= stlink export STLINK_VERSION ?= 2 diff --git a/boards/nucleo-l152/Makefile.include b/boards/nucleo-l152/Makefile.include index 5ba7da128f4b1ee93cc66a0aedd2f78893a9ba0b..f6bf89126ad26158c7618dac7f547aa17391773f 100644 --- a/boards/nucleo-l152/Makefile.include +++ b/boards/nucleo-l152/Makefile.include @@ -1,6 +1,6 @@ ## the cpu to build for export CPU = stm32l1 -export CPU_MODEL = stm32l152ret6 +export CPU_MODEL = stm32l152re # load the common Makefile.include for Nucleo boards include $(RIOTBOARD)/common/nucleo/Makefile.include diff --git a/boards/opencm904/Makefile.include b/boards/opencm904/Makefile.include index 18b0b6cffa421ce5c52de5988a0e613146f35b4c..c84c2fc89e2c5e571a6e59edb5fd1149e07e7778 100644 --- a/boards/opencm904/Makefile.include +++ b/boards/opencm904/Makefile.include @@ -2,9 +2,6 @@ export CPU = stm32f1 export CPU_MODEL = stm32f103cb -# custom linkerscript -export LINKER_SCRIPT = stm32f103cb_opencm904.ld - # custom flasher to use with the bootloader export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/robotis-loader.py export DEBUGGER = @@ -19,5 +16,8 @@ export DEBUGGER_FLAGS = PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) +# Skip the space needed by the embedded bootloader +export ROM_OFFSET ?= 0x3000 + # setup serial terminal include $(RIOTMAKE)/tools/serial.inc.mk diff --git a/boards/spark-core/Makefile.include b/boards/spark-core/Makefile.include index b2942cc3f85ea44bd306afbc3ecfe6aad61a34f3..98c8cbee6abb6154aa16d6c461b2542b12a556d7 100644 --- a/boards/spark-core/Makefile.include +++ b/boards/spark-core/Makefile.include @@ -2,9 +2,6 @@ export CPU = stm32f1 export CPU_MODEL = stm32f103cb -# the spark-core uses its own custom linkerscript... -export LINKER_SCRIPT = stm32f103cb_sparkcore.ld - # configure the serial interface PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) @@ -21,5 +18,8 @@ export FFLAGS = -d 1d50:607f -a 0 -s 0x08005000:leave -D "$(HEXFILE)" export INCLUDES += -I$(RIOTCPU)/$(CPU)/include/ -I$(RIOTBOARD)/$(BOARD)/include/ +# Skip the space needed by the embedded bootloader +export ROM_OFFSET ?= 0x5000 + # this board uses openocd include $(RIOTMAKE)/tools/openocd.inc.mk diff --git a/cpu/stm32_common/Makefile.include b/cpu/stm32_common/Makefile.include index ea7ac7c76b0da7ba979ca87206c003d7d63c8eb0..cdc5e53a00786354ef14a95ee12f20ace9ed714d 100644 --- a/cpu/stm32_common/Makefile.include +++ b/cpu/stm32_common/Makefile.include @@ -8,5 +8,15 @@ USEMODULE += periph_common # include stm32 common functions and stm32 common periph drivers USEMODULE += stm32_common stm32_common_periph +# For stm32 cpu's we use the stm32_common.ld linker script +export LINKFLAGS += -L$(RIOTCPU)/stm32_common/ldscripts +LINKER_SCRIPT ?= stm32_common.ld + # export the common include directory export INCLUDES += -I$(RIOTCPU)/stm32_common/include + +include $(RIOTCPU)/stm32_common/stm32_mem_lengths.mk + +ifneq (,$(CCMRAM_LEN)) + LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_ccmram_length=$(CCMRAM_LEN) +endif diff --git a/cpu/stm32_common/ldscripts/stm32_common.ld b/cpu/stm32_common/ldscripts/stm32_common.ld new file mode 100644 index 0000000000000000000000000000000000000000..fcd963541745731247c169f0914fa21096a1efe8 --- /dev/null +++ b/cpu/stm32_common/ldscripts/stm32_common.ld @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2017 Inria + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @addtogroup cpu_cortexm_common + * @{ + * + * @file + * @brief Memory definitions for the Cortex-M family + * + * @author Francisco Acosta <francisco.acosta@inria.fr> + * + * @} + */ + +ccmram_length = DEFINED( ccmram_len ) ? ccmram_len : 0x0 ; + +MEMORY +{ + ccmram (rwx): ORIGIN = 0x10000000, LENGTH = ccmram_length +} + +INCLUDE cortexm.ld diff --git a/cpu/stm32_common/stm32_mem_lengths.mk b/cpu/stm32_common/stm32_mem_lengths.mk new file mode 100644 index 0000000000000000000000000000000000000000..782b0983d1a2ed228fefa551c9e65ae6b7214a8e --- /dev/null +++ b/cpu/stm32_common/stm32_mem_lengths.mk @@ -0,0 +1,309 @@ +# Set the common memory addresses for stm32 MCU family +ROM_START_ADDR ?= 0x08000000 +RAM_START_ADDR ?= 0x20000000 + +# The next block takes care of setting the rigth lengths of RAM and ROM +# for the stm32 family. Most of the CPUs should have been taken into +# account here, so no need to assign the lengths per model. +STM32_INFO := $(shell printf '%s' '$(CPU_MODEL)' | tr 'a-z' 'A-Z' | sed -E -e 's/^STM32(F|L)(0|1|2|3|4|7)([0-9])([0-9])(.)(.)/\1 \2 \2\3\4 \3 \4 \5 \6/') +STM32_TYPE := $(word 1, $(STM32_INFO)) +STM32_FAMILY := $(word 2, $(STM32_INFO)) +STM32_MODEL := $(word 3, $(STM32_INFO)) +STM32_MODEL2 := $(word 4, $(STM32_INFO)) +STM32_MODEL3 := $(word 5, $(STM32_INFO)) +STM32_PINCOUNT := $(word 6, $(STM32_INFO)) +STM32_ROMSIZE := $(word 7, $(STM32_INFO)) + +ifeq ($(STM32_TYPE), F) + ifeq ($(STM32_FAMILY), 0) + ifeq ($(STM32_MODEL2), 3) + ifeq ($(STM32_MODEL3), 0) + ifneq (, $(filter $(STM32_ROMSIZE), 4 6)) + RAM_LEN = 4K + else ifeq ($(STM32_ROMSIZE), 8) + RAM_LEN = 8K + else ifeq ($(STM32_ROMSIZE), C) + RAM_LEN = 32K + endif + else ifneq (, $(filter $(STM32_MODEL3), 1 8)) + RAM_LEN = 4K + endif + else ifeq ($(STM32_MODEL2), 4) + RAM_LEN = 6K + else ifeq ($(STM32_MODEL2), 5) + RAM_LEN = 8K + else ifeq ($(STM32_MODEL2), 7) + ifeq ($(STM32_MODEL3), 0) + ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 6K + else ifeq ($(STM32_ROMSIZE), B) + RAM_LEN = 16K + endif + else ifneq (, $(filter $(STM32_MODEL3), 1 2 8)) + RAM_LEN = 16K + endif + else ifeq ($(STM32_MODEL2), 9) + RAM_LEN = 32K + endif + else ifeq ($(STM32_FAMILY), 1) + ifeq ($(STM32_MODEL2), 0) + ifeq ($(STM32_MODEL3), 0) + ifneq (, $(filter $(STM32_ROMSIZE), 4 6)) + RAM_LEN = 4K + else ifneq (, $(filter $(STM32_ROMSIZE), 8 B)) + RAM_LEN = 8K + else ifeq ($(STM32_ROMSIZE), C) + RAM_LEN = 24K + else ifneq (, $(filter $(STM32_ROMSIZE), E D)) + RAM_LEN = 32K + endif + else ifneq (, $(filter $(STM32_MODEL3), 1 2)) + ifeq ($(STM32_ROMSIZE), 4) + RAM_LEN = 4K + else ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 6K + else ifeq ($(STM32_ROMSIZE), 8) + RAM_LEN = 10K + else ifeq ($(STM32_ROMSIZE), B) + RAM_LEN = 16K + else ifeq ($(STM32_ROMSIZE), C) + RAM_LEN = 32K + else ifneq (, $(filter $(STM32_ROMSIZE), D E)) + RAM_LEN = 48K + else ifneq (, $(filter $(STM32_ROMSIZE), F G)) + RAM_LEN = 80K + endif + else ifeq ($(STM32_MODEL3), 3) + ifeq ($(STM32_ROMSIZE), 4) + RAM_LEN = 6K + else ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 10K + else ifneq (, $(filter $(STM32_ROMSIZE), 8 B)) + RAM_LEN = 20K + else ifneq (, $(filter $(STM32_ROMSIZE), C D E)) + RAM_LEN = 64K + else ifneq (, $(filter $(STM32_ROMSIZE), F G)) + RAM_LEN = 96K + endif + endif + else ifneq (, $(filter $(STM32_MODEL), 105 107)) + RAM_LEN = 64K + endif + else ifeq ($(STM32_FAMILY), 2) + ifeq ($(STM32_MODEL3), 5) + ifeq ($(STM32_ROMSIZE), B) + RAM_LEN = 64K + else ifeq ($(STM32_ROMSIZE), C) + RAM_LEN = 96K + else ifeq (, $(filter $(STM32_ROMSIZE), E F G)) + RAM_LEN = 128K + endif + else ifeq ($(STM32_MODEL3), 7) + RAM_LEN = 128K + endif + else ifeq ($(STM32_FAMILY), 3) + ifeq ($(STM32_MODEL), 301) + RAM_LEN = 16K + else ifeq ($(STM32_MODEL), 302) + ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 32K + else ifeq ($(STM32_ROMSIZE), 8) + RAM_LEN = 64K + else ifeq ($(STM32_ROMSIZE), B) + RAM_LEN = 128K + else ifeq ($(STM32_ROMSIZE), C) + RAM_LEN = 256K + else ifeq ($(STM32_ROMSIZE), D) + RAM_LEN = 384K + else ifeq ($(STM32_ROMSIZE), E) + RAM_LEN = 512K + endif + else ifeq ($(STM32_MODEL), 303) + ifneq (, $(filter $(STM32_ROMSIZE), 6 8)) + RAM_LEN = 16K + CCMRAM_LEN = 4K + else ifeq ($(STM32_ROMSIZE), B) + RAM_LEN = 40K + CCMRAM_LEN = 8K + else ifeq ($(STM32_ROMSIZE), C) + RAM_LEN = 48K + CCMRAM_LEN = 8K + else ifneq (, $(filter $(STM32_ROMSIZE), D E)) + RAM_LEN = 80K + endif + else ifeq ($(STM32_MODEL3), 4) + RAM_LEN = 16K + CCMRAM_LEN = 4K + else ifeq ($(STM32_MODEL), 373) + RAM_LEN = 32K + else ifeq ($(STM32_MODEL3), 8) + ifneq (, $(filter $(STM32_MODEL2), 1 2)) + RAM_LEN = 16K + ifeq ($(STM32_MODEL2), 1) + CCMRAM_LEN = 4K + endif + else ifeq ($(STM32_MODEL2), 5) + RAM_LEN = 48K + CCMRAM_LEN = 8K + else ifeq ($(STM32_MODEL2), 7) + RAM_LEN = 32K + else ifeq ($(STM32_MODEL2), 9) + RAM_LEN = 80K + CCMRAM_LEN = 16K + endif + endif + else ifeq ($(STM32_FAMILY), 4) + ifeq ($(STM32_MODEL), 401) + ifneq (, $(filter $(STM32_ROMSIZE), B C)) + RAM_LEN = 64K + else ifneq (, $(filter $(STM32_ROMSIZE), D E)) + RAM_LEN = 96K + endif + else ifneq (, $(filter $(STM32_MODEL), 405 407)) + RAM_LEN = 192K + else ifeq ($(STM32_MODEL), 410) + RAM_LEN = 32K + else ifneq (, $(filter $(STM32_MODEL), 411 446)) + RAM_LEN = 128K + else ifneq (, $(filter $(STM32_MODEL), 412 427 429 437 439)) + RAM_LEN = 256K + else ifneq (, $(filter $(STM32_MODEL), 413 423)) + RAM_LEN = 320K + else ifneq (, $(filter $(STM32_MODEL), 415 417)) + RAM_LEN = 192K + else ifneq (, $(filter $(STM32_MODEL), 469 479)) + RAM_LEN = 384K + endif + ifneq (, $(filter $(STM32_MODEL3), 5 7 9)) + CCMRAM_LEN = 64K + endif + else ifeq ($(STM32_FAMILY),7) + ifneq (, $(filter $(STM32_MODEL2), 2 3)) + RAM_LEN = 256K + else ifneq (, $(filter $(STM32_MODEL2), 4 5)) + RAM_LEN = 320K + else ifneq (, $(filter $(STM32_MODEL2), 6 7)) + RAM_LEN = 512K + endif + endif +else ifeq ($(STM32_TYPE), L) + ifeq ($(STM32_FAMILY), 0) + ifneq (, $(filter $(STM32_MODEL2), 1 2)) + RAM_LEN = 2K + else ifneq (, $(filter $(STM32_MODEL2), 3 4 5 6)) + RAM_LEN = 8K + else ifneq (, $(filter $(STM32_MODEL2), 7 8)) + RAM_LEN = 20K + endif + else ifeq ($(STM32_FAMILY), 1) + ifeq ($(STM32_MODEL), 100) + ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 4K + else ifeq ($(STM32_ROMSIZE), 8) + RAM_LEN = 8K + else ifneq (, $(filter $(STM32_ROMSIZE), B C)) + RAM_LEN = 16K + endif + else ifneq (, $(filter $(STM32_MODEL), 151 152)) + ifneq (, $(filter $(STM32_PINCOUNT), C Q U V Z)) + ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 16K + else ifneq (, $(filter $(STM32_ROMSIZE), 8 B C)) + RAM_LEN = 32K + else ifeq ($(STM32_ROMSIZE), D) + RAM_LEN = 48K + else ifeq ($(STM32_ROMSIZE), E) + RAM_LEN = 80K + endif + else ifeq ($(STM32_PINCOUNT), R) + ifeq ($(STM32_ROMSIZE), 6) + RAM_LEN = 16K + else ifneq (, $(filter $(STM32_ROMSIZE), 8 C)) + RAM_LEN = 32K + else ifeq ($(STM32_ROMSIZE), B) + RAM_LEN = 16K + else ifeq ($(STM32_ROMSIZE), D) + RAM_LEN = 48K + else ifeq ($(STM32_ROMSIZE), E) + RAM_LEN = 80K + endif + endif + endif + else ifeq ($(STM32_FAMILY), 4) + ifeq ($(STM32_MODEL2), 3) + RAM_LEN = 64K + else ifeq ($(STM32_MODEL2), 7) + RAM_LEN = 128K + else ifeq ($(STM32_MODEL2), 5) + RAM_LEN = 160K + else ifeq ($(STM32_MODEL2), 9) + RAM_LEN = 320K + endif + endif +endif + +ifeq ($(RAM_LEN), ) + $(warning Unsupported cpu model $(CPU_MODEL) automatically) +endif + +ifeq ($(STM32_ROMSIZE), 4) + ROM_LEN = 16K +else ifeq ($(STM32_ROMSIZE), 6) + ROM_LEN = 32K +else ifeq ($(STM32_ROMSIZE), 8) + ROM_LEN = 64K +else ifeq ($(STM32_ROMSIZE), B) + ROM_LEN = 128K +else ifeq ($(STM32_ROMSIZE), Z) + ROM_LEN = 192K +else ifeq ($(STM32_ROMSIZE), C) + ROM_LEN = 256K +else ifeq ($(STM32_ROMSIZE), D) + ROM_LEN = 384K +else ifeq ($(STM32_ROMSIZE), E) + ROM_LEN = 512K +else ifeq ($(STM32_ROMSIZE), F) + ROM_LEN = 768K +else ifeq ($(STM32_ROMSIZE), G) + ROM_LEN = 1024K +else ifeq ($(STM32_ROMSIZE), H) + ROM_LEN = 1536K +else ifeq ($(STM32_ROMSIZE), I) + ROM_LEN = 2048K +endif + +ifeq ($(STM32_PINCOUNT), A) + STM32_PINCOUNT = 169 +else ifeq ($(STM32_PINCOUNT), B) + STM32_PINCOUNT = 208 +else ifeq ($(STM32_PINCOUNT), C) + STM32_PINCOUNT = 48 +else ifeq ($(STM32_PINCOUNT), F) + STM32_PINCOUNT = 20 +else ifeq ($(STM32_PINCOUNT), G) + STM32_PINCOUNT = 28 +else ifeq ($(STM32_PINCOUNT), H) + STM32_PINCOUNT = 40 +else ifeq ($(STM32_PINCOUNT), I) + STM32_PINCOUNT = 176 +else ifeq ($(STM32_PINCOUNT), J) + STM32_PINCOUNT = 72 +else ifeq ($(STM32_PINCOUNT), K) + STM32_PINCOUNT = 32 +else ifeq ($(STM32_PINCOUNT), M) + STM32_PINCOUNT = 81 +else ifeq ($(STM32_PINCOUNT), N) + STM32_PINCOUNT = 216 +else ifeq ($(STM32_PINCOUNT), Q) + STM32_PINCOUNT = 132 +else ifeq ($(STM32_PINCOUNT), R) + STM32_PINCOUNT = 64 +else ifeq ($(STM32_PINCOUNT), T) + STM32_PINCOUNT = 36 +else ifeq ($(STM32_PINCOUNT), U) + STM32_PINCOUNT = 63 +else ifeq ($(STM32_PINCOUNT), V) + STM32_PINCOUNT = 100 +else ifeq ($(STM32_PINCOUNT), Z) + STM32_PINCOUNT = 144 +endif diff --git a/cpu/stm32f0/ldscripts/stm32f030r8.ld b/cpu/stm32f0/ldscripts/stm32f030r8.ld deleted file mode 100644 index e8f114a806c3e92ef4afa050cf501f7ee4d4ac8a..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f030r8.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2016 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F030R8 - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f0/ldscripts/stm32f031k6.ld b/cpu/stm32f0/ldscripts/stm32f031k6.ld deleted file mode 100644 index 4ac636b6d5984b2225d5788499028f049c3d67e7..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f031k6.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F031K6 - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f0/ldscripts/stm32f042k6.ld b/cpu/stm32f0/ldscripts/stm32f042k6.ld deleted file mode 100644 index 39b744ff46b40bd4661b91b14d590c64baacbec5..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f042k6.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2016 OTA keys - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F042K6 - * - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 6K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f0/ldscripts/stm32f051r8.ld b/cpu/stm32f0/ldscripts/stm32f051r8.ld deleted file mode 100644 index f22058a95e27364111116a443e11dc4e46a4f565..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f051r8.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F051R8 - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f0/ldscripts/stm32f070rb.ld b/cpu/stm32f0/ldscripts/stm32f070rb.ld deleted file mode 100644 index b9f9d271cadf47c0315c6bee843b8926570f20a7..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f070rb.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2016 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F070RB - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f0/ldscripts/stm32f072rb.ld b/cpu/stm32f0/ldscripts/stm32f072rb.ld deleted file mode 100644 index 7a4d8380a6bb167d51ac48fcb4ba5779562eb501..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f072rb.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F072RB - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f0/ldscripts/stm32f091rc.ld b/cpu/stm32f0/ldscripts/stm32f091rc.ld deleted file mode 100644 index ebe346988ce41aede28378d41dbd34ba4227dab2..0000000000000000000000000000000000000000 --- a/cpu/stm32f0/ldscripts/stm32f091rc.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f0 - * @{ - * - * @file - * @brief Memory definitions for the STM32F091RC - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103c8.ld b/cpu/stm32f1/ldscripts/stm32f103c8.ld deleted file mode 100644 index 4b7d38c94282ce751bf5cefaaeb90815ababc6dd..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103c8.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Alexander Melnikov <avmelnikoff@gmail.com> - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief Memory definitions for the STM32F103C8 - * - * @author Alexander Melnikov <avmelnikoff@gmail.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103c8_bluepill.ld b/cpu/stm32f1/ldscripts/stm32f103c8_bluepill.ld deleted file mode 100644 index 4181d1d7a2140303ed42db67ec3ef7bed5c9f083..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103c8_bluepill.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 Alexander Melnikov <avmelnikoff@gmail.com> - * 2017 HAW Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief Memory definitions for the STM32F103C8 - * - * @author Alexander Melnikov <avmelnikoff@gmail.com> - * @author Sebastian Meiling <s@mlng.net> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08002000, LENGTH = 64K-0x2000 - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103cb.ld b/cpu/stm32f1/ldscripts/stm32f103cb.ld deleted file mode 100644 index 91de244859b85da478bc7614eb1fc14409c80c09..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103cb.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief Memory definitions for the STM32F103CB - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103cb_opencm904.ld b/cpu/stm32f1/ldscripts/stm32f103cb_opencm904.ld deleted file mode 100644 index 452935e2989c0716f4aaf6edb7606a8e5a9399da..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103cb_opencm904.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 INRIA - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief OpenCM9.04 specific definitions for the STM32F103CB - * - * @author Loïc Dauphin <loic.dauphin@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08003000, LENGTH = 128K-0x3000 - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103cb_sparkcore.ld b/cpu/stm32f1/ldscripts/stm32f103cb_sparkcore.ld deleted file mode 100644 index 6b33f73cf49a7295af9e0213f4f35b16656537ea..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103cb_sparkcore.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief Spark-core specific memory definitions for the STM32F103CB - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08005000, LENGTH = 128K-0x5000 - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103rb.ld b/cpu/stm32f1/ldscripts/stm32f103rb.ld deleted file mode 100644 index 8412a07e07e258886469bdd17c731bc15bc460f7..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103rb.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 TriaGnoSys GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief Memory definitions for the STM32F103RB - * - * @author Victor Ariño <victor.arino@triagnosys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f1/ldscripts/stm32f103re.ld b/cpu/stm32f1/ldscripts/stm32f103re.ld deleted file mode 100644 index af84488fe6f3be9583981e1046d28243ecdc748e..0000000000000000000000000000000000000000 --- a/cpu/stm32f1/ldscripts/stm32f103re.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f1 - * @{ - * - * @file - * @brief Memory definitions for the STM32F103RE - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 64K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f2/ldscripts/stm32f205rg.ld b/cpu/stm32f2/ldscripts/stm32f205rg.ld deleted file mode 100644 index c5adfed5fff3b60912c97c5f62a739cb94a49a45..0000000000000000000000000000000000000000 --- a/cpu/stm32f2/ldscripts/stm32f205rg.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f2 - * @{ - * - * @file - * @brief Memory definitions for the STM32F205RG - * - * @author Nick v. IJzendoorn <nijzendoorn@engineering-spirit.nl> - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f2/ldscripts/stm32f207zg.ld b/cpu/stm32f2/ldscripts/stm32f207zg.ld deleted file mode 100644 index c6a03b47e9b99c806e33a24adc90085a17263a25..0000000000000000000000000000000000000000 --- a/cpu/stm32f2/ldscripts/stm32f207zg.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f2 - * @{ - * - * @file - * @brief Memory definitions for the STM32F207ZG - * - * @author Nick v. IJzendoorn <nijzendoorn@engineering-spirit.nl> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f2/ldscripts/stm32f215rg.ld b/cpu/stm32f2/ldscripts/stm32f215rg.ld deleted file mode 100644 index 329f3c183513df9a004b983a0b8525a58fb11dc8..0000000000000000000000000000000000000000 --- a/cpu/stm32f2/ldscripts/stm32f215rg.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f2 - * @{ - * - * @file - * @brief Memory definitions for the STM32F215RG - * - * @author Nick v. IJzendoorn <nijzendoorn@engineering-spirit.nl> - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f2/ldscripts/stm32f215ve.ld b/cpu/stm32f2/ldscripts/stm32f215ve.ld deleted file mode 100644 index c99cde1f34ff36ab99610cb464c2fb60321c0022..0000000000000000000000000000000000000000 --- a/cpu/stm32f2/ldscripts/stm32f215ve.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f2 - * @{ - * - * @file - * @brief Memory definitions for the STM32F215VG - * - * @author Nick v. IJzendoorn <nijzendoorn@engineering-spirit.nl> - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f2/ldscripts/stm32f215vg.ld b/cpu/stm32f2/ldscripts/stm32f215vg.ld deleted file mode 100644 index acf610dd38d78372d8cb33907c09f59872875342..0000000000000000000000000000000000000000 --- a/cpu/stm32f2/ldscripts/stm32f215vg.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f2 - * @{ - * - * @file - * @brief Memory definitions for the STM32F215VG - * - * @author Nick v. IJzendoorn <nijzendoorn@engineering-spirit.nl> - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f2/ldscripts/stm32f217zg.ld b/cpu/stm32f2/ldscripts/stm32f217zg.ld deleted file mode 100644 index 7b6f577280ec42996a600babbc42a195cf47e6ac..0000000000000000000000000000000000000000 --- a/cpu/stm32f2/ldscripts/stm32f217zg.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * Copyright (C) 2016 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f2 - * @{ - * - * @file - * @brief Memory definitions for the STM32F217ZG - * - * @author Nick v. IJzendoorn <nijzendoorn@engineering-spirit.nl> - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f3/ldscripts/stm32f302r8.ld b/cpu/stm32f3/ldscripts/stm32f302r8.ld deleted file mode 100644 index e23ae9817c7839e6833f1f805f3f03db1e60da7e..0000000000000000000000000000000000000000 --- a/cpu/stm32f3/ldscripts/stm32f302r8.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f3 - * @{ - * - * @file - * @brief Memory definitions for the STM32F302R8 - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f3/ldscripts/stm32f303k8.ld b/cpu/stm32f3/ldscripts/stm32f303k8.ld deleted file mode 100644 index fe9971145da4f2ec567e044f0f8c6fb9e7188f1e..0000000000000000000000000000000000000000 --- a/cpu/stm32f3/ldscripts/stm32f303k8.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f3 - * @{ - * - * @file - * @brief Memory definitions for the STM32F303K8 - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f3/ldscripts/stm32f303re.ld b/cpu/stm32f3/ldscripts/stm32f303re.ld deleted file mode 100644 index 59c32208f6fe54a8a6c2fae6d6bcb2f6f74335a4..0000000000000000000000000000000000000000 --- a/cpu/stm32f3/ldscripts/stm32f303re.ld +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * Copyright (C) 2014 Hamburg University of Applied Sciences - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f3 - * @{ - * - * @file - * @brief Memory definitions for the STM32F303RE - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * @author Katja Kirstein <katja.kirstein@haw-hamburg.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 16K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f3/ldscripts/stm32f303vc.ld b/cpu/stm32f3/ldscripts/stm32f303vc.ld deleted file mode 100644 index 7f928b387c781031fc6d7b0886846e95b2aabd82..0000000000000000000000000000000000000000 --- a/cpu/stm32f3/ldscripts/stm32f303vc.ld +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f3 - * @{ - * - * @file - * @brief Memory definitions for the STM32F303VC - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 40K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 8K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f3/ldscripts/stm32f303ze.ld b/cpu/stm32f3/ldscripts/stm32f303ze.ld deleted file mode 100644 index cb5cb42e114484ee5acc3c46c9eaf08bd2ae5682..0000000000000000000000000000000000000000 --- a/cpu/stm32f3/ldscripts/stm32f303ze.ld +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f3 - * @{ - * - * @file - * @brief Memory definitions for the STM32F303ZE - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 16K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f3/ldscripts/stm32f334r8.ld b/cpu/stm32f3/ldscripts/stm32f334r8.ld deleted file mode 100644 index dbf9a07e011ef3b93abb469461df795255207127..0000000000000000000000000000000000000000 --- a/cpu/stm32f3/ldscripts/stm32f334r8.ld +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f3 - * @{ - * - * @file - * @brief Memory definitions for the STM32F334R8 - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 12K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 4K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f401re.ld b/cpu/stm32f4/ldscripts/stm32f401re.ld deleted file mode 100644 index 31072ce8fc1cf8a078f8544338216621f4bba109..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f401re.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Lari Lehtomäki - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F401xE - * - * @author Lari Lehtomäki <lari@lehtomaki.fi> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f407vg.ld b/cpu/stm32f4/ldscripts/stm32f407vg.ld deleted file mode 100644 index 498a707bdeb531e328dee4ab80c161f2fc35d763..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f407vg.ld +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F407VG - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 64K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f410rb.ld b/cpu/stm32f4/ldscripts/stm32f410rb.ld deleted file mode 100644 index 39d7bc7d79c966b340f0f8e479971360523bbbdc..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f410rb.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2016 Freie Universität Berlin - * 2016 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F410RB - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f411re.ld b/cpu/stm32f4/ldscripts/stm32f411re.ld deleted file mode 100644 index 5633d06ebc863c8a65841b546a1dd7fa83b66581..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f411re.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2016 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F411RE - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f412zg.ld b/cpu/stm32f4/ldscripts/stm32f412zg.ld deleted file mode 100644 index da49e49f741b8915d4d59dd83ff1d345d179d91b..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f412zg.ld +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015-2017 Freie Universität Berlin - * 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F412ZG - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f413vg.ld b/cpu/stm32f4/ldscripts/stm32f413vg.ld deleted file mode 100644 index bcd7de476729011988bc8822b4ddae6c3b5007f4..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f413vg.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F413VG - * - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1M - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 320K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f413zh.ld b/cpu/stm32f4/ldscripts/stm32f413zh.ld deleted file mode 100644 index 504667a3ace5cd652e92e411612e5e55c4d76fc1..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f413zh.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F413ZH - * - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1536K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 320K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f415rg.ld b/cpu/stm32f4/ldscripts/stm32f415rg.ld deleted file mode 100644 index d3bbc4074f416e1b4e1cd26f70d945314208d002..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f415rg.ld +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F415RG - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 64K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f429zi.ld b/cpu/stm32f4/ldscripts/stm32f429zi.ld deleted file mode 100644 index 0ee0380d70f5be7fab00a3d1a9d911a2145c9e33..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f429zi.ld +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F429ZI - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 2M - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K - ccmram (rwx): ORIGIN = 0x10000000, LENGTH = 64K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f446re.ld b/cpu/stm32f4/ldscripts/stm32f446re.ld deleted file mode 100644 index f1cc56475bc2880bdfcdf95e1e99ea0c6c55bc12..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f446re.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2016 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F446RE - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f4/ldscripts/stm32f446ze.ld b/cpu/stm32f4/ldscripts/stm32f446ze.ld deleted file mode 100644 index 328bba5d8c3c7ba02176c7712717cfe2dffacc7a..0000000000000000000000000000000000000000 --- a/cpu/stm32f4/ldscripts/stm32f446ze.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F446ZE - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f7/ldscripts/stm32f722ze.ld b/cpu/stm32f7/ldscripts/stm32f722ze.ld deleted file mode 100644 index f7a68d842161e77b38bc9aa27306a0238ad924f0..0000000000000000000000000000000000000000 --- a/cpu/stm32f7/ldscripts/stm32f722ze.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f7 - * @{ - * - * @file - * @brief Memory definitions for the STM32F722ZE - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 256K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f7/ldscripts/stm32f746zg.ld b/cpu/stm32f7/ldscripts/stm32f746zg.ld deleted file mode 100644 index 497249745959d37a9e357680e5758ce472db5d94..0000000000000000000000000000000000000000 --- a/cpu/stm32f7/ldscripts/stm32f746zg.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l4 - * @{ - * - * @file - * @brief Memory definitions for the STM32F746ZG - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 320K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f7/ldscripts/stm32f767zi.ld b/cpu/stm32f7/ldscripts/stm32f767zi.ld deleted file mode 100644 index 3f1cdae47df4b539a94356fc48c0ebfd6bf9281a..0000000000000000000000000000000000000000 --- a/cpu/stm32f7/ldscripts/stm32f767zi.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f7 - * @{ - * - * @file - * @brief Memory definitions for the STM32F767ZI - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 2M - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 512K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32f7/ldscripts/stm32f769ni.ld b/cpu/stm32f7/ldscripts/stm32f769ni.ld deleted file mode 100644 index d2431b1f359d662c0cdc39536fb8416d739f3c39..0000000000000000000000000000000000000000 --- a/cpu/stm32f7/ldscripts/stm32f769ni.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32f7 - * @{ - * - * @file - * @brief Memory definitions for the STM32F769NI - * - * @author Vincent Dupont <vincent@otakeys.com> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 2048K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 512K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l0/ldscripts/stm32l031k6.ld b/cpu/stm32l0/ldscripts/stm32l031k6.ld deleted file mode 100644 index 4fd7f0eda2d46761ced1c7acf4d0a65fc6bf6b5a..0000000000000000000000000000000000000000 --- a/cpu/stm32l0/ldscripts/stm32l031k6.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l0 - * @{ - * - * @file - * @brief Memory definitions for the STM32L031K6 - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 32K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l0/ldscripts/stm32l053r8.ld b/cpu/stm32l0/ldscripts/stm32l053r8.ld deleted file mode 100644 index 0f79bc118801f6434eaa87413376c1a31ca460f5..0000000000000000000000000000000000000000 --- a/cpu/stm32l0/ldscripts/stm32l053r8.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l0 - * @{ - * - * @file - * @brief Memory definitions for the STM32L053R8 - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l0/ldscripts/stm32l072cz.ld b/cpu/stm32l0/ldscripts/stm32l072cz.ld deleted file mode 100644 index 147b2d7ab8e2fa6059ae935ea2a25c5752738ac5..0000000000000000000000000000000000000000 --- a/cpu/stm32l0/ldscripts/stm32l072cz.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l0 - * @{ - * - * @file - * @brief Memory definitions for the STM32L072CZ - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 192K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l0/ldscripts/stm32l073rz.ld b/cpu/stm32l0/ldscripts/stm32l073rz.ld deleted file mode 100644 index e4dabbb78ddddd5a70a24ea5bc42346d51f5573f..0000000000000000000000000000000000000000 --- a/cpu/stm32l0/ldscripts/stm32l073rz.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l0 - * @{ - * - * @file - * @brief Memory definitions for the STM32L073RZ - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 192K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l1/ldscripts/stm32l151rba.ld b/cpu/stm32l1/ldscripts/stm32l151rba.ld deleted file mode 100644 index 07932703a95227cfddde7a3dc46e8c5fb19214b6..0000000000000000000000000000000000000000 --- a/cpu/stm32l1/ldscripts/stm32l151rba.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Engineering-Spirit - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l1 - * @{ - * - * @file - * @brief Memory definitions for the STM32L151RB-A - * - * @author Nick van IJzendoorn <nijzendoorn@engineering-spirit.nl> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K - ram (rw) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l1/ldscripts/stm32l151rc.ld b/cpu/stm32l1/ldscripts/stm32l151rc.ld deleted file mode 100644 index 6344f1fc98ded35344e05073d38ebe802260b619..0000000000000000000000000000000000000000 --- a/cpu/stm32l1/ldscripts/stm32l151rc.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Hamburg University of Applied Sciences - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l1 - * @{ - * - * @file - * @brief Memory definitions for the STM32L151RC - * - * @author Katja Kirstein <katja.kirstein@haw-hamburg.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 256K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 32K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l1/ldscripts/stm32l152ret6.ld b/cpu/stm32l1/ldscripts/stm32l152ret6.ld deleted file mode 100644 index 256baa223f13dcf47c3a8c47e7cab038896c4d98..0000000000000000000000000000000000000000 --- a/cpu/stm32l1/ldscripts/stm32l152ret6.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2015 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l1 - * @{ - * - * @file - * @brief Memory definitions for the STM32L152RET6 - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 80K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l4/ldscripts/stm32l432kc.ld b/cpu/stm32l4/ldscripts/stm32l432kc.ld deleted file mode 100644 index 0c4852b5f11763068eaf577bca3cd54cd417aefc..0000000000000000000000000000000000000000 --- a/cpu/stm32l4/ldscripts/stm32l432kc.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Inria - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l4 - * @{ - * - * @file - * @brief Memory definitions for the STM32L432KC - * - * @author Alexandre Abadie <alexandre.abadie@inria.fr> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 256K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K -} - -INCLUDE cortexm_base.ld diff --git a/cpu/stm32l4/ldscripts/stm32l476rg.ld b/cpu/stm32l4/ldscripts/stm32l476rg.ld deleted file mode 100644 index c6e6e8c5565d50aa0c13b0901bec4d167af473db..0000000000000000000000000000000000000000 --- a/cpu/stm32l4/ldscripts/stm32l476rg.ld +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @addtogroup cpu_stm32l4 - * @{ - * - * @file - * @brief Memory definitions for the STM32L476RG - * - * @author Hauke Petersen <hauke.petersen@fu-berlin.de> - * - * @} - */ - -MEMORY -{ - rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K - ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K -} - -INCLUDE cortexm_base.ld