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.
By the way, I just published a post that walks through setting this up on macOS. There were a few hurdles along the way, but I think it was worth it!
If anyone encounters the warnings from IntelliSense with generic types such as uint8_t types not being defined, this seems to be due to a bug where static inline definitions seem to interfere with IntelliSense…
this helped me immensely! thanks!
Also useful is to put "BOARD_CUSTOM" in your c_cpp_properties.json defines if youre using a custom board
Thank you for sharing this! I am sure it can be useful for the many nRF developers already using the excellent Visual Studio Code editor to write their code.
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 DKThanks to you I got the blinky app working and I understand better how all the tools integrate together.A HUGE thanksEDIT: 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?
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