]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Merge pull request #760 from shawnferry/rp2040_uart
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Tue, 19 Dec 2023 16:18:04 +0000 (08:18 -0800)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2023 16:18:04 +0000 (08:18 -0800)
Add missing UART definitions from RP2040 datasheet (a6fe703-clean)

src/adafruit_blinka/microcontroller/rp2040/pin.py

index 68fe5d10a40ca975c9f9f6e86c757a65221e24ce..c3b7828ea34a612d5ab4750481be63eddee90f09 100755 (executable)
@@ -88,12 +88,36 @@ spiPorts = (
 uartPorts = (
     (0, GP0, GP1),
     (0, GP0, GP13),
+    (0, GP0, GP17),
+    (0, GP0, GP29),
     (0, GP12, GP1),
     (0, GP12, GP13),
+    (0, GP12, GP17),
+    (0, GP12, GP29),
+    (0, GP16, GP1),
+    (0, GP16, GP13),
+    (0, GP16, GP17),
+    (0, GP16, GP29),
+    (0, GP28, GP1),
+    (0, GP28, GP13),
+    (0, GP28, GP17),
+    (0, GP28, GP29),
     (1, GP4, GP5),
     (1, GP4, GP9),
+    (1, GP4, GP21),
+    (1, GP4, GP25),
     (1, GP8, GP5),
     (1, GP8, GP9),
+    (1, GP8, GP21),
+    (1, GP8, GP25),
+    (1, GP20, GP5),
+    (1, GP20, GP9),
+    (1, GP20, GP21),
+    (1, GP20, GP25),
+    (1, GP24, GP5),
+    (1, GP24, GP9),
+    (1, GP24, GP21),
+    (1, GP24, GP25),
 )
 
 # ordered as scl, sda