What header include paths should I use for Core and Photon so that Visual Studio IntelliSense matches this toolchain?
Every firmware inc folder I can find?
NMake in Visual Studio does not include subfolders, apparently. I’ve got C:\Particle\Firmware\Code\communication\src;C:\Particle\Firmware\Code\hal\inc;C:\Particle\Firmware\Code\hal\shared;C:\Particle\Firmware\Code\services\inc;C:\Particle\Firmware\Code\system\inc;C:\Particle\Firmware\Code\wiring\inc just to get rid of missing header file errors, but I can’t get rid of 70 IntelliSense syntax errors in the included header files. I’m guessing that’s because GCC allows different syntax than VC++, so IntelliSense is useless. If I ignore the errors it’s fine, except that in my own code Spark. calls get red underlines.
The only reason I’m using the Windows toolchain instead of Particle Dev is that I need to compile for the local cloud.
Visual Studio is better than nothing, but… for the toolchain on Windows what IDE do you recommend?
It’s a long time since I’ve set up my system, but I had a similar issue (stat.exe stopped working) which was rooted in a wrong setup in my environment.
Unfortunately I can’t remember what I did to correct it, but checking your PATH and other environment variables might help.