]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Merge pull request #409 from b0hne/nanopi-duo2 6.1.0
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Fri, 5 Feb 2021 21:14:48 +0000 (13:14 -0800)
committerGitHub <noreply@github.com>
Fri, 5 Feb 2021 21:14:48 +0000 (13:14 -0800)
adds pin PG11 i2c, spi, serialUART support for nanoPi Duo2

src/adafruit_blinka/microcontroller/bcm283x/pin.py

index e95364c6febcbf94a01da1657ad114e2f710bcbb..5022366a7d4dd1b299b5b17301d5b73beb0d2178 100644 (file)
@@ -147,8 +147,10 @@ spiPorts = (
 # ordered as uartId, txId, rxId
 uartPorts = ((1, TXD, RXD),)
 
+# These are the known hardware I2C ports / pins.
+# For software I2C ports created with the i2c-gpio overlay, see:
+#     https://github.com/adafruit/Adafruit_Python_Extended_Bus
 i2cPorts = (
-    (3, SCL, SDA),
     (1, SCL, SDA),
     (0, D1, D0),  # both pi 1 and pi 2 i2c ports!
 )