Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call out Arduino namespace in Adafruit_USBH_CDC #489

Closed
wants to merge 1 commit into from

Conversation

earlephilhower
Copy link
Contributor

The HardwareSerial Arduino base class does not always get exposed with a using namespace arduino statement, and with the latest Arduino API 1.5.1 this causes Arduino-Pico to fail building the CDC serial port examples.

earlephilhower/arduino-pico#2797

This change is compatible with all other Arduino API levels for the last 6 years since the encapsulation was done then:
arduino/ArduinoCore-API@fc0c12d

@earlephilhower
Copy link
Contributor Author

Ooops...looks like some of the NRF and CPB Arduino cores are older than the 6-year mark. Will update...

@earlephilhower
Copy link
Contributor Author

Let me close this as there seems to be some really old API revs out there. Will work on the API branch itself. Sorry for the churn!

@earlephilhower earlephilhower deleted the patch-1 branch February 9, 2025 02:57
@hathach
Copy link
Member

hathach commented Feb 10, 2025

yeah, there is other core using TinyUSB which isn't upgraded to latest API. If it is essential/required, I will try to revise other cores.

@earlephilhower
Copy link
Contributor Author

No, thanks anyway. I just added the using to my fork of the ArduinoAPI and everything is working fine now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants