I made an experiment with configuring the VSCode IDE for nRF development. The results were quite satisfactory so I decided to post an example configuration to github in case anyone is interested. It can be found here VSC-Nordic-example.
I made an experiment with configuring the VSCode IDE for nRF development. The results were quite satisfactory so I decided to post an example configuration to github in case anyone is interested. It can be found here VSC-Nordic-example.
OMG you're my hero!
I'm a C# developer but a real newbie in the embedded world.
All I wanted was to be able to use VSCode as primary IDE with my nRF51 DK
Thanks to you I got the blinky app working and I understand better how all the tools integrate together.
A HUGE thanks
EDIT: Just one issue for me, when I try to debug, I get an error "debug adapter process has terminated unexpectedly". Couldn't figure out what's wrong...
Ok, finally got the debugging working using Cortex Debug.
Thanks again for this repository and clear Readme. That's a huge help for a beginner like me
How did you get the Cortex Debug working? I had the same issue with the "debug adapter process has terminated unexpectedly" but when I try Cortex-Debug I get a GDB server timeout. Can you pls share your launch.json?
Thanks
I'll try to find time tonight to push my sample projects on Github.
If not, please be patient, it has been added on my TO-DO list
mikeg78 As promised, here are my sample projects working with Cortex Debug https://github.com/jmevel/nRF51-VsCode-Samples
Thanks - looks like it is an issue with the Cortex-Debug trying to allocate an inuse port. I closed apps that kept grabbing the port and it worked after that. Cheers
Thanks - looks like it is an issue with the Cortex-Debug trying to allocate an inuse port. I closed apps that kept grabbing the port and it worked after that. Cheers