Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

Marlin 1.1.9 fails to compile with new IDE 1.8.6 (1 reply)

$
0
0
I've had 1.1.9 compiling OK for a while and saw that IDE Arduino 1.8.6 was available for download from [www.arduino.cc]. Thought I'd give it a try and was rewarded but a long list of errors similar to those shown below. Roll back to 1.8.5 and all is well again. Anyone else try it yet?:


Errors with 1.8.6

In file included from C:\Users\Dave\AppData\Local\Temp\arduino_build_700613\sketch\HAL.h:33:0,

from C:\Users\Dave\AppData\Local\Temp\arduino_build_700613\sketch\MarlinConfig.h:39,

from C:\Users\Dave\AppData\Local\Temp\arduino_build_700613\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

^

C:\Users\Dave\AppData\Local\Temp\arduino_build_700613\sketch\fastio.h:86:42: note: in definition of macro '_SET_INPUT'

#define _SET_INPUT(IO) CBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

^

C:\Users\Dave\AppData\Local\Temp\arduino_build_700613\sketch\Sd2Card.cpp:316:3: note: in expansion of macro 'SET_INPUT'

SET_INPUT(SPI_MISO_PIN);

^

C:\Users\Dave\AppData\Local\Temp\arduino_build_700613\sketch\Sd2Card.cpp:316:13: note: in expansion of macro 'SPI_MISO_PIN'

SET_INPUT(SPI_MISO_PIN);

^

Sd2Card.h:100:39: error: pasting "/* SPI Master In Slave Out pin*/" and "_PIN" does not give a valid preprocessing token

#define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>