Skip to content

Commit 7c303be

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 <risca@dalakolonin.se>
1 parent 6866de2 commit 7c303be

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

config/examples/stm32f1.config

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

0 commit comments

Comments
 (0)