Uploading Marlin 1.1.9 to my Anet A8 using Arduino 1.8.6. I get this error :- "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token.
I first copy and paste the 'anet-board-master' - 'anet' folder in to the Arduino hardware folder. As all the info tell you to do. Next I open Marlin folder and copy from the 'example_configurations' folder the Anet A8 Configuration.h and the Configuration_adv.h flies to the Marlin folder. Then check that 'Anet V1.0' is set and the right port is set. Now I Verify, and I get the error "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token. Or the error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
The Arduino IDE 1.8.6 bug I mentioned is related to the first error you encountered:
TheEmit:
Uploading Marlin 1.1.9 to my Anet A8 using Arduino 1.8.6. I get this error :- "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token.