XA1110 (Qwiic) I2C GPS library not compiling on ESP32/Artemis

I opened an issue here but got no response: https://github.com/sparkfun/SparkFun_I2 … y/issues/4

Essentially, the library wont compile for my ESP32/Artemis boards.

Note: For the ESP32, I tried using the Adafruit Feather board definition as well as the ESP32 thing definition for my Sparkfun Thing Plugs (ESP32 WROOM) board.

Edit: Using latest arduino ide (1.8.10) on Ubuntu Linux 18.04

Hi finnbear,

I think the issue may be on your end or possibly with Arduino 1.8.10. I just tested with Arduino 1.8.9 with v1.0.1 of the I2C GPS Library compiles for both the ESP32 Thing and Feather with no issues. I would suggest trying to re-install the library using the Arduino Library Manager and make sure it is v1.0.1. If that does not fix the problem, try rolling back to v1.8.9 of Arduino and that should fix it. Also, you will also want to make sure you are using the latest versions of both the Artemis Arduino Core and the ESP32 Core.

Hi Mark,

  1. I already had v1.0.1 of the library, installed through Arduino IDE’s library manager

  2. I downloaded the sparkfun Apollo 3 core (1.0.20) but that didn’t help. I already had the latest ESP32 core and that still isn’t working either.

  3. Reverting back to Arduino 1.8.9 didn’t help (although I technically didn’t reinstall everything when I switched)

Could it be a Linux issue? As I said, I’m on Ubuntu 18.04.

Does the compiler, through its error message, make a valid point about the code in the library being incorrect in any way? If so, please fix it :slight_smile:

-finnbear

The “fpermissive” error is a weird one. Try enabling Verbose Output for Compilation and Upload and then copy the error and attach it to your reply. That will help give us some more info on the issue. Also, it does not look like it is stopping compiling and is only throwing those warnings. Does the code actually upload to either of those boards?

My guess is it is a conflict from the Wire library installed by the ESP32 Core. It may be a Linux issue but I’m not sure. More information from Verbose Output could help.

For unrelated reasons, I had to reinstall my computer (to Ubuntu 19.10). I get the same/similar errors during compilation. Here is the verbose output with “all” compiler warnings.

Arduino: 1.8.10 (Linux), Board: "SparkFun Artemis Module, 921600, SparkFun Variable Loader (Recommended)"

