mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #16608 from benpicco/cpu/kinetis-RAM_LEN
cpu/kinetis: fix RAM_LEN calculation
This commit is contained in:
commit
9755b7ae12
@ -26,8 +26,8 @@ RAM_START_ADDR := $(shell printf "0x%08x" $$(($(RAM_BASE_ADDR)-($(KINETIS_SRAM_L
|
||||
# Define ROM_LEN with a non arithmetic value as it must be
|
||||
# evaluated in `cortexm_common` without a shell context
|
||||
# The `K` is correctly handled by both the linker and `cortexm_common`.
|
||||
ROM_LEN = $(KINETIS_ROMSIZE)K
|
||||
RAM_LEN = $$(($(KINETIS_RAMSIZE) * 1024))
|
||||
ROM_LEN := $(KINETIS_ROMSIZE)K
|
||||
RAM_LEN := $(shell echo $$(($(KINETIS_RAMSIZE) * 1024)))
|
||||
|
||||
CFLAGS += \
|
||||
-DKINETIS_CORE_$(KINETIS_CORE) \
|
||||
|
Loading…
Reference in New Issue
Block a user