I’ve managed to build my first executable using armv7em-none-none-eabi for ST32 and got a blinking LED on my custom hardware.
I am flashing, and trying to debug it from STM32CubeIDE. I can setup my debugger to point to my .elf file, and it flashes and runs correctly, but it is not picking up any source files and I can only step through the assembly.
I tried adding “-g” to the build options, but it made no difference.
I tried doing a “debug” build instead of release but this failed to link, overflowing my flash with megabytes.
Is there a way to have some level of code-level debugging?