This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using Visual Studio Code for nRF52 development

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.

Parents
  • 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's functionality. I was able to fix this by adding the following in my c_cpp_properties.json file, in the defines section:

    "__STATIC_INLINE"
Reply
  • 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's functionality. I was able to fix this by adding the following in my c_cpp_properties.json file, in the defines section:

    "__STATIC_INLINE"
Children
Related