Debugging is not supported by "Nucleo-64' while selected Nucleo F446RE #1760
Labels
conclusion: off topic
Off topic for this repository
type: imperfection
Perceived defect in any part of project
Describe the problem
Unable to debug simple Blink.ino program on Nucleo F446RE board.
Pressing Debug → Start Debugging open empty template for launch.json instead of normally preconfigured and reproducible file.
It is unclear what user should write in the fields on launch.json file
to get OpenOCD working with STM32.
To reproduce
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
as additional board URL for stm32duino.Expected behavior
Arduino IDE has preconfigured launch.json for well known and mature stm32duino framework.
Debugging is possible using OpenOCD software and embedded ST-Link hardware.
Arduino IDE version
Version: 2.0.3
Date: 2022-12-05T09:27:52.215Z
CLI Version: 0.29.0 [76251df9]
Operating system
Linux
Operating system version
Debian 11 bullseye (stable)
Additional context
The debugging of STM32F446RE on Nucleo-64 F446RE is actually possible using VSCode with vscode-arduino, cortex-debug and marus25.cortex-debug-dp-stm32f4 extensions by
openocd
from Debian repository andSTM32F446x.svd
file from marus25.cortex-debug-dp-stm32f4 extension.I hope someone will post fully-reproducible instruction to setup Arduino IDE 2.x for STM32 debugging.
Issue checklist
The text was updated successfully, but these errors were encountered: