Skip to content

Commit

Permalink
Make APP_START_ADDRESS configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeckmann authored and arturo182 committed May 3, 2020
1 parent f71b89f commit af52d6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hw/chip/mimxrt10xx/family.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
APP_START_ADDRESS ?= 0x6000C000

CFLAGS += \
-mthumb \
-mabi=aapcs \
Expand All @@ -12,7 +14,7 @@ CFLAGS += \
CFLAGS += -Wno-error=unused-parameter

CFLAGS += \
-DAPP_START_ADDRESS=0x6000C000 \
-DAPP_START_ADDRESS=$(APP_START_ADDRESS) \
-DBOARD_FLASH_BASE=0x60000000 \
-DUF2_FAMILY=0x4FB2D5BD

Expand Down

0 comments on commit af52d6e

Please sign in to comment.