RE: VS Code debugging

2023-03-03 Thread Tim Hardisty
Thanks Bartok. Seems, as usual, I am Mr. DumbHead as I am already using a CortexA5.svd file and do, indeed, see Cortex registers. But IO am not 100% convinced the svd is totally right so I'm trying to track one down for the SAMA5D2 family. What I can't do is trace the cause of an exception. The

Re: VS Code debugging

2023-03-02 Thread Bartek22
Take a look at PX4 project on github. I work with this setup with my own projects with nuttx and everything works great. They are generating some files from cmake so take a look at platforms/nuttx directory and CMakeLists files inside and add .svd files for your mcu and everything should work. Best

VS Code debugging

2023-03-02 Thread Tim Hardisty
I have been using VS code with a Segger Jlink for debugging so far but am struggling to find the cause of a problem in a driver I'm writing and I think the VS Code debug setup may be lacking. Before I spend time getting openOCD installed and following the various guides for that, with NuttX, th