Open mehow opened 2 years ago
Same problem here...
In case anyone is still having this problem, in PlatformIO the solution is to change the platform in the platformio.ini file. If you choose the Cubecell GPS board when starting a project it will default to "platform = asrmicro650x". This platform is deprecated and must be manually changed to "platform = heltec-cubecell". Once this is done the GPS functionality will work correctly.
Board: CubeCell GPS-6502 Version: 1.4.0 Example: OnBoardGPS > PeriodicLowPowerMode
The sketch gets stuck on "GPS Searching..." after a few iterations. More precisely it gets stuck in
GPS.begin()
while checking for the current baudrate:(there is no more output after that line)
After adding some print statements I learned that the execution gets stuck inside the
getNMEA()
method ifGPSSerial.available()
continues to return false. This code:ends up printing
before getting stuck. Notice that it never exits the loop and instead appears crash or get stuck inside
GPSSerial.available()
.I checked and the problem is not present in 1.3.0 which makes me suspect this commit.