mirror of https://github.com/wolfSSL/wolfBoot.git
26 lines
669 B
Plaintext
26 lines
669 B
Plaintext
ARCH=sim
|
|
TARGET=sim
|
|
# note TPM requires ASN.1 encoding for RSA, so use RSA2048ENC, RSA3072ENC, RSA4096ENC
|
|
SIGN?=ECC256
|
|
HASH?=SHA256
|
|
SPI_FLASH=0
|
|
DEBUG=1
|
|
WOLFTPM=1
|
|
# enable offloading of asymmetric verify to TPM
|
|
WOLFBOOT_TPM_VERIFY?=1
|
|
|
|
# sizes should be multiple of system page size
|
|
WOLFBOOT_PARTITION_SIZE=0x40000
|
|
WOLFBOOT_SECTOR_SIZE=0x1000
|
|
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80000
|
|
# if on external flash, it should be multiple of system page size
|
|
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x100000
|
|
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x180000
|
|
|
|
# required for keytools
|
|
WOLFBOOT_FIXED_PARTITIONS=1
|
|
|
|
# TPM Logging
|
|
#CFLAGS_EXTRA+=-DDEBUG_WOLFTPM
|
|
#CFLAGS_EXTRA+=-DWOLFTPM_DEBUG_VERBOSE
|