Skip to content

Commit

Permalink
cpu/nrf52: add alignment and image header sizes for bootlaoder usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kYc0o committed Jul 17, 2017
1 parent b19fcba commit 41e9884
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpu/nrf52/Makefile.include
@@ -1,5 +1,11 @@
export CPU_ARCH = cortex-m4f
export CPU_FAM = nrf52

# Export internal ROM alignment and slot sizes for bootloader support
export IMAGE_ALIGN = 8
export SLOT0_SIZE = 0x8000
export SLOT1_SIZE = 0x3C000
export SLOT2_SIZE = 0x3C000

include $(RIOTCPU)/nrf5x_common/Makefile.include
include $(RIOTMAKE)/arch/cortexm.inc.mk

0 comments on commit 41e9884

Please sign in to comment.