Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[2.0.x] Can't compile with BOARD_ULTIMAKER selected #11585
Hello, i use a GT2560 Board and the manufacturer (Geetech) used BOARD_ULTIMAKER as definition, so did i on 1.1.9. Now i wanted to go to 2.0 and unfortunately a compile error appears:
Steps to Reproduce
Expected behavior: It compiles.
Actual behavior: It gives the compile error, see above.
I don't know if it matters, but i use Ubuntu 18.04.
This is a bug in the Arduino (possibly avr_gcc) preprocessor, the macro expansion is including comments that are on the same line, you could create an issue on their repository. To work around the problem you would need to remove the comments from the pin definition lines in pins_ULTIMAKER.h.