/home/finnb/Downloads/Software/arduino-1.8.10/arduino-builder -dump-prefs -logger=machine -hardware /home/finnb/Downloads/Software/arduino-1.8.10/hardware -hardware /home/finnb/.arduino15/packages -tools /home/finnb/Downloads/Software/arduino-1.8.10/tools-builder -tools /home/finnb/Downloads/Software/arduino-1.8.10/hardware/tools/avr -tools /home/finnb/.arduino15/packages -built-in-libraries /home/finnb/Downloads/Software/arduino-1.8.10/libraries -libraries /home/finnb/Work/Arduino/libraries -fqbn=SparkFun:apollo3:artemis:svl_baud=921600,loader=sparkfun_svl -ide-version=10810 -build-path /tmp/arduino_build_874801 -warnings=all -build-cache /tmp/arduino_cache_649823 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /home/finnb/Work/Arduino/libraries/SparkFun_I2C_GPS_Reading_and_Control/examples/Example1-BasicReadings/Example1-BasicReadings.ino
/home/finnb/Downloads/Software/arduino-1.8.10/arduino-builder -compile -logger=machine -hardware /home/finnb/Downloads/Software/arduino-1.8.10/hardware -hardware /home/finnb/.arduino15/packages -tools /home/finnb/Downloads/Software/arduino-1.8.10/tools-builder -tools /home/finnb/Downloads/Software/arduino-1.8.10/hardware/tools/avr -tools /home/finnb/.arduino15/packages -built-in-libraries /home/finnb/Downloads/Software/arduino-1.8.10/libraries -libraries /home/finnb/Work/Arduino/libraries -fqbn=SparkFun:apollo3:artemis:svl_baud=921600,loader=sparkfun_svl -ide-version=10810 -build-path /tmp/arduino_build_874801 -warnings=all -build-cache /tmp/arduino_cache_649823 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /home/finnb/Work/Arduino/libraries/SparkFun_I2C_GPS_Reading_and_Control/examples/Example1-BasicReadings/Example1-BasicReadings.ino
Using board 'artemis' from platform in folder: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22
Using core 'arduino' from platform in folder: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22
Detecting libraries used...
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -
[truncated due to character limit]
/tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /dev/null
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -[truncated due to character limit]
I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /dev/null
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp -o /dev/null
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src/Wire.cpp -o /dev/null
Generating function prototypes...
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -
[truncated due to character limit]
I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /tmp/arduino_build_874801/preproc/ctags_target_for_gcc_minus_e.cpp
/home/finnb/Downloads/Software/arduino-1.8.10/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_874801/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -Wall -Wextra -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp.o
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -Wall -Wextra -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp -o /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp.o
In file included from /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/Arduino.h:77,
                 from /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.h:31,
                 from /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:28:
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h: In function 'bool ap3_gpio_is_valid(ap3_gpio_pad_t)':
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:45:38: warning: comparison is always true due to limited range of data type [-Wtype-limits]
 #define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
                                      ^
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:53:60: note: in expansion of macro 'AP3_GPIO_IS_VALID'
 inline bool ap3_gpio_is_valid(ap3_gpio_pad_t pad) { return AP3_GPIO_IS_VALID(pad); }
                                                            ^~~~~~~~~~~~~~~~~
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h: In function 'bool ap3_gpio_has_gpio(ap3_gpio_pad_t)':
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:45:38: warning: comparison is always true due to limited range of data type [-Wtype-limits]
 #define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
                                      ^
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:54:60: note: in expansion of macro 'AP3_GPIO_IS_VALID'
 inline bool ap3_gpio_has_gpio(ap3_gpio_pad_t pad) { return AP3_GPIO_IS_VALID(pad); }
                                                            ^~~~~~~~~~~~~~~~~
In file included from /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/Arduino.h:77,
                 from /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp:1:
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h: In function 'bool ap3_gpio_is_valid(ap3_gpio_pad_t)':
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:45:38: warning: comparison is always true due to limited range of data type [-Wtype-limits]
 #define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
                                      ^
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:53:60: note: in expansion of macro 'AP3_GPIO_IS_VALID'
 inline bool ap3_gpio_is_valid(ap3_gpio_pad_t pad) { return AP3_GPIO_IS_VALID(pad); }
                                                            ^~~~~~~~~~~~~~~~~
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h: In function 'bool ap3_gpio_has_gpio(ap3_gpio_pad_t)':
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:45:38: warning: comparison is always true due to limited range of data type [-Wtype-limits]
 #define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
                                      ^
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_gpio.h:54:60: note: in expansion of macro 'AP3_GPIO_IS_VALID'
 inline bool ap3_gpio_has_gpio(ap3_gpio_pad_t pad) { return AP3_GPIO_IS_VALID(pad); }
                                                            ^~~~~~~~~~~~~~~~~
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp: At global scope:
SparkFun_I2C_GPS_Arduino_Library.cpp:140:56: error: default argument given for parameter 1 of 'void I2CGPS::enableDebugging(Stream&)' [-fpermissive]
 void I2CGPS::enableDebugging(Stream &debugPort = Serial)
                                                        ^
In file included from /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:28:
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.h:57:10: note: previous specification in 'void I2CGPS::enableDebugging(Stream&)' here
     void enableDebugging(Stream &debugPort = Serial); //Output various extra messages to help with debug
          ^~~~~~~~~~~~~~~
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp: In member function 'boolean I2CGPS::sendMTKpacket(String)':
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:176:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if ( (chunk * 32 + x) == command.length()) break; //We're done!
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:190:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if ( (7 * 32 + x) == command.length()) break; //We're done!
            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:195:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/Arduino.h:80,
                 from /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.h:31,
                 from /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:28:
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_analog.h: At global scope:
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_analog.h:37:14: warning: 'g_ADCHandle' defined but not used [-Wunused-variable]
 static void *g_ADCHandle;
              ^~~~~~~~~~~
