AssestTracker - External Active Antenna - AssetTracker.h and Adafruit_LIS3DH.cpp


I am working on a project in which I am trying to connect an Electron microcontroller to a external GPS unit. The GPS I am using is the Adafruit GPS Antenna - External Active Antenna. I am using the 1_GPS_Features.ino example code from the AssetTracker library provided by Particle. However, when I have tried to compile the example 1_GPS_Features code provided by Particle, I have received the following error message:
lib/Adafruit_LIS3DH/Adafruit_LIS3DH.cpp:320:1: no return statement in function returning non-void [-Werror=return-type]

AssetTracker.h includes the Adafruit_LIS3DH.h file. I did not write that code nor did I make any adjustments to the 1_GPS_Features.ino example so I am not sure how to go about addressing this error without having to edit the Adafruit_LIS3DH.h code. I would appreciate any assistance with this issue.

The Electron AssetTracker is no longer supported, and the Electron AssetTracker library is no longer supported and won’t work on recent versions of Device OS.

You can try using AssetTrackerRK instead of the Particle AssetTracker library. I believe that should work correctly.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.