Skip to content

Commit af09857

Browse files
committed
Replace example stm32f4 config
This replaces the base stm32f4 config with more board specific examples for the stm32f407 discovery kit and stm32f411 blackpill board.
1 parent 10faed0 commit af09857

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

config/examples/stm32f4.config renamed to config/examples/stm32f407-discovery.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ WOLFBOOT_SECTOR_SIZE?=0x20000
99
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08020000
1010
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08040000
1111
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x08060000
12+
CLOCK_SPEED?=160000000
13+
STM32_PLLM?=8
14+
STM32_PLLN?=336
15+
STM32_PLLP?=2
16+
STM32_PLLQ?=7
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ARCH?=ARM
2+
TARGET?=stm32f4
3+
SIGN?=ED25519
4+
HASH?=SHA256
5+
VTOR?=1
6+
SPMATH?=1
7+
WOLFBOOT_ORIGIN?=0x08000000
8+
WOLFBOOT_PARTITION_SIZE?=0x20000
9+
WOLFBOOT_SECTOR_SIZE?=0x20000
10+
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08020000
11+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08040000
12+
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x08060000
13+
CLOCK_SPEED?=84000000
14+
STM32_PLLM?=25
15+
STM32_PLLN?=336
16+
STM32_PLLP?=4
17+
STM32_PLLQ?=7
18+
USE_UART1?=1
19+
UART_FLASH?=1
20+
DEBUG?=1
21+
STM32?=1

0 commit comments

Comments
 (0)