Closed
Description
When attempting to run the debugger on a "Generic STM32L0 series" board, the "gdb-server" console reads the following error:
embedded:startup.tcl:28: Error: Can't find target/stm32l0x.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 28
The launch.json's
configFiles
section contains target/stm32l0x.cfg
, but the file does not exist in xpack-openocd-0.12.0-3/openocd/scripts/target
(nor in the latest 0.12.0-4). Instead there's a target/stm32l0.cfg
file. When I update the launch.json
to use the config that exists (without the x
) the debugger starts without errors.
To Reproduce
- Install STM32 Mcu based boards in the Boards Manager
- Select the "Generic STM32L0 series" with the "/dev/cu.usbmodern1202 Serial Port (USB)"
- File -> Examples -> Basics -> Blink
- Press the "Start Debugging" button on the top left bar
- Notice the error in the "gdb-server" console
Desktop (please complete the following information):
- OS: macOS 14.5 (Apple M2)
- Arduino IDE version: 2.3.2
- STM32 core version: 2.8.1
- Upload method: SWD
Board (please complete the following information):
- Name: NUCLEO-L010RB
- Hardware Revision: Rev C
- Extra hardware used if any: No additional hardware. But the STLINK is broken off and is connected via CN7.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done