Visual Studio and config-gamebuino.h



il y a 5 ans


I have problem with development under Visual Studio with vMicro (Arduino IDE for Visual Studio). Everything works just fine, files are compiled, libraries are seen, intellisense work flawless but problems are with config-gamebuino.h. I tried to put them in different folders (VS structure is not flat) but it just doesn't work.

When I use Arduino IDE everything is fine, with Visual Studio file is ignored. I'm not sure at what moment that file is loaded and where I should search configuration for loading it. Anyone could give a hint?


NEW il y a 5 ans

config-gamebuino.h should be in the same folder as your main sketch ino.

It could very well be that you have to restart visual studio after creating that file so that it gets recognized properly