arktools/ardupilotone — Issue #30: GPS Test Code And LCD
Author: beschmid12
Created: 2012-03-10 01:52:55+00:00
State: open

Does anyone know why I can't build a test program to read the GPS from the APM and output it to a LCD? The code will work fine if I compile for Serial0 and print the data, but if I try to build for outputting to a LCD, I get errors:

core.a(HardwareSerial.cpp.o): In function `__vector_36':
C:\cygwin\home\Ben\work\arduino-0023\hardware\arduino\cores\arduino/HardwareSerial.cpp:140: multiple definition of `__vector_36'
myAPM_App.cpp.o:C:\DOCUME~1\Ben\LOCALS~1\Temp\build1258663894708907404.tmp/myAPM_App.cpp:33: first defined here
core.a(HardwareSerial.cpp.o): In function `__vector_25':
C:\cygwin\home\Ben\work\arduino-0023\hardware\arduino\cores\arduino/HardwareSerial.cpp:93: multiple definition of `Serial1'
myAPM_App.cpp.o:(.bss.Serial1+0x0): first defined here
c:/cygwin/home/ben/work/arduino-0023/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `Serial1' changed from 18 in myAPM_App.cpp.o to 19 in core.a(HardwareSerial.cpp.o)