stm32f103: add example config

Config based on the STM32F4 ditto.

Booting takes about 6 seconds and update around 15.

Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
pull/555/head
Patrik Dahlström 2025-01-26 14:55:55 +01:00 committed by Daniele Lacamera
parent 2f64090c49
commit 7f7252470b
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
ARCH?=ARM
TARGET?=stm32f1
SIGN?=ED25519
HASH?=SHA256
VTOR?=0
SPMATH?=1
DISABLE_BACKUP=0
NVM_FLASH_WRITEONCE=1
# 12 KB bootloader partition
# 2 * 25 KB application partitions
# 2 KB swap partition
# 64 KB total
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08003000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08009400
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x0800F800
WOLFBOOT_PARTITION_SIZE?=0x6400
WOLFBOOT_SECTOR_SIZE?=0x400