From 663b973c4a73e0d27fce9cba9fc02e537fe70a68 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 5 Feb 2025 11:39:17 +0100 Subject: [PATCH 1/4] chore: update to xpack arm-none-eabi-gcc v14.2.1-1.1 https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/tag/v14.2.1-1.1 Signed-off-by: Frederic Pillon --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index 3b687213d2..d982e575a1 100644 --- a/platform.txt +++ b/platform.txt @@ -16,7 +16,7 @@ tool_suffix.windows=.exe busybox= busybox.windows={runtime.tools.STM32Tools.path}/win/busybox.exe -toolchain_dir={runtime.tools.xpack-arm-none-eabi-gcc-13.2.1-1.1.path} +toolchain_dir={runtime.tools.xpack-arm-none-eabi-gcc-14.2.1-1.1.path} openocd_dir={runtime.tools.xpack-openocd-0.12.0-4.path} tools_bin_path.windows={runtime.tools.STM32Tools.path}/win From ccfd3d06c7ab73279dfe83eafdbeb6ecc97139ea Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 5 Feb 2025 14:42:13 +0100 Subject: [PATCH 2/4] chore: update to xpack-openocd v0.12.0-5 https://github.com/xpack-dev-tools/openocd-xpack/releases/tag/v0.12.0-5 Signed-off-by: Frederic Pillon --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.txt b/platform.txt index d982e575a1..afb13c19a5 100644 --- a/platform.txt +++ b/platform.txt @@ -17,7 +17,7 @@ busybox= busybox.windows={runtime.tools.STM32Tools.path}/win/busybox.exe toolchain_dir={runtime.tools.xpack-arm-none-eabi-gcc-14.2.1-1.1.path} -openocd_dir={runtime.tools.xpack-openocd-0.12.0-4.path} +openocd_dir={runtime.tools.xpack-openocd-0.12.0-5.path} tools_bin_path.windows={runtime.tools.STM32Tools.path}/win tools_bin_path.macosx={runtime.tools.STM32Tools.path}/macosx From 5be76a696535a335244810b3344616a23b1da225 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 5 Feb 2025 15:27:34 +0100 Subject: [PATCH 3/4] feat(debugger): add dapdirect_swd transport Signed-off-by: Frederic Pillon --- boards.txt | 3 +++ debugger/select_dapdirect.cfg | 1 + 2 files changed, 4 insertions(+) create mode 100644 debugger/select_dapdirect.cfg diff --git a/boards.txt b/boards.txt index 989ede4a88..26869ca87b 100644 --- a/boards.txt +++ b/boards.txt @@ -473,6 +473,8 @@ Nucleo_64.menu.pnum.NUCLEO_C071RB.build.product_line=STM32C071xx Nucleo_64.menu.pnum.NUCLEO_C071RB.build.variant=STM32C0xx/C071R(8-B)T Nucleo_64.menu.pnum.NUCLEO_C071RB.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS Nucleo_64.menu.pnum.NUCLEO_C071RB.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0 +Nucleo_64.menu.pnum.NUCLEO_C071RB.openocd.target=stm32c0x +Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg Nucleo_64.menu.pnum.NUCLEO_C071RB.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32C0xx/STM32C071.svd # NUCLEO_F030R8 board @@ -829,6 +831,7 @@ Nucleo_64.menu.pnum.NUCLEO_U083RC.build.product_line=STM32U083xx Nucleo_64.menu.pnum.NUCLEO_U083RC.build.variant=STM32U0xx/U073R(8-B-C)(I-T)_U083RC(I-T) Nucleo_64.menu.pnum.NUCLEO_U083RC.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.xSerial} -D__CORTEX_SC=0 Nucleo_64.menu.pnum.NUCLEO_U083RC.openocd.target=stm32u0x +Nucleo_64.menu.pnum.NUCLEO_U083RC.debug.server.openocd.scripts.1={runtime.platform.path}/debugger/select_dapdirect.cfg Nucleo_64.menu.pnum.NUCLEO_U083RC.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32U0xx/STM32U083.svd # NUCLEO_WB15CC diff --git a/debugger/select_dapdirect.cfg b/debugger/select_dapdirect.cfg new file mode 100644 index 0000000000..b7a8b692c3 --- /dev/null +++ b/debugger/select_dapdirect.cfg @@ -0,0 +1 @@ +transport select dapdirect_swd From e098fb8c128a72b70c649b7164a3abd8d5364d2c Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Thu, 6 Feb 2025 09:09:47 +0100 Subject: [PATCH 4/4] fix(c0): missing include Signed-off-by: Frederic Pillon --- variants/STM32C0xx/C011J(4-6)M/generic_clock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/variants/STM32C0xx/C011J(4-6)M/generic_clock.c b/variants/STM32C0xx/C011J(4-6)M/generic_clock.c index 3252c3a51f..2d34f61d7c 100644 --- a/variants/STM32C0xx/C011J(4-6)M/generic_clock.c +++ b/variants/STM32C0xx/C011J(4-6)M/generic_clock.c @@ -12,6 +12,7 @@ */ #if defined(ARDUINO_GENERIC_C011J4MX) || defined(ARDUINO_GENERIC_C011J6MX) #include "pins_arduino.h" +#include "stm32yyxx_ll_utils.h" /** * @brief System Clock Configuration pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy