GPS compile error with MKS Gen L1

Markus Kempf

I have connected my GPS module to RX1 on Z+, this should be Serial1 (same result for Serial2).

#define SerialGPS Serial1

HardwareSerial1.cpp.o (symbol from plugin): In function `Serial1':
(.text+0x0): multiple definition of `__vector_36'
sketch\OnStep.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.


Join to automatically receive all group messages.