CubeIDE - How can I Debug Step into functions located in ITCM?
I have a STM32H730 Project, using CubeIDE V1.17.0. Code executing from the internal Flash.
I have located some functions into ITCM,
- added a new .itcram section to the linker LD file
- added __attribute__((section(".itcram"))) to my functions I want in ITCM
- at startup I copy from FLASH to ITCM
This builds and runs okay, the functions in ITCM execute as expected.
But, I can't Debug Step into any function located in ITCM, it just steps over the function.
I can set a breakpoint in a ITCM function, but it never halts there, just ignores the breakpoint.
How can I step into functions located in ITCM?
Do I need to tell GDB that I have instruction code in ITCM?
Thanks.
