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.
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
Hi, I made a video tutorial for using VS Code with nRF5 SDK(with SEGGER RTT logs shown inside VSC), maybe you can find it useful. Here is the link:
Very useful
Had this problem as well, this is because you have forgot to set defines in your c_cpp_properties.json file. For example
"defines": [
"APP_TIMER_V2",
"APP_TIMER_V2_RTC1_ENABLED",
"BOARD_PCA10056",
"CONFIG_GPIO_AS_PINRESET",
"FLOAT_ABI_HARD",
"NRF52840_XXAA",
"NRF_SD_BLE_API_VERSION=7",
"S140",
"SOFTDEVICE_PRESENT",
],