Skip to content

Commit

Permalink
add missing sim config for encrypt with nvm-writeonce
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbland1 committed Jul 6, 2023
1 parent 80686f2 commit 675bb67
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/examples/sim-encrypt-nvm-writeonce-update.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ARCH=sim
TARGET=sim
SIGN?=ED25519
HASH?=SHA256
WOLFBOOT_SMALL_STACK=1
SPI_FLASH=0
EXT_FLASH=1
ENCRYPT=1
ENCRYPT_WITH_AES128=1
DEBUG=1
# it should be multiple of system page size
NVM_FLASH_WRITEONCE=1
WOLFBOOT_PARTITION_SIZE=0x40000
WOLFBOOT_SECTOR_SIZE=0x1000
WOLFBOOT_PARTITION_BOOT_ADDRESS=0xC0020000
# if on external flash, it should be multiple of system page size
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x00000
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x40000
# required for keytools
WOLFBOOT_FIXED_PARTITIONS=1

0 comments on commit 675bb67

Please sign in to comment.