Skip to content

Commit

Permalink
stm32f103: add example config
Browse files Browse the repository at this point in the history
Config based on the STM32F4 ditto.

Booting takes about 6 seconds and update around 15.

Signed-off-by: Patrik Dahlström <[email protected]>
  • Loading branch information
Risca committed Jan 26, 2025
1 parent 222e32d commit 2f43123
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/examples/stm32f103.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ARCH?=ARM
TARGET?=stm32f103
SIGN?=ED25519
HASH?=SHA256
VTOR?=0
SPMATH?=1
DISABLE_BACKUP=0
# 13 KB bootloader partition
# 2 * 25 KB application partitions
# 1 KB swap partition
# 64 KB total
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08003400
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08009800
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x0800FC00
WOLFBOOT_PARTITION_SIZE?=0x6400
WOLFBOOT_SECTOR_SIZE?=0x600

0 comments on commit 2f43123

Please sign in to comment.