Hi there!
I'm using nRF Connect SDK v2.1.2 and VS Code 1.73.1 with nRF Connect extensions on a Windows 11 x64 machine. I created a Freestanding application based on the nrf/applications/asset_tracker_v2 as a starting point for the Thingy:91
Coming from Segger Embedded Studio + nRF5 SDK 17.0.2, I'm completely new to this dev system and any pointers will be much appreciated. I learned (the hard way) that I had to disable debug options in the build configuration for debugging to work at all.
When I start debugging, it programs the nRF9160 and breaks here in cpu_idle.S, not main():
It also does not show any peripherals. I can put a breakpoint somewhere in main(), run and it will break there.
I created a launch.json file and here is the content:
So the "runToEntryPoint" field means that it is supposed to stop in main(), right?
I added the "svdFile" field to see if I could fix the "PERIPHERALS" view but that property name is not valid.
How do I fix this? Must I install and use the Cortex-Debug extension?
Thanks in advance,
Pieter