From f4be84b73eeae6279ce33c9e5b0698c0d9eb1427 Mon Sep 17 00:00:00 2001 From: Terraneo Federico <fede.tft@miosix.org> Date: Sun, 25 Jun 2023 20:19:31 +0200 Subject: [PATCH] Fix STM32F0 openocd script --- .../stm32f0discovery.cfg | 12 ------------ .../stm32vldiscovery.cfg | 12 +++++++++++- 2 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32f0discovery.cfg diff --git a/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32f0discovery.cfg b/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32f0discovery.cfg deleted file mode 100644 index 88b781ac..00000000 --- a/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32f0discovery.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# This is an STM32F0 discovery board with a single STM32F051R8T6 chip. -# http://www.st.com/internet/evalboard/product/253215.jsp - -# source [find interface/stlink-v2.cfg] -source [find interface/cmsis-dap.cfg] - -# transport select hla_swd - -# set WORKAREASIZE 0x2000 -source [find target/stm32f0x.cfg] - -# reset_config srst_only \ No newline at end of file diff --git a/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32vldiscovery.cfg b/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32vldiscovery.cfg index 648c3621..a3bd754d 100644 --- a/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32vldiscovery.cfg +++ b/miosix/arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32vldiscovery.cfg @@ -15,4 +15,14 @@ telnet_port 4444 gdb_port 3333 -source [find arch/cortexM0_stm32f0/stm32f072rb_stm32f0discovery/stm32f0discovery.cfg] +# This is an STM32F0 discovery board with a single STM32F051R8T6 chip. +# http://www.st.com/internet/evalboard/product/253215.jsp + +source [find interface/stlink.cfg] + +transport select hla_swd + +# set WORKAREASIZE 0x2000 +source [find target/stm32f0x.cfg] + +# reset_config srst_only -- GitLab