Hello,
We have a MIMXRT1160-EVK board and want to test it with VSCode, gcc and gdb.
To give it a try we download the latest SDK with the GCC-version of the led_blinky project and the latest gcc tolchain. In VSCode we install plugins for Cmake/Ninja, C/C++ and Cortex-Debug(GDB).
Compiling linking and downloading seems to work fine, but GDB will not run the program.
Here is what we did:
To make VSCode compile the project we add the following line into CmakeLists.txt:
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
Hi @larsmagne ,
We haven't demos or experience on VScode. I also haven't RT1160 on hand. To fast repeat the phenomenon I import RT1064 demo project into MCUXpresso and compile it. Then I create VScode project in the direction. I try to use VScode to debug.
This is settings.json
Regards,
Jing