Error compiling for RedBoard Turbo

Using the Arduino IDE (version 1.8.13 for the Mac, though that doesn’t seem to matter), if I select the SparkFun RedBoard Turbo and try to compile example sketches from the “Adafruit_EPD” library (“text_test.ino” for example), the compiler chokes. This message, pruned from the compiler log, looks relevant:

…/Documents/Arduino/libraries/Adafruit_EPD/src/Adafruit_EPD.cpp:533: undefined reference to `Serial’

Another possible clue is that the same sketch compiles ok if any of these other SparkFun SAMD boards are selected:

SparkFun Qwiic Micro

SparkFun SAMD51 Thing Plus

SparkFun SAMD21 Pro RF 1W

SparkFun SAMD21 Pro RF

SparkFun 9DoF Razor IMU M0

SparkFun SAMD21 Mini Breakout

SparkFun SAMD21 Dev Breakout

I don’t know if this problem is with the Adafruit_EPD library, the SparkFun RedBoard Turbo definitions or a combination thereof. Could you look into this and, if necessary and/or possible, coordinate with your colleagues at Adafruit?

known issue : viewtopic.php?f=143&t=54764&p=222136&hi … al#p222136

The root cause is that the variant.h file for the turbo is missing the lines :

// Alias Serial to SerialUSB
#define Serial                      SerialUSB