From 7f7252470b6f372dc10970d2f049b07cbdc714d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Dahlstr=C3=B6m?= Date: Sun, 26 Jan 2025 14:55:55 +0100 Subject: [PATCH] stm32f103: add example config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Config based on the STM32F4 ditto. Booting takes about 6 seconds and update around 15. Signed-off-by: Patrik Dahlström --- config/examples/stm32f1.config | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config/examples/stm32f1.config diff --git a/config/examples/stm32f1.config b/config/examples/stm32f1.config new file mode 100644 index 00000000..298cad60 --- /dev/null +++ b/config/examples/stm32f1.config @@ -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