In file included from /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/Arduino.h:80,
                 from /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp:1:
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_analog.h: At global scope:
/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ap3_analog.h:37:14: warning: 'g_ADCHandle' defined but not used [-Wunused-variable]
 static void *g_ADCHandle;
              ^~~~~~~~~~~
Multiple libraries were found for "Wire.h"
 Used: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire
Using library Wire at version 1.0 in folder: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire 
exit status 1
default argument given for parameter 1 of 'void I2CGPS::enableDebugging(Stream&)' [-fpermissive]

And here is verbose output with “no” compiler warnings:

Arduino: 1.8.10 (Linux), Board: "SparkFun Artemis Module, 921600, SparkFun Variable Loader (Recommended)"

/home/finnb/Downloads/Software/arduino-1.8.10/arduino-builder -dump-prefs -logger=machine -hardware /home/finnb/Downloads/Software/arduino-1.8.10/hardware -hardware /home/finnb/.arduino15/packages -tools /home/finnb/Downloads/Software/arduino-1.8.10/tools-builder -tools /home/finnb/Downloads/Software/arduino-1.8.10/hardware/tools/avr -tools /home/finnb/.arduino15/packages -built-in-libraries /home/finnb/Downloads/Software/arduino-1.8.10/libraries -libraries /home/finnb/Work/Arduino/libraries -fqbn=SparkFun:apollo3:artemis:svl_baud=921600,loader=sparkfun_svl -ide-version=10810 -build-path /tmp/arduino_build_874801 -warnings=none -build-cache /tmp/arduino_cache_649823 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /home/finnb/Work/Arduino/libraries/SparkFun_I2C_GPS_Reading_and_Control/examples/Example1-BasicReadings/Example1-BasicReadings.ino
/home/finnb/Downloads/Software/arduino-1.8.10/arduino-builder -compile -logger=machine -hardware /home/finnb/Downloads/Software/arduino-1.8.10/hardware -hardware /home/finnb/.arduino15/packages -tools /home/finnb/Downloads/Software/arduino-1.8.10/tools-builder -tools /home/finnb/Downloads/Software/arduino-1.8.10/hardware/tools/avr -tools /home/finnb/.arduino15/packages -built-in-libraries /home/finnb/Downloads/Software/arduino-1.8.10/libraries -libraries /home/finnb/Work/Arduino/libraries -fqbn=SparkFun:apollo3:artemis:svl_baud=921600,loader=sparkfun_svl -ide-version=10810 -build-path /tmp/arduino_build_874801 -warnings=none -build-cache /tmp/arduino_cache_649823 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -prefs=runtime.tools.arm-none-eabi-gcc-8-2018-q4-major.path=/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major -verbose /home/finnb/Work/Arduino/libraries/SparkFun_I2C_GPS_Reading_and_Control/examples/Example1-BasicReadings/Example1-BasicReadings.ino
Using board 'artemis' from platform in folder: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22
Using core 'arduino' from platform in folder: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22
Detecting libraries used...
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /dev/null
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config --
[truncated due to character limit]
I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /dev/null
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -[truncated due to character limit]
I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp -o /dev/null
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src/Wire.cpp -o /dev/null
Generating function prototypes...
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /tmp/arduino_build_874801/preproc/ctags_target_for_gcc_minus_e.cpp
/home/finnb/Downloads/Software/arduino-1.8.10/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_874801/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp -o /tmp/arduino_build_874801/sketch/Example1-BasicReadings.ino.cpp.o
/home/finnb/.arduino15/packages/SparkFun/tools/arm-none-eabi-gcc/8-2018-q4-major/bin/arm-none-eabi-g++ -DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3 -c -g -MMD -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -fdata-sections -Os -ffunction-sections -std=gnu++11 -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DF_CPU=48000000L -DARDUINO=10810 -DARDUINO_SFE_ARTEMIS -DARDUINO_ARCH_APOLLO3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/config -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis/bsp -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/ard_sup/ard_supers -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/variants/artemis -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire/src -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/hal -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/mcu/apollo3/regs -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/utils -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/devices -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/AmbiqMicro/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/CMSIS/ARM/Include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/uecc/micro-ecc -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/ambiq -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/wsf/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/sw/util -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/ws-core/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/hci -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/stack/cfg -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/include -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/services -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/sec/common -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/hci/ambiq/apollo3 -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/apps/app -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gatt -I/home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/cores/arduino/am_sdk_ap3/third_party/exactle/sw/profiles/gap /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp -o /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp.o
SparkFun_I2C_GPS_Arduino_Library.cpp:140:56: error: default argument given for parameter 1 of 'void I2CGPS::enableDebugging(Stream&)' [-fpermissive]
 void I2CGPS::enableDebugging(Stream &debugPort = Serial)
                                                        ^
