Hi
I tried today VM to convert the firmware of the reprap printers "Marlin" to Visual Studio. After some startup lags I have (hope so) one last thing:
In code there is:
#elif MB(MELZI)
#include "pins_MELZI.h" <== greyed
#elif MB(STB_11)
#include "pins_STB_11.h" <== greyed
So, one would assume these two header files will not be included.
But in your Marlin.vsarduino.h there are two lines:
#include <..\Marlin\pins_MELZI.h>
#include <..\Marlin\pins_STB_11.h>
And in the "Error List" window I see errors:
of the following statement coded in the header file which should be excluded from build.
#ifndef __AVR_AT90USB1286__
#error Oops! Make sure you have selected from the 'Tools -> Boards' menu.
#endif
It looks like the header file is included anyway.
Also other errors appear because some LCD code fails because of other false includes.
Setup:
VisualMicro 1511.23.1
Visual Studio 2015
SourceCode :
https://github.com/MarlinFirmware/Marlin OS: Win7
What am I missing? Can you please give me a tip?