Skip to content

Commit 2f43123

Browse files
committed
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 <[email protected]>
1 parent 222e32d commit 2f43123

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

config/examples/stm32f103.config

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ARCH?=ARM
2+
TARGET?=stm32f103
3+
SIGN?=ED25519
4+
HASH?=SHA256
5+
VTOR?=0
6+
SPMATH?=1
7+
DISABLE_BACKUP=0
8+
# 13 KB bootloader partition
9+
# 2 * 25 KB application partitions
10+
# 1 KB swap partition
11+
# 64 KB total
12+
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08003400
13+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08009800
14+
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x0800FC00
15+
WOLFBOOT_PARTITION_SIZE?=0x6400
16+
WOLFBOOT_SECTOR_SIZE?=0x600

0 commit comments

Comments
 (0)