humpback: fixed syntax

This commit is contained in:
occheung 2020-08-07 16:12:28 +08:00
parent 30d8005ca6
commit cd8c2e980d
1 changed files with 4 additions and 3 deletions

View File

@ -84,8 +84,9 @@ class HumpbackPlatform(LatticeICE40Platform):
"d7_n" : "F3", "d7_n" : "F3",
"d7_p" : "G3", "d7_p" : "G3",
}), }),
# EEM1 Connection Interface # EEM1 Connection Interface
Connector("eem", 1, Connector("eem", 1, {
"d0_cc_n": "L3", "d0_cc_n": "L3",
"d0_cc_p": "L6", "d0_cc_p": "L6",
"d1_n": "F1", "d1_n": "F1",
@ -105,7 +106,7 @@ class HumpbackPlatform(LatticeICE40Platform):
}), }),
# EEM2 Connection Interface # EEM2 Connection Interface
Connector("eem", 2, Connector("eem", 2, {
"d0_cc_n": "G1", "d0_cc_n": "G1",
"d0_cc_p": "J5", "d0_cc_p": "J5",
"d1_n": "M2", "d1_n": "M2",
@ -125,7 +126,7 @@ class HumpbackPlatform(LatticeICE40Platform):
}), }),
# STM32 Connection Pins # STM32 Connection Pins
Connector("stm32", "GPIO", { Connector("stm32", "pin", {
"PA0": "A2", "PA0": "A2",
"PA1": "P14", "PA1": "P14",
"PA2": "B8", "PA2": "B8",