mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
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
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>
3.9 KiB
3.9 KiB
| 1 | Pin | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 | AF8 | AF9 | AF10 | AF11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | GPIO0 | SPI0_RX | UART0_TX | I2C0_SDA | PWM0_A | SIO | PIO0 | PIO1 | PIO2 | QMI_CS1 | USB_OVCUR_DET | |
| 3 | GPIO1 | SPI0_CS | UART0_RX | I2C0_SCL | PWM0_B | SIO | PIO0 | PIO1 | PIO2 | TRACECLK | USB_VBUS_DET | |
| 4 | GPIO2 | SPI0_SCK | UART0_CTS | I2C1_SDA | PWM1_A | SIO | PIO0 | PIO1 | PIO2 | TRACEDATA0 | USB_VBUS_EN | UART0_TX |
| 5 | GPIO3 | SPI0_TX | UART0_RTS | I2C1_SCL | PWM1_B | SIO | PIO0 | PIO1 | PIO2 | TRACEDATA1 | USB_OVCUR_DET | UART0_RX |
| 6 | GPIO4 | SPI0_RX | UART1_TX | I2C0_SDA | PWM2_A | SIO | PIO0 | PIO1 | PIO2 | TRACEDATA2 | USB_VBUS_DET | |
| 7 | GPIO5 | SPI0_CS | UART1_RX | I2C0_SCL | PWM2_B | SIO | PIO0 | PIO1 | PIO2 | TRACEDATA3 | USB_VBUS_EN | |
| 8 | GPIO6 | SPI0_SCK | UART1_CTS | I2C1_SDA | PWM3_A | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | UART1_TX | |
| 9 | GPIO7 | SPI0_TX | UART1_RTS | I2C1_SCL | PWM3_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | UART1_RX | |
| 10 | GPIO8 | SPI1_RX | UART1_TX | I2C0_SDA | PWM4_A | SIO | PIO0 | PIO1 | PIO2 | QMI_CS1 | USB_VBUS_EN | |
| 11 | GPIO9 | SPI1_CS | UART1_RX | I2C0_SCL | PWM4_B | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | ||
| 12 | GPIO10 | SPI1_SCK | UART1_CTS | I2C1_SDA | PWM5_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | UART1_TX | |
| 13 | GPIO11 | SPI1_TX | UART1_RTS | I2C1_SCL | PWM5_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | UART1_RX | |
| 14 | GPIO12 | SPI1_RX | UART0_TX | I2C0_SDA | PWM6_A | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPIN0 | USB_OVCUR_DET | |
| 15 | GPIO13 | SPI1_CS | UART0_RX | I2C0_SCL | PWM6_B | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPOUT0 | USB_VBUS_DET | |
| 16 | GPIO14 | SPI1_SCK | UART0_CTS | I2C1_SDA | PWM7_A | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPIN1 | USB_VBUS_EN | UART0_TX |
| 17 | GPIO15 | SPI1_TX | UART0_RTS | I2C1_SCL | PWM7_B | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPOUT1 | USB_OVCUR_DET | UART0_RX |
| 18 | GPIO16 | SPI0_RX | UART0_TX | I2C0_SDA | PWM0_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | ||
| 19 | GPIO17 | SPI0_CS | UART0_RX | I2C0_SCL | PWM0_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | ||
| 20 | GPIO18 | SPI0_SCK | UART0_CTS | I2C1_SDA | PWM1_A | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | UART0_TX | |
| 21 | GPIO19 | SPI0_TX | UART0_RTS | I2C1_SCL | PWM1_B | SIO | PIO0 | PIO1 | PIO2 | QMI_CS1 | USB_VBUS_DET | UART0_RX |
| 22 | GPIO20 | SPI0_RX | UART1_TX | I2C0_SDA | PWM2_A | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPIN0 | USB_VBUS_EN | |
| 23 | GPIO21 | SPI0_CS | UART1_RX | I2C0_SCL | PWM2_B | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPOUT0 | USB_OVCUR_DET | |
| 24 | GPIO22 | SPI0_SCK | UART1_CTS | I2C1_SDA | PWM3_A | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPIN1 | USB_VBUS_DET | UART1_TX |
| 25 | GPIO23 | SPI0_TX | UART1_RTS | I2C1_SCL | PWM3_B | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPOUT1 | USB_VBUS_EN | UART1_RX |
| 26 | GPIO24 | SPI1_RX | UART1_TX | I2C0_SDA | PWM4_A | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPOUT2 | USB_OVCUR_DET | |
| 27 | GPIO25 | SPI1_CS | UART1_RX | I2C0_SCL | PWM4_B | SIO | PIO0 | PIO1 | PIO2 | GPCK_GPOUT3 | USB_VBUS_DET | |
| 28 | GPIO26 | SPI1_SCK | UART1_CTS | I2C1_SDA | PWM5_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | UART1_TX | |
| 29 | GPIO27 | SPI1_TX | UART1_RTS | I2C1_SCL | PWM5_B | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | UART1_RX | |
| 30 | GPIO28 | SPI1_RX | UART0_TX | I2C0_SDA | PWM6_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | ||
| 31 | GPIO29 | SPI1_CS | UART0_RX | I2C0_SCL | PWM6_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | ||
| 32 | GPIO30 | SPI1_SCK | UART0_CTS | I2C1_SDA | PWM7_A | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | UART0_TX | |
| 33 | GPIO31 | SPI1_TX | UART0_RTS | I2C1_SCL | PWM7_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | UART0_RX | |
| 34 | GPIO32 | SPI0_RX | UART0_TX | I2C0_SDA | PWM8_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | ||
| 35 | GPIO33 | SPI0_CS | UART0_RX | I2C0_SCL | PWM8_B | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | ||
| 36 | GPIO34 | SPI0_SCK | UART0_CTS | I2C1_SDA | PWM9_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | UART0_TX | |
| 37 | GPIO35 | SPI0_TX | UART0_RTS | I2C1_SCL | PWM9_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | UART0_RX | |
| 38 | GPIO36 | SPI0_RX | UART1_TX | I2C0_SDA | PWM10_A | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | ||
| 39 | GPIO37 | SPI0_CS | UART1_RX | I2C0_SCL | PWM10_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | ||
| 40 | GPIO38 | SPI0_SCK | UART1_CTS | I2C1_SCL | PWM11_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | UART1_TX | |
| 41 | GPIO39 | SPI0_TX | UART1_RTS | I2C1_SCL | PWM11_B | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | UART1_RX | |
| 42 | GPIO40 | SPI1_RX | UART1_TX | I2C0_SDA | PWM8_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | ||
| 43 | GPIO41 | SPI1_CS | UART1_RX | I2C0_SCL | PWM8_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | ||
| 44 | GPIO42 | SPI1_SCK | UART1_CTS | I2C1_SDA | PWM9_A | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | UART1_TX | |
| 45 | GPIO43 | SPI1_TX | UART1_RTS | I2C1_SCL | PWM9_B | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | UART1_RX | |
| 46 | GPIO44 | SPI1_RX | UART0_TX | I2C0_SDA | PWM10_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_EN | ||
| 47 | GPIO45 | SPI1_CS | UART0_RX | I2C0_SCL | PWM10_B | SIO | PIO0 | PIO1 | PIO2 | USB_OVCUR_DET | ||
| 48 | GPIO46 | SPI1_SCK | UART0_CTS | I2C1_SDA | PWM11_A | SIO | PIO0 | PIO1 | PIO2 | USB_VBUS_DET | UART0_TX | |
| 49 | GPIO47 | SPI1_TX | UART0_RTS | I2C1_SCL | PWM11_B | SIO | PIO0 | PIO1 | PIO2 | QMI_CS1 | USB_VBUS_EN | UART0_RX |