From b7ccbd5eb68380365afbbddcb480c2aac4a96a08 Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Sat, 12 Oct 2024 14:52:43 +0200 Subject: [PATCH] OpenOCD script for STM32F4 MCU --- scripts/openocd/stm32f4.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/openocd/stm32f4.cfg diff --git a/scripts/openocd/stm32f4.cfg b/scripts/openocd/stm32f4.cfg new file mode 100644 index 00000000..b489a546 --- /dev/null +++ b/scripts/openocd/stm32f4.cfg @@ -0,0 +1,17 @@ +# +# OpenOCD configuration file for in-circuit debugging the stm32f4discovery +# To start debugging issue those commands: +# arm-miosix-eabi-gdb main.elf +# target remote :3333 +# monitor reset halt +# load +# break main +# continue +# + +# Daemon configuration +telnet_port 4444 +gdb_port 3333 + +# Board support is available in newer oocd +source [find board/stm32f4discovery.cfg]