adafruit / arduino-board-index

Adafruit Package Lists for the Arduino v1.6.4+ Board Manager
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
39 stars 30 forks source link

[v1.4.0] Adafruit Feather nRF52840 Express: Cannot link to `Serial` #105

Closed zfields closed 8 months ago

zfields commented 1 year ago
  1. Attempt to compile the follow code for the Adafruit Feather nRF52840 Express.
void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  while (!Serial);
}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println("Hello, World!");
  delay(5000);
}

I have also tried downgrading to v1.3.0, but that did NOT make a difference.

hathach commented 8 months ago

just add #include "Adafruit_TinyUSB.h" would solve this. Btw, this issue should be reported in the Adafruit_nRF52_Arduino repo instead