mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #7799 from kYc0o/factorise_stm32_ld
ld: refactor stm32 linker scripts
This commit is contained in:
commit
38880acad8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
28
cpu/stm32_common/ldscripts/stm32_common.ld
Normal file
28
cpu/stm32_common/ldscripts/stm32_common.ld
Normal file
@ -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
|
309
cpu/stm32_common/stm32_mem_lengths.mk
Normal file
309
cpu/stm32_common/stm32_mem_lengths.mk
Normal file
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user