adafruit/Adafruit_GPS

Library support for ESP8266

Closed this issue · 4 comments

The library has no support for the Wifi module ESP8266.
It seems not to work for the SoftwareSerial.
This is my code:
#include <Adafruit_GPS.h>
#include <SoftwareSerial.h>

SoftwareSerial mySerial(3, 2);
//HardwareSerial mySerial = Serial1;

Adafruit_GPS GPS(&mySerial);

void setup()
{
GPS.begin(9600);
}

void loop() // run over and over again
{
}

Getting following error:
error: no matching function for call to 'Adafruit_GPS::Adafruit_GPS(SoftwareSerial*)'

Hello, I've been facing this same issue today. NewSoftSerial doesn't work on ESP8266, Adafruit_GPS library doesn't work with anything other than AVR, so, ESP8266's SoftwareSerial is not compatible with Adafruit_GPS.

I would recommend to use TinyGPS+ library instead of Adafruit_GPS_Library for the ESP8266

A quick question:

Will the TinyGPS library work with the Adafruit GPS Sensor (Adafruit GPS Breakout v3)?

drak7 commented

ESP8266 support fixed in commit e214a45