Launching Ozone Debugger from VSCode

Hi,

I have VSCode and Segger Ozone installed along with the nRF Connect SDK (v1.7) and the nRF Connect Extension for VSCode.  I can successfully build example projects and launch the Ozone debugger connected to a nRF5340DK board.  However, each time  I run Ozone, I need to reload the Zephyr plugin for RTOS awareness and select the proper nrf5340_application/network.svd file.

Is there a way to pass this information into Ozone when I launch it through the VSCode Extension-Debug with Ozone?

Thanks!

Kurt 

Parents Reply
  • Thank you Priyanka,

    I have a work-around which seems to work.

    Once Ozone gets launched from VSCode, go to the File - Save Project As menu option and save the project file.  After it's saved, select File - Edit Project File, then under the OnProjectLoad() function User Settings section add...

    Project.SetOSPlugin ("ZephyrPlugin_CM4");

    Project.AddSvdFile("C:/ncs/modules/hal/nordic/nrfx/mdk/nrf5340_network.svd");




Children
Related