mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4611725e95
- Minimum required RIOBOOT_HDR_LEN or stm32l4 is 0x200 to respect vector table alignment
12 lines
448 B
Makefile
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
|