Skip to content

Fix uses of PICO_RP2040 and PICO_RP2350#11014

Open
dhalbert wants to merge 2 commits into
adafruit:mainfrom
dhalbert:fix-defines
Open

Fix uses of PICO_RP2040 and PICO_RP2350#11014
dhalbert wants to merge 2 commits into
adafruit:mainfrom
dhalbert:fix-defines

Conversation

@dhalbert
Copy link
Copy Markdown
Collaborator

Code taken from https://github.com/eightycc/circuitpython/tree/fix-defines.

  • Define PICO_RP2040 and PICO_RP2350 properly for all builds, as 0 or 1.
  • Use #if instead of the incorrect #ifdef for these cpp macros.
  • Use a fork of Pico-PIO-USB that also corrects the use of the macro.

@dhalbert dhalbert changed the title Fix defines Fix uses of PICO_RP2040 and PICO_RP2350 May 19, 2026
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.

CP build fails when including Pico SDK XIP cache maintenance header

1 participant