Files
micropython/ports/rp2/boards/rp2350b_af.csv
Phil Howard 40df95357c
Some checks failed
JavaScript code lint and formatting with Biome / eslint (push) Has been cancelled
Check code formatting / code-formatting (push) Has been cancelled
Check spelling with codespell / codespell (push) Has been cancelled
Build docs / build (push) Has been cancelled
Check examples / embedding (push) Has been cancelled
Package mpremote / build (push) Has been cancelled
.mpy file format and tools / test (push) Has been cancelled
Build ports metadata / build (push) Has been cancelled
alif port / build_alif (alif_ae3_build) (push) Has been cancelled
cc3200 port / build (push) Has been cancelled
esp32 port / build_idf (esp32_build_c2_c5_c6) (push) Has been cancelled
esp32 port / build_idf (esp32_build_cmod_spiram_s2) (push) Has been cancelled
esp32 port / build_idf (esp32_build_s3_c3) (push) Has been cancelled
esp8266 port / build (push) Has been cancelled
mimxrt port / build (push) Has been cancelled
nrf port / build (push) Has been cancelled
powerpc port / build (push) Has been cancelled
qemu port / build_and_test_arm (bigendian) (push) Has been cancelled
qemu port / build_and_test_arm (sabrelite) (push) Has been cancelled
qemu port / build_and_test_arm (thumb_hardfp) (push) Has been cancelled
qemu port / build_and_test_arm (thumb_softfp) (push) Has been cancelled
qemu port / build_and_test_rv32 (push) Has been cancelled
qemu port / build_and_test_rv64 (push) Has been cancelled
renesas-ra port / build_renesas_ra_board (push) Has been cancelled
rp2 port / build (push) Has been cancelled
samd port / build (push) Has been cancelled
stm32 port / build_stm32 (stm32_misc_build) (push) Has been cancelled
stm32 port / build_stm32 (stm32_nucleo_build) (push) Has been cancelled
stm32 port / build_stm32 (stm32_pyb_build) (push) Has been cancelled
unix port / minimal (push) Has been cancelled
unix port / reproducible (push) Has been cancelled
unix port / standard (push) Has been cancelled
unix port / standard_v2 (push) Has been cancelled
unix port / coverage (push) Has been cancelled
unix port / coverage_32bit (push) Has been cancelled
unix port / nanbox (push) Has been cancelled
unix port / longlong (push) Has been cancelled
unix port / float (push) Has been cancelled
unix port / gil_enabled (push) Has been cancelled
unix port / stackless_clang (push) Has been cancelled
unix port / float_clang (push) Has been cancelled
unix port / settrace_stackless (push) Has been cancelled
unix port / repr_b (push) Has been cancelled
unix port / macos (push) Has been cancelled
unix port / qemu_mips (push) Has been cancelled
unix port / qemu_arm (push) Has been cancelled
unix port / qemu_riscv64 (push) Has been cancelled
unix port / sanitize_address (push) Has been cancelled
unix port / sanitize_undefined (push) Has been cancelled
webassembly port / build (push) Has been cancelled
windows port / build-vs (Debug, true, x64, dev, 2017, [15, 16)) (push) Has been cancelled
windows port / build-vs (Debug, true, x86, dev, 2017, [15, 16)) (push) Has been cancelled
windows port / build-vs (Debug, x64, dev, 2022, [17, 18)) (push) Has been cancelled
windows port / build-vs (Debug, x86, dev, 2022, [17, 18)) (push) Has been cancelled
windows port / build-vs (Release, true, x64, dev, 2017, [15, 16)) (push) Has been cancelled
windows port / build-vs (Release, true, x64, dev, 2019, [16, 17)) (push) Has been cancelled
windows port / build-vs (Release, true, x64, standard, 2017, [15, 16)) (push) Has been cancelled
windows port / build-vs (Release, true, x64, standard, 2019, [16, 17)) (push) Has been cancelled
windows port / build-vs (Release, true, x86, dev, 2017, [15, 16)) (push) Has been cancelled
windows port / build-vs (Release, true, x86, dev, 2019, [16, 17)) (push) Has been cancelled
windows port / build-vs (Release, true, x86, standard, 2017, [15, 16)) (push) Has been cancelled
windows port / build-vs (Release, true, x86, standard, 2019, [16, 17)) (push) Has been cancelled
windows port / build-vs (Release, x64, dev, 2022, [17, 18)) (push) Has been cancelled
windows port / build-vs (Release, x64, standard, 2022, [17, 18)) (push) Has been cancelled
windows port / build-vs (Release, x86, dev, 2022, [17, 18)) (push) Has been cancelled
windows port / build-vs (Release, x86, standard, 2022, [17, 18)) (push) Has been cancelled
windows port / build-mingw (i686, mingw32, dev) (push) Has been cancelled
windows port / build-mingw (i686, mingw32, standard) (push) Has been cancelled
windows port / build-mingw (x86_64, mingw64, dev) (push) Has been cancelled
windows port / build-mingw (x86_64, mingw64, standard) (push) Has been cancelled
windows port / cross-build-on-linux (push) Has been cancelled
zephyr port / build (push) Has been cancelled
Python code lint and formatting with ruff / ruff (push) Has been cancelled
rp2: Fix RP2350 and RP2350B pin alt functions.
RP2350 builds were using the incomplete `rp2_af.csv` alt function table
(originally made for RP2040) which broke pins > 31 in RP2350B (48-pin
QFN-80) builds:

    >>> machine.Pin(31)
    Pin(GPIO31, mode=IN, pull=PULL_DOWN)

    >>> machine.Pin(32)
    Pin(GPIO32, mode=ALT, pull=PULL_DOWN, alt=31)

To fix this, separate alt-functions tables for RP2350 and RP2350B are added
in this commit.

UART_AUX (alt function 11) was also missing, along with XIP_CS1 and
CORESIGHT_TRACE, and they are  now added as well.

Signed-off-by: Phil Howard <github@gadgetoid.com>
Signed-off-by: Damien George <damien@micropython.org>
2025-11-21 14:27:34 +11:00

3.9 KiB

1PinAF1AF2AF3AF4AF5AF6AF7AF8AF9AF10AF11
2GPIO0SPI0_RXUART0_TXI2C0_SDAPWM0_ASIOPIO0PIO1PIO2QMI_CS1USB_OVCUR_DET
3GPIO1SPI0_CSUART0_RXI2C0_SCLPWM0_BSIOPIO0PIO1PIO2TRACECLKUSB_VBUS_DET
4GPIO2SPI0_SCKUART0_CTSI2C1_SDAPWM1_ASIOPIO0PIO1PIO2TRACEDATA0USB_VBUS_ENUART0_TX
5GPIO3SPI0_TXUART0_RTSI2C1_SCLPWM1_BSIOPIO0PIO1PIO2TRACEDATA1USB_OVCUR_DETUART0_RX
6GPIO4SPI0_RXUART1_TXI2C0_SDAPWM2_ASIOPIO0PIO1PIO2TRACEDATA2USB_VBUS_DET
7GPIO5SPI0_CSUART1_RXI2C0_SCLPWM2_BSIOPIO0PIO1PIO2TRACEDATA3USB_VBUS_EN
8GPIO6SPI0_SCKUART1_CTSI2C1_SDAPWM3_ASIOPIO0PIO1PIO2USB_OVCUR_DETUART1_TX
9GPIO7SPI0_TXUART1_RTSI2C1_SCLPWM3_BSIOPIO0PIO1PIO2USB_VBUS_DETUART1_RX
10GPIO8SPI1_RXUART1_TXI2C0_SDAPWM4_ASIOPIO0PIO1PIO2QM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1PIO2GPCK_GPOUT1USB_VBUS_ENUART1_RX
26GPIO24SPI1_RXUART1_TXI2C0_SDAPWM4_ASIOPIO0PIO1PIO2GPCK_GPOUT2USB_OVCUR_DET
27GPIO25SPI1_CSUART1_RXI2C0_SCLPWM4_BSIOPIO0PIO1PIO2GPCK_GPOUT3USB_VBUS_DET
28GPIO26SPI1_SCKUART1_CTSI2C1_SDAPWM5_ASIOPIO0PIO1PIO2USB_VBUS_ENUART1_TX
29GPIO27SPI1_TXUART1_RTSI2C1_SCLPWM5_BSIOPIO0PIO1PIO2USB_OVCUR_DETUART1_RX
30GPIO28SPI1_RXUART0_TXI2C0_SDAPWM6_ASIOPIO0PIO1PIO2USB_VBUS_DET
31GPIO29SPI1_CSUART0_RXI2C0_SCLPWM6_BSIOPIO0PIO1PIO2USB_VBUS_EN
32GPIO30SPI1_SCKUART0_CTSI2C1_SDAPWM7_ASIOPIO0PIO1PIO2USB_OVCUR_DETUART0_TX
33GPIO31SPI1_TXUART0_RTSI2C1_SCLPWM7_BSIOPIO0PIO1PIO2USB_VBUS_DETUART0_RX
34GPIO32SPI0_RXUART0_TXI2C0_SDAPWM8_ASIOPIO0PIO1PIO2USB_VBUS_EN
35GPIO33SPI0_CSUART0_RXI2C0_SCLPWM8_BSIOPIO0PIO1PIO2USB_OVCUR_DET
36GPIO34SPI0_SCKUART0_CTSI2C1_SDAPWM9_ASIOPIO0PIO1PIO2USB_VBUS_DETUART0_TX
37GPIO35SPI0_TXUART0_RTSI2C1_SCLPWM9_BSIOPIO0PIO1PIO2USB_VBUS_ENUART0_RX
38GPIO36SPI0_RXUART1_TXI2C0_SDAPWM10_ASIOPIO0PIO1PIO2USB_OVCUR_DET
39GPIO37SPI0_CSUART1_RXI2C0_SCLPWM10_BSIOPIO0PIO1PIO2USB_VBUS_DET
40GPIO38SPI0_SCKUART1_CTSI2C1_SCLPWM11_ASIOPIO0PIO1PIO2USB_VBUS_ENUART1_TX
41GPIO39SPI0_TXUART1_RTSI2C1_SCLPWM11_BSIOPIO0PIO1PIO2USB_OVCUR_DETUART1_RX
42GPIO40SPI1_RXUART1_TXI2C0_SDAPWM8_ASIOPIO0PIO1PIO2USB_VBUS_DET
43GPIO41SPI1_CSUART1_RXI2C0_SCLPWM8_BSIOPIO0PIO1PIO2USB_VBUS_EN
44GPIO42SPI1_SCKUART1_CTSI2C1_SDAPWM9_ASIOPIO0PIO1PIO2USB_OVCUR_DETUART1_TX
45GPIO43SPI1_TXUART1_RTSI2C1_SCLPWM9_BSIOPIO0PIO1PIO2USB_VBUS_DETUART1_RX
46GPIO44SPI1_RXUART0_TXI2C0_SDAPWM10_ASIOPIO0PIO1PIO2USB_VBUS_EN
47GPIO45SPI1_CSUART0_RXI2C0_SCLPWM10_BSIOPIO0PIO1PIO2USB_OVCUR_DET
48GPIO46SPI1_SCKUART0_CTSI2C1_SDAPWM11_ASIOPIO0PIO1PIO2USB_VBUS_DETUART0_TX
49GPIO47SPI1_TXUART0_RTSI2C1_SCLPWM11_BSIOPIO0PIO1PIO2QMI_CS1USB_VBUS_ENUART0_RX