Closed
Description
The Pico SDK has headers common to the RP2040 and RP2350 as well as headers specific to these processors. In some cases, CP RP2 port code includes RP2040-specific headers unconditionally. For example, common_hal/rp2pio/StateMachine.c
included src/rp2040/hardware_regs/include/hardware/platform_defs.h
causing it to miss the third PIO available on the RP2350.
RP2 port code needs to be examined for other instances of this problem.