In file included from /tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:28:
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.h:57:10: note: previous specification in 'void I2CGPS::enableDebugging(Stream&)' here
     void enableDebugging(Stream &debugPort = Serial); //Output various extra messages to help with debug
          ^~~~~~~~~~~~~~~
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp: In member function 'boolean I2CGPS::sendMTKpacket(String)':
/tmp/arduino_build_874801/sketch/SparkFun_I2C_GPS_Arduino_Library.cpp:195:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Multiple libraries were found for "Wire.h"
 Used: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire
Using library Wire at version 1.0 in folder: /home/finnb/.arduino15/packages/SparkFun/hardware/apollo3/1.0.22/libraries/Wire 
exit status 1
default argument given for parameter 1 of 'void I2CGPS::enableDebugging(Stream&)' [-fpermissive]

TS-Mark:
Does the code actually upload to either of those boards?

No, since Arduino IDE is convinced the compilation failed

The issue is not wire.h but an issue with the definition in SparkFun_I2C_GPS_Arduino_Library.h. Not sure why as that works for me in other libraries but I have not checked on latest IDE.

However I suspect a quick way around is to CHANGE in SparkFun_I2C_GPS_Arduino_Library.haround line 57 :

void enableDebugging(Stream &debugPort = Serial); //Output various extra messages to help with debug

to (removing the default)

void enableDebugging(Stream &debugPort); //Output various extra messages to help with debug

If have downloaded the 1.8.10 version. as well as the I2C GPS library. I have tested the compile with Artemis board selected and it failed.

The issue is in SparkFun_I2C_GPS_Arduino_Library.cpp ( NOT the .h file)

Around line 141

void I2CGPS::enableDebugging(Stream &debugPort = Serial)

change to

void I2CGPS::enableDebugging(Stream &debugPort)

This should be changed in the official library source for th GPS. The installed version with the IDE was 1.0.1.

The default setting for Serial is already happening (as it should) in the SparkFun_I2C_GPS_Arduino_Library.h file. Apparently the compiler in version 10 is checking better.

Looks there are more issues with the source control. With the IDE/tools/ managed libraries installed version the cpp is wrong, but the .cpp and .h are also duplicated in the Example1. Not sure where this is sourced from.

Looks it is better to download the zip from https://github.com/sparkfun/SparkFun_I2 … no_Library.

Remove the earlier installed library and install the zipped version IDE/ sketch/include library/Add .ZIP library. That compiles without any issue as it does not have the error on line 141 in the CPP, while both are 1.0.1. versions.

Good analysis. I wonder when we can get this fixed in the library that is distributed for Arduino IDE, I’d really like to be able to start using my GPS :slight_smile:

Alright, its finally fixed: https://github.com/sparkfun/SparkFun_I2 … -567662106