loginov-rocks/UbxGps

Error compiling for ESP8266 - Software Serial

Opened this issue · 0 comments

got following error:
`In file included from D:\arduino_proj\MyProj\libraries\UbxGps\src/UbxGpsNavPvt.h:4:0,

             from D:\arduino_proj\MyProj\myUBX_8266\myUBX_8266.ino:7:

D:\arduino_proj\MyProj\libraries\UbxGps\src/UbxGps.h: In instantiation of 'void UbxGps::begin(long int) [with T = SoftwareSerial]':

D:\arduino_proj\MyProj\myUBX_8266\myUBX_8266.ino:25:27: required from here

D:\arduino_proj\MyProj\libraries\UbxGps\src/UbxGps.h:14:36: error: return-statement with a value, in function returning 'void' [-fpermissive]

 return this->serial.begin(speed);

                                ^

Using library SoftwareSerial at version 5.0.4 in folder: C:\Users\schoen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\SoftwareSerial
Using library UbxGps at version 1.4.0 in folder: D:\arduino_proj\MyProj\libraries\UbxGps
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.`