[LINKER] Add ARCH_FLAGS to linker definition file
This commit is contained in:
parent
d15a0e63fe
commit
f015c8209b
|
@ -56,6 +56,8 @@ ifneq ($(DEVICE),)
|
|||
|
||||
LDSCRIPT=$(DEVICE).ld
|
||||
LD_PARAMS=$(shell awk -v PAT="$(DEVICE)" -f $(SRCLIBDIR)/scripts/genlink.awk $(SRCLIBDIR)/ld/devices.data 2>/dev/null)
|
||||
CFLAGS+=$(LD_PARAMS)
|
||||
LDFLAGS+=$(LD_PARAMS)
|
||||
|
||||
$(LDSCRIPT):$(SRCLIBDIR)/ld/linker.ld.S
|
||||
ifeq ($(LD_PARAMS),)
|
||||
|
|
|
@ -309,14 +309,14 @@ lpc17[78]x lpc17 RAM1_OFF=0x20000000 RAM2_OFF=0x20040000
|
|||
################################################################################
|
||||
# the STM32 families
|
||||
|
||||
stm32f0 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32f1 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32f2 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32f3 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32f4 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32l1 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32w stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32t stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000
|
||||
stm32f0 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m0 -thumb
|
||||
stm32f1 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m3 -thumb
|
||||
stm32f2 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m3 -thumb
|
||||
stm32f3 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m3 -thumb
|
||||
stm32f4 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m4 -thumb
|
||||
stm32l1 stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m3 -thumb
|
||||
stm32w stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m3 -thumb
|
||||
stm32t stm32 ROM_OFF=0x08000000 RAM_OFF=0x20000000 -mcpu=cortex-m3 -thumb
|
||||
|
||||
################################################################################
|
||||
# the SAM3 families
|
||||
|
|
Loading…
Reference in New Issue