I just started working with a mimxrt1020 dev board. PlatformIO seems to work fine with Zephyr, I already created a small application to blink the internal and an external LED with two separate threads.
For flashing/debugging i use the on board Jlink debugger. But here comes the issue:
How do I debug with RTOS awareness? I don’t see the two different threads. I only get errors if I try to set breakpoints.
I googled around but did not find a solution. Do I need an external debugger? How do I correctly configure the debugger? It would be awesome if someone could send some help…
[env:mimxrt1020_evk] platform = nxpimxrt board = mimxrt1020_evk framework = zephyr debug_tool = jlink upload_protocol = jlink monitor_speed = 115200