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
Is your feature request related to a problem? Please describe.
the following code causes undefined reference to 'Adafruit_USBD_CDC::available()' when targeting the nRF52840 boards.
I understand that the header "Adafruit_TinyUSB.h" needs to be included, but I don't want to include it for power saving.
I think it is better to add the #if defined(USE_TINYUSB) && defined(NRF52840) for the Serial, if you make an PR. I will be happy to review/merge.
Update: USE_TINYUSB seems to always defined for nrf52840, i will check this out later. If you could, please make an PR for your suggestion that will make it quicker to adopt the changes.
Is your feature request related to a problem? Please describe.
the following code causes
undefined reference to 'Adafruit_USBD_CDC::available()'
when targeting the nRF52840 boards.I understand that the header "Adafruit_TinyUSB.h" needs to be included, but I don't want to include it for power saving.
This is because serialEventRun refers to Serial.
Adafruit_nRF52_Arduino/cores/nRF5/Uart.cpp
Line 27 in d75bb2a
How about changing the call to Serial.available to a call to the weak symbol?
The text was updated successfully, but these errors were encountered: