Unable to Compile code using VS Code in Windows 10

I have an issue compiling the example code from SDK 17.1.0 using Microsoft Visual Studio Code in Windows 10. Using the easiest example possible, after starting a terminal from the PCA10059 folder and typing 'make' the compiler won't succesfully run through the code. It seems as though && is not accepted as a valid separator for command lines. As it will create the _build folder, but then it will cease to run the code. If nrf52840_xxaa is manually created, just manages to run slightly further through the makefile, but eventually will return an error code on the .out file.

Is there any way to work around this error or properly configure VScode?

Parents
  • I’m not having the same errors, but am having issues getting VSC to build without errors under Windows 10. Used to work fine, then sometime after an update it stopped working.

    I wound the update back, but I still get the error. Mine seems related to the gatt.h declarations around GATT services and characteristics.

    Posted about it on here a few days ago but haven’t had anything back as yet.  Keen to see if your issues and mine are related

Reply
  • I’m not having the same errors, but am having issues getting VSC to build without errors under Windows 10. Used to work fine, then sometime after an update it stopped working.

    I wound the update back, but I still get the error. Mine seems related to the gatt.h declarations around GATT services and characteristics.

    Posted about it on here a few days ago but haven’t had anything back as yet.  Keen to see if your issues and mine are related

Children
No Data
Related