boards/platforms/tinyfpga_b: add defaut serial pins
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 26 Dec 2017 23:26:30 +0000 (00:26 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 26 Dec 2017 23:26:30 +0000 (00:26 +0100)
litex/boards/platforms/tinyfpga_b.py

index d99be742254d33fa7ee45f8421b6fd8de5beb19b..544370ecf83674caad3608a66955017e0f9f840e 100644 (file)
@@ -9,6 +9,12 @@ _io = [
         IOStandard("LVCMOS33")
     ),
 
+    ("serial", 0,
+        Subsignal("tx", Pins("B2")),
+        Subsignal("rx", Pins("A2")),
+        IOStandard("LVCMOS33")
+    ),
+
     ("spiflash", 0,
         Subsignal("cs_n", Pins("F7"), IOStandard("LVCMOS33")),
         Subsignal("clk", Pins("G7"), IOStandard("LVCMOS33")),