wolfBoot/config/examples/sim-self-update-monolithic....

25 lines
716 B
Plaintext

ARCH=sim
TARGET=sim
SIGN?=ED25519
HASH?=SHA256
WOLFBOOT_SMALL_STACK?=0
SPI_FLASH=0
DEBUG=1
RAM_CODE=1
SELF_UPDATE_MONOLITHIC=1
WOLFBOOT_VERSION=1
# Asymmetric layout: BOOT only holds the app; UPDATE stages the monolithic
# payload. UPDATE (0x80000) matches the install span (bootloader region
# 0x20000 + BOOT 0x60000), 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.
WOLFBOOT_PARTITION_SIZE=0x60000
WOLFBOOT_PARTITION_UPDATE_SIZE=0x80000
WOLFBOOT_SECTOR_SIZE=0x1000
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x20000
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x80000
# required for keytools
WOLFBOOT_FIXED_PARTITIONS=1