Commit 19ca7d8d authored by William D. Jones's avatar William D. Jones Committed by whitequark
Browse files

platforms/tinyfpga_b: Add default serial mapping.

parent cba5bea5
...@@ -28,6 +28,16 @@ _connectors = [ ...@@ -28,6 +28,16 @@ _connectors = [
] ]
# Default peripherals
serial = [
("serial", 0,
Subsignal("tx", Pins("GPIO:0")),
Subsignal("rx", Pins("GPIO:1")),
IOStandard("LVCMOS33")
)
]
class Platform(LatticePlatform): class Platform(LatticePlatform):
default_clk_name = "clk16" default_clk_name = "clk16"
default_clk_period = 62.5 default_clk_period = 62.5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment