Skip to content

Commit

Permalink
timvideos#613 Pretend icebreaker is icefeather
Browse files Browse the repository at this point in the history
Signed-off-by: Tisham Dhar <[email protected]>
  • Loading branch information
whatnick committed Jan 26, 2021
1 parent c802ff8 commit eadee08
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions platforms/icebreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
_io = [
# HACK: Use icefeather pins
("user_led_n", 0, Pins("47"), IOStandard("LVCMOS33")),
("user_led_n", 1, Pins("41"), IOStandard("LVCMOS33")),
# Color-specific aliases
("user_ledr_n", 0, Pins("47"), IOStandard("LVCMOS33")),
("user_ledg_n", 0, Pins("41"), IOStandard("LVCMOS33")),
("user_btn_n", 0, Pins("10"), IOStandard("LVCMOS33")),
("user_led", 0, Pins("41"), IOStandard("LVCMOS33")),
("user_led", 1, Pins("40"), IOStandard("LVCMOS33")),
("user_led", 2, Pins("39"), IOStandard("LVCMOS33")),
# RGB LED
("user_ledr_n", 0, Pins("41"), IOStandard("LVCMOS33")),
("user_ledg_n", 0, Pins("40"), IOStandard("LVCMOS33")),
("user_ledb_n", 0, Pins("39"), IOStandard("LVCMOS33")),
("user_btn_n", 0, Pins("2"), IOStandard("LVCMOS33")),

# HACK: Replace UART with icefeather pins
#("serial", 0,
Expand Down

0 comments on commit eadee08

Please sign in to comment.