mirror of https://github.com/wolfSSL/wolfBoot.git
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
ARCH?=AURIX
|
|
TARGET?=aurix_tc3xx_hsm
|
|
SIGN?=RSA4096
|
|
HASH?=SHA256
|
|
DEBUG?=0
|
|
WOLFBOOT_VERSION?=1
|
|
V?=0
|
|
SPMATH?=1
|
|
RAM_CODE?=1
|
|
SELF_UPDATE_MONOLITHIC=1
|
|
EXT_FLASH?=1
|
|
EXT_BOOT=1
|
|
EXT_UPDATE=1
|
|
EXT_SWAP=1
|
|
FLAGS_INVERT=1
|
|
FLASH_MULTI_SECTOR_ERASE=1
|
|
DEBUG_UART=1
|
|
PRINTF_ENABLED=1
|
|
WOLFBOOT_IMG_HASH_ONESHOT=1
|
|
|
|
# wolfHSM options
|
|
WOLFHSM_SERVER=1
|
|
|
|
# Cert chain options
|
|
CERT_CHAIN_VERIFY=1
|
|
|
|
# RSA4096 cert chains need the larger header and stack
|
|
WOLFBOOT_HUGE_STACK=1
|
|
IMAGE_HEADER_SIZE=4096
|
|
|
|
# self-header feature (persist header in external flash)
|
|
WOLFBOOT_SELF_HEADER=1
|
|
SELF_HEADER_EXT=1
|
|
|
|
# Asymmetric monolithic layout: BOOT (0x28000) only holds the app; UPDATE
|
|
# (0x38000) stages the monolithic payload. UPDATE matches the install span
|
|
# (bootloader region 0x10000 + BOOT 0x28000), so staging overhead
|
|
# (IMAGE_HEADER_SIZE plus one trailer sector) comes out of the app's
|
|
# share; see "Independent partition sizing" in docs/firmware_update.md.
|
|
# No SWAP partition in monolithic mode; 0 marks it not present.
|
|
ARCH_FLASH_OFFSET=0x80028000
|
|
WOLFBOOT_SECTOR_SIZE=0x4000
|
|
WOLFBOOT_PARTITION_SIZE=0x28000
|
|
WOLFBOOT_PARTITION_UPDATE_SIZE=0x38000
|
|
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80038000
|
|
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x80060000
|
|
WOLFBOOT_PARTITION_SWAP_ADDRESS=0
|
|
WOLFBOOT_PARTITION_SELF_HEADER_ADDRESS=0x8009C000
|