adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
453 stars 340 forks source link

RP2040 fails on valid UART pin combinations #759

Closed shawnferry closed 9 months ago

shawnferry commented 9 months ago

Board Name

rp2040 on custom PCB

Steps

Define UART on valid pins

image

busio.UART(board.GP16, board.GP17)
E   ValueError: No Hardware UART on (tx,rx)=(16, 17)
E   Valid UART ports: ((0, board.GP0, board.GP1), (0, board.GP0, board.GP13), (0, board.GP12, board.GP1), (0, board.GP12, board.GP13), (1, board.GP4, board.GP5), (1, board.GP4, board.GP9), (1, board.GP8, board.GP5), (1, board.GP8, board.GP9))

Description

No response

Additional information

Pull request incoming

makermelissa commented 9 months ago

It sounds like you are running it as one of the U2IF boards. What board definition are you using?

makermelissa commented 9 months ago

Never mind, looks like you already figured out the issue and submitted #760.