bug in m_class spec, flexbus pins being overwritten
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 30 Mar 2018 06:21:34 +0000 (07:21 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 30 Mar 2018 06:21:34 +0000 (07:21 +0100)
src/spec/m_class.py

index af49c0e49552b0b7018275bda6f39882a1856847..09350af0fc50543517217fbd30c6121e8842a012 100644 (file)
@@ -86,7 +86,7 @@ def pinspec():
     #pinmerge(pinouts, mcu8080("", 72, "D", 1))
     pinmerge(pinouts, gpio(bankspec, "", ('D', 0), "D", 0, 24, 0))
     pinmerge(pinouts, flexbus1(bankspec, "", ('D', 0), "D", 1, spec=flexspec))
-    pinmerge(pinouts, i2c(bankspec, "2", ('D', 17), "D", 2))
+    pinmerge(pinouts, i2c(bankspec, "2", ('D', 8), "D", 3))
     pinmerge(pinouts, pwm(bankspec, "", ('D', 21), "D", 0, 3, mux=1))
     pinmerge(pinouts, i2c(bankspec, "1", ('D', 10), "D", 3))
     pinmerge(pinouts, i2c(bankspec, "3", ('D', 19), "D", 2))