Skip to content

Commit cecddae

Browse files
esdenwhitequark
authored andcommitted
icebitsy: The edge pin numbering starts at 0
1 parent 01c5066 commit cecddae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

amaranth_boards/icebreaker_bitsy.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ class ICEBreakerBitsyPlatform(LatticeICE40Platform):
3535
]
3636
connectors = [
3737
Connector("edge", 0, # Pins bottom P0 - P12,
38-
"47 44 48 45 4 3 9 10 11 12 21 13"
39-
"20 25 23 27 26 28 31 32 34 36 43 46"
40-
)
38+
{"0":"47", "1":"44", "2":"48", "3":"45", "4": "4", "5": "3",
39+
"6": "9", "7":"10", "8":"11", "9":"12", "10":"21", "11":"13",
40+
"12":"20", "13":"25", "14":"23", "15":"27", "16":"26", "17":"28",
41+
"18":"31", "19":"32", "20":"34", "21":"36", "22":"43", "23":"46"}
42+
),
4143
]
4244

4345
def toolchain_program(self, products, name, run_vid=None, run_pid=None, dfu_vid="1d50", dfu_pid="6146", reset=True):

0 commit comments

Comments
 (0)