Skip to content

Unable to compile  #21

Closed
Closed
@pearlson

Description

@pearlson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions