I have got a flat CMakeLists.txt build system for the SDK 25.12.00 hello_world sample for the i.MX93evk board. It builds ok but there is a problem with file paths in the elf file, causing the arm debugger to struggle setting breakpoints. I'm trying to use thes ecompiler flags to converst my WSL file paths to windows file paths, so I can debug in VS Code under windows:
-ffile-prefix-map=/mnt/c/=C:/
-fdebug-prefix-map=/mnt/c/=C:/
But the file paths inside the elf end up looking like this:
main C:/git/esg-ng-core-m33/mcimx93evk/hello_world/build/C:/git/esg-ng-core-m33/mcimx93evk/hello_world/source/hello_world.c:32
I have a workaound, but wondered if anyone has encountered and solved this?
Thanks
Nick