You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
All code examples fail to compile when using an Adafruit M0 based microcontroller.
Your workbench
What development board or microcontroller are you using?
Adafruit Adalogger M0
Steps to reproduce
Compile code with Adafruit Feather M0 board definition selected.
Expected behavior
Code compiles as normal.
Actual behavior
/Arduino/libraries/SparkFun_Ublox_Arduino_Library/src/SparkFun_Ublox_Arduino_Library.h:81:16: error: 'SerialUSB' was not declared in this scope
#define Serial SerialUSB
Solution
Remove lines 79-82 introduced in v1.8.0.
// Define Serial for SparkFun SAMD based boards.
#if defined(ARDUINO_ARCH_SAMD)
#define Serial SerialUSB
#endif