Arduino output code can be opened for debug in cubeIDE?

Post here first, or if you can't find a relevant section!
Post Reply
bdn2
Posts: 1
Joined: Sat Mar 15, 2025 9:26 pm

Arduino output code can be opened for debug in cubeIDE?

Post by bdn2 »

I'm trying the STM32duino and chip STM32F011F6P6. So far no problem, it works great, I am greatful for that.
Few questions about the generated code:
1/ If I want to look to the generated code disassembly? Is there a way how to turn on .lst ? To generate listing file?
2/ Beside the arduino IDE V 2.3.4 I have installed also STM32cubeIDE. Is there a way how to open arduino generated output (.elf?) in STM32cubeIDE and debug it there (via STLINK v2 probe)?
Thank you and have a nice day.
GonzoG
Posts: 491
Joined: Wed Jan 15, 2020 11:30 am
Answers: 36
Location: Prudnik, Poland

Re: Arduino output code can be opened for debug in cubeIDE?

Post by GonzoG »

You can debug directly in Arduino IDE.
ag123
Posts: 1898
Joined: Thu Dec 19, 2019 5:30 am
Answers: 30

Re: Arduino output code can be opened for debug in cubeIDE?

Post by ag123 »

to debug in cubeIDE, make a project and copy the codes there, you would need to copy the core there too and make sure that the paths are all setup correctly so that it'd build.

one way to do that is to use CMake
viewtopic.php?t=2563
https://github.com/stm32duino/Arduino_C ... esentation
Post Reply

Return to “General discussion”