boards/platforms/icebreaker: cleanup a bit.

This commit is contained in:
Florent Kermarrec 2020-03-09 19:16:02 +01:00
parent 4656b1b2ad
commit 8808c884c5
1 changed files with 9 additions and 10 deletions

View File

@ -22,7 +22,7 @@ _io = [
("serial", 0,
Subsignal("rx", Pins("6")),
Subsignal("tx", Pins("9"), Misc("PULLUP")),
Subsignal("tx", Pins("9")),
IOStandard("LVCMOS33")
),
@ -82,8 +82,7 @@ class Platform(LatticePlatform):
default_clk_period = 1e9 / 12e6
def __init__(self):
LatticePlatform.__init__(self, "ice40-up5k-sg48", _io, _connectors,
toolchain="icestorm")
LatticePlatform.__init__(self, "ice40-up5k-sg48", _io, _connectors, toolchain="icestorm")
def create_programmer(self):
return IceStormProgrammer()