-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18636 from benpicco/cpu/cortexm.ld
cpu: make use of `cortexm.ld`
- Loading branch information
Showing
13 changed files
with
43 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
ROM_LEN ?= 0x40000 | ||
RAM_LEN ?= 0x8000 | ||
|
||
ROM_START_ADDR ?= 0x00000000 | ||
RAM_START_ADDR ?= 0x20000000 | ||
|
||
LINKER_SCRIPT ?= cortexm.ld | ||
|
||
include $(RIOTMAKE)/arch/cortexm.inc.mk | ||
|
||
include $(RIOTCPU)/stellaris_common/Makefile.include |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
ROM_START_ADDR ?= 0x0 | ||
RAM_START_ADDR ?= 0x100000C8 | ||
|
||
ROM_LEN ?= 0x80000 | ||
RAM_LEN ?= 0x7f38 # 32K - 0xC8 | ||
|
||
include $(RIOTMAKE)/arch/cortexm.inc.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
ROM_START_ADDR ?= 0 | ||
|
||
# Set ROM and RAM lengths according to CPU model | ||
ifneq (,$(filter nrf51x22xxaa nrf51x22xxab,$(CPU_MODEL))) | ||
ROM_LEN ?= 0x40000 | ||
RAM_LEN ?= 0x4000 | ||
endif | ||
ifneq (,$(filter nrf51x22xxaa,$(CPU_MODEL))) | ||
ROM_LEN ?= 0x20000 | ||
RAM_LEN ?= 0x4000 | ||
endif | ||
ifneq (,$(filter nrf51x22xxac,$(CPU_MODEL))) | ||
ROM_LEN ?= 0x40000 | ||
RAM_LEN ?= 0x8000 | ||
endif | ||
|
||
include $(RIOTCPU)/nrf5x_common/Makefile.include | ||
include $(RIOTMAKE)/arch/cortexm.inc.mk |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM)) | ||
|
||
ROM_START_ADDR ?= 0x00000000 | ||
RAM_START_ADDR ?= 0x20000000 | ||
|
||
LINKER_SCRIPT ?= cortexm.ld | ||
|
||
INCLUDES += -I$(RIOTCPU)/nrf5x_common/include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.