diff options
| author | Piotr Esden-Tempski <piotr@esden.net> | 2021-12-14 22:29:35 -0800 |
|---|---|---|
| committer | Catherine <whitequark@whitequark.org> | 2021-12-15 07:28:35 +0000 |
| commit | cecddaee1e65cc0295f1d5f3467e0b4166a6a2c3 (patch) | |
| tree | 14e29c4aacb45ec2cd3fbc12b69ec33e443a442d | |
| parent | 01c506637e75d653f6eb0fc58e54142fd507c3d9 (diff) | |
icebitsy: The edge pin numbering starts at 0
| -rw-r--r-- | amaranth_boards/icebreaker_bitsy.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/amaranth_boards/icebreaker_bitsy.py b/amaranth_boards/icebreaker_bitsy.py index 16c3a1c..2f897cd 100644 --- a/amaranth_boards/icebreaker_bitsy.py +++ b/amaranth_boards/icebreaker_bitsy.py @@ -35,9 +35,11 @@ class ICEBreakerBitsyPlatform(LatticeICE40Platform): ] connectors = [ Connector("edge", 0, # Pins bottom P0 - P12, - "47 44 48 45 4 3 9 10 11 12 21 13" - "20 25 23 27 26 28 31 32 34 36 43 46" - ) + {"0":"47", "1":"44", "2":"48", "3":"45", "4": "4", "5": "3", + "6": "9", "7":"10", "8":"11", "9":"12", "10":"21", "11":"13", + "12":"20", "13":"25", "14":"23", "15":"27", "16":"26", "17":"28", + "18":"31", "19":"32", "20":"34", "21":"36", "22":"43", "23":"46"} + ), ] def toolchain_program(self, products, name, run_vid=None, run_pid=None, dfu_vid="1d50", dfu_pid="6146", reset=True): |
