1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/stm32l4/Makefile.include
francisco 4611725e95 stm32l4/Makefile.include: set RIOTBOOT_HDR_LEN to 0x200
- Minimum required RIOBOOT_HDR_LEN or stm32l4 is 0x200
  to respect vector table alignment
2019-06-06 11:54:12 +02:00

12 lines
448 B
Makefile

export CPU_ARCH = cortex-m4f
export CPU_FAM = stm32l4
# "The Vector table must be naturally aligned to a power of two whose alignment
# value is greater than or equal to number of Exceptions supported x 4"
# CPU_IRQ_NUMOFF for stm32l4 boards is < 91+16 so (107*4 bytes = 428 bytes ~= 0x200)
# RIOTBOOT_HDR_LEN can be set to 0x200
RIOTBOOT_HDR_LEN ?= 0x200
include $(RIOTCPU)/stm32_common/Makefile.include
include $(RIOTMAKE)/arch/cortexm.inc.mk