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

Not defining USBCON broke since 1.8.14 #723

Open
MSmeets94 opened this issue Oct 30, 2024 · 0 comments
Open

Not defining USBCON broke since 1.8.14 #723

MSmeets94 opened this issue Oct 30, 2024 · 0 comments

Comments

@MSmeets94
Copy link

We have a PlatformIO project which has a custom board without USB. For this we don't have USBCON defined which worked fine in v1.8.13

Since PR #713 this broke because USBAPI.h now uses LineInfo which is not defined.

The definition for LineInfo is in CDC.h , surrounded by an ifdef CDC_ENABLED (which is false, since USBCON is not defined), however since CDC.cpp does always include USBAPI.h this problem arises;

I originally created this issue in platformio/platform-atmelsam#234 , but this indeed not an issue in PlatformIO but ArduinoCore

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

No branches or pull requests

1 participant