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

RP2040 build fixes #1887

Merged
merged 1 commit into from Feb 6, 2023
Merged

RP2040 build fixes #1887

merged 1 commit into from Feb 6, 2023

Conversation

kilograham
Copy link
Collaborator

  • don't force dependency on pico-pio-usb submodule
  • suppress compiler warning/errors especially in pico-pio-usb
  • disable use of pico-pio-usb on gcc 11.3+ for now as it doesn't compile

* suppress compiler warning/errors especially in pico-pio-usb
* disable use of pico-pio-usb on gcc 11.3+ for now as it doesn't compile
target_link_libraries(${TARGET} PUBLIC tinyusb_pico_pio_usb)
# For rp2040 enable pico-pio-usb
if (TARGET tinyusb_pico_pio_usb)
# code does not compile with GCC 12+
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment doesn't match the line below.
Does it fail with gcc 12+ (as the comment suggests) or with 11.3+ as the line below and your explanations in this PR suggest it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, it fails with 11.3 too (I updated the line but not the comment)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I plan to push a fix to pico-pio-usb anyway

@kilograham kilograham merged commit c0d7945 into master Feb 6, 2023
@kilograham kilograham deleted the rp2040-build-fixes branch February 6, 2023 22:06
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.

None yet

3 participants