stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
419 stars 345 forks source link

compile error on /firmware_v5/simple_gps_test/simple_gps_test.ino #119

Open pkoevesdi opened 3 years ago

pkoevesdi commented 3 years ago

vscode says .pio/build/esp32dev/libFrameworkArduino.a(HardwareSerial.cpp.o):(.bss.Serial1+0x0): multiple definition of `Serial1' .pio/build/esp32dev/src/simple_gps_test.ino.cpp.o:(.bss.Serial1+0x0): first defined here

pkoevesdi commented 3 years ago

...similar when compiling with Arduino IDE. There it's gone with setting

define USE_SOFT_SERIAL 1