Hello,
Using the tag:
#define SDSUPPORT
with REPRAP DISCOUNT (non graphical display) got compile error:
In file included from sketch\MarlinConfig.h:26:0,
from sketch\Sd2Card.cpp:29:
Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_DDR" does not give a valid preprocessing token
#define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin
config files:
Marlin.zip
@mtmello2003 : This a bug of the C preprocessor that some Arduino and some PlatformIO environments are using. Just remove the comments (//
onwards) and it will compile and work
That麓s weird! I did as you recomended and it worked!
Tks
I saw this error with 1.8.6 but it went away after upgrading to 1.8.7
.
@mtmello2003 : This a bug of the C preprocessor that some Arduino and some PlatformIO environments are using. Just remove the comments (
//
onwards) and it will compile and work
Great, completed as stated and compiled with no issues, Thanks.
@mtmello2003 : This a bug of the C preprocessor that some Arduino and some PlatformIO environments are using. Just remove the comments (
//
onwards) and it will compile and work
where do i find the (//
onwards)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@mtmello2003 : This a bug of the C preprocessor that some Arduino and some PlatformIO environments are using. Just remove the comments (
//
onwards) and it will compile and work