Closed pearlson closed 5 years ago
It's strange because it sure looks like https://github.com/arduino/Arduino/issues/7930, which was supposed to be fixed with https://github.com/arduino/arduino-builder/pull/285. But that change was released in Arduino IDE 1.8.7.
I downloaded and compiled without issue using arduino 1.6.12. Not sure why the later version is causing issues. You can also try compiling marlin as either repetier or marlin will work.
Thanks a lot for your time Rick.
I tried 1.6.12 and encountered similar preprocessor issue. Then I tried Arduino IDE 1.6.2 and I was able to compile without any issues.
Now that compilation issue is (kind of) solved, I had one clarification:
While using RAMPS 1.4 board, I am planning to use X and Y axis for left and right motors of v-plotter. Is that fine ? I checked pins.h mapping for RAMPS 1.3/1.4 (board 33), I did not see any special indication regarding specific axis motors and hence I assume, I can use X and Y axis of RAMPS.
Please let me know if my understanding is incorrect
Regards Muthu
Just checked older issues . E1 maps to left motor and Y maps to right one. Will try that out.
Thanks again.
If it's OK, this issue may be closed
Regards Muthu
Hi,
The whole setup (without servo) is working perfectly. The movements are fine and I think I would be able to do some good work. Since I am familiar with GCodes and I was looking for something compatible, Penplotter firmware and controller looks to be apt for me.
Next step is to try some drawings. Its late night in this part of globe and I will get time only by next weekend.
Thanks for a wonderful work again.
I will close the current issue.
Regards Muthu
Hi,
My environment is as following Arduino IDE : 1.8.7 (I have also tried 1.8.6 and 1.8.5 without any success) Downloaded latest version of penplotter 0.8 I have GRBL added in libraries. But I guess that should not make any difference in compiling Repetier I have selected Arduino Mega 2560 in Arduino IDE for compilation
Compilation fails with following errors
Arduino: 1.8.7 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:323:36: error: pasting "/38/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:47: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:206:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:206:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ pins.h:323:36: error: pasting "/38/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:75: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:206:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:206:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ pins.h:323:36: error: pasting "/38/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:104: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:206:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:206:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:323:36: error: pasting "/38/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:133: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:206:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:206:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN,!X_ENABLE_ON); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:323:36: error: pasting "/38/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:47: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:236:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:236:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ pins.h:323:36: error: pasting "/38/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:75: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:236:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:236:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ pins.h:323:36: error: pasting "/38/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:104: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:236:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:236:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:323:36: error: pasting "/38/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_ENABLE_PIN 30 //38
sketch/fastio.h:29:133: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:236:9: note: in expansion of macro 'WRITE' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ sketch/pins.h:2214:22: note: in expansion of macro 'ORIG_X_ENABLE_PIN'
define X_ENABLE_PIN ORIG_X_ENABLE_PIN
sketch/Printer.h:236:15: note: in expansion of macro 'X_ENABLE_PIN' WRITE(X_ENABLE_PIN, X_ENABLE_ON); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:322:36: error: pasting "/55/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:47: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:266:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:266:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ pins.h:322:36: error: pasting "/55/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:75: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:266:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:266:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ pins.h:322:36: error: pasting "/55/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:104: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:266:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:266:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:322:36: error: pasting "/55/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:133: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:266:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:266:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,!INVERT_X_DIR); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:322:36: error: pasting "/55/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:47: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:273:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:273:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ pins.h:322:36: error: pasting "/55/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:75: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:273:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:273:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ pins.h:322:36: error: pasting "/55/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:104: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:273:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:273:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:322:36: error: pasting "/55/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:29:133: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:273:13: note: in expansion of macro 'WRITE' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:273:19: note: in expansion of macro 'X_DIR_PIN' WRITE(X_DIR_PIN,INVERT_X_DIR); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:322:36: error: pasting "/55/" and "_RPORT" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:27:39: note: in definition of macro '_READ'
define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN)))
sketch/Printer.h:323:17: note: in expansion of macro 'READ' return((READ(X_DIR_PIN)!=0) ^ INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:323:22: note: in expansion of macro 'X_DIR_PIN' return((READ(X_DIR_PIN)!=0) ^ INVERT_X_DIR); ^ pins.h:322:36: error: pasting "/55/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_DIR_PIN 34 //55
sketch/fastio.h:27:66: note: in definition of macro '_READ'
define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN)))
sketch/Printer.h:323:17: note: in expansion of macro 'READ' return((READ(X_DIR_PIN)!=0) ^ INVERT_X_DIR); ^ sketch/pins.h:2213:19: note: in expansion of macro 'ORIG_X_DIR_PIN'
define X_DIR_PIN ORIG_X_DIR_PIN
sketch/Printer.h:323:22: note: in expansion of macro 'X_DIR_PIN' return((READ(X_DIR_PIN)!=0) ^ INVERT_X_DIR); ^ pins.h:321:36: error: pasting "/54/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:47: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:535:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,LOW); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/Printer.h:535:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,LOW); ^ pins.h:321:36: error: pasting "/54/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:75: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:535:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,LOW); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/Printer.h:535:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,LOW); ^ pins.h:321:36: error: pasting "/54/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:104: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:535:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,LOW); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/Printer.h:535:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,LOW); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:321:36: error: pasting "/54/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:133: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/Printer.h:535:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,LOW); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/Printer.h:535:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,LOW); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:321:36: error: pasting "/54/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:47: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/motion.h:501:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,HIGH); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/motion.h:501:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,HIGH); ^ pins.h:321:36: error: pasting "/54/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:75: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/motion.h:501:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,HIGH); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/motion.h:501:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,HIGH); ^ pins.h:321:36: error: pasting "/54/" and "_WPORT" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:104: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/motion.h:501:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,HIGH); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/motion.h:501:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,HIGH); ^ In file included from sketch/HAL.h:77:0, from sketch/Repetier.h:264, from /home/muthu/Downloads/penplotter-0.8/PenPlotter-08/Repetier/Repetier.ino:127: pins.h:321:36: error: pasting "/54/" and "_PIN" does not give a valid preprocessing token
define ORIG_X_STEP_PIN 36 //54
sketch/fastio.h:29:133: note: in definition of macro '_WRITE'
define _WRITE(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
sketch/motion.h:501:9: note: in expansion of macro 'WRITE' WRITE(X_STEP_PIN,HIGH); ^ sketch/pins.h:2212:20: note: in expansion of macro 'ORIG_X_STEP_PIN'
define X_STEP_PIN ORIG_X_STEP_PIN
sketch/motion.h:501:15: note: in expansion of macro 'X_STEP_PIN' WRITE(X_STEP_PIN,HIGH); ^ exit status 1 pasting "/38/" and "_WPORT" does not give a valid preprocessing token
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Any help appreciated
Regards Muthu