]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/esp8266/__init__.py
Microcontroller packages now under adafruit_blinka
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / esp8266 / __init__.py
diff --git a/src/adafruit_blinka/microcontroller/esp8266/__init__.py b/src/adafruit_blinka/microcontroller/esp8266/__init__.py
new file mode 100644 (file)
index 0000000..d3dce53
--- /dev/null
@@ -0,0 +1,11 @@
+# ordered as spiId, sckId, mosiId, misoId
+spiPorts = (
+    (1, 14, 13, 12)
+)
+
+# ordered as uartId, txId, rxId
+uartPorts = (
+    (0, 1, 3),
+    # (0, 15, 13) # TODO secondary pins for UART0 configurable from Micropython?
+    (1, 2, None)
+)
\ No newline at end of file