Basic application skeleton for pico-stm32 board with STM32F103C8

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
This commit is contained in:
2025-10-05 13:39:54 +02:00
commit 42a7a915a6
11 changed files with 846 additions and 0 deletions

16
stm32.cfg Normal file
View File

@@ -0,0 +1,16 @@
# stm32_flash.cfg
# Source the interface configuration using the full default path.
# Debugprobe is a CMSIS-DAP compatible probe.
source /usr/share/openocd/scripts/interface/cmsis-dap.cfg
# Set the transport protocol
transport select swd
# Source the target configuration for your specific STM32 model using the full path.
# I used an STM32F1 series chip. Change this to match your target!
# e.g., /usr/share/openocd/scripts/target/stm32f4x.cfg
source /usr/share/openocd/scripts/target/stm32f1x.cfg
# (Optional) Increase the adapter speed for faster flashing
adapter speed 5000