Skip to content

Convert to SDK RP2350A/B determination #2898

New issue

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

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

Already on GitHub? # to your account

Merged
merged 5 commits into from
Apr 8, 2025
Merged

Convert to SDK RP2350A/B determination #2898

merged 5 commits into from
Apr 8, 2025

Conversation

earlephilhower
Copy link
Owner

Fixes #2878

The SDK uses defined(PICO_RP2350) && !PICO_RP2350A to indicate an RP2350B chip, not the define PICO_RP2350B.

Match the SDK's usage by converting from defined(PICO_RP2350B) to defined(PICO_RP2350) && !PICO_RP2350A and update the chip variants accordingly.

Fixes #2878

The SDK uses `defined(PICO_RP2350) && !PICO_RP2350A` to indicate an RP2350B
chip, not the define PICO_RP2350B.

Match the SDK's usage by converting from `defined(PICO_RP2350B)` to
`defined(PICO_RP2350) && !PICO_RP2350A` and update the chip variants
accordingly.
@earlephilhower earlephilhower marked this pull request as draft April 8, 2025 21:33
The *SDK*'s board definition file hardcodes a PIOC_RP2350A value for
all boards, but we use the same board file for both A and B variants.
Override the SDK board definition in the variant definition file.
Also ensure SDK board definition included before pins_arduino.h for
clearing up redefinition errors.
@earlephilhower earlephilhower marked this pull request as ready for review April 8, 2025 22:39
@earlephilhower earlephilhower merged commit e05dd50 into master Apr 8, 2025
26 checks passed
@earlephilhower earlephilhower deleted the paco branch April 8, 2025 23:02
earlephilhower added a commit that referenced this pull request Apr 16, 2025
earlephilhower added a commit that referenced this pull request Apr 16, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent of PICO_RP2350B
1 participant