1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/mcuboot.mk: prepare for using cortexm.ld

Prepare mcuboot for changing `nrf52` to use `cortexm.ld`. It sets the
offset for linking the image.
This commit is contained in:
Gaëtan Harter 2019-03-07 16:47:38 +01:00 committed by Koen Zandberg
parent 1da26d5690
commit 1e1611c50a
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -22,6 +22,7 @@ $(MCUBOOT_KEYFILE):
$(Q)$(IMGTOOL) keygen -k $@ -t rsa-2048
endif
mcuboot: ROM_OFFSET=$$(($(MCUBOOT_SLOT0_SIZE) + $(IMAGE_HDR_SIZE)))
mcuboot: mcuboot-create-key link
@$(COLOR_ECHO)
@$(COLOR_ECHO) '$(COLOR_PURPLE)Re-linking for MCUBoot at $(MCUBOOT_SLOT0_SIZE)...$(COLOR_RESET)'