[breaking-change] blackice: remove UART RTS/CTS signals.
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 8 Jun 2020 21:17:11 +0000 (23:17 +0200)
committerwhitequark <whitequark@whitequark.org>
Thu, 11 Jun 2020 14:10:55 +0000 (14:10 +0000)
According to the schematic, RTS and CTS are not connected to CH340G in
this version of the board.

Ref. https://github.com/monsonite/BackIce_FPGA/blob/master/BlackIce18_07_01D.pdf
and https://forum.mystorm.uk/uploads/default/original/1X/a5db1ce1c9bc2d91e63cfdc8424d699c2419a3d0.png

nmigen_boards/blackice.py

index 75c9ac99e9fb980d09131f763144d04c9dc045b7..5853fe418790c21ef9a29b998f22f1b7c4685f3b 100644 (file)
@@ -28,8 +28,9 @@ class BlackIcePlatform(LatticeICE40Platform):
         *SwitchResources(pins="37 38 39 41", invert=True, attrs=Attrs(IO_STANDARD="SB_LVCMOS")),
 
         UARTResource(0,
-            rx="88", tx="85", rts="91", cts="94",
-            attrs=Attrs(IO_STANDARD="SB_LVCMOS", PULLUP=1)
+            rx="88", tx="85",
+            attrs=Attrs(IO_STANDARD="SB_LVCMOS", PULLUP=1),
+            role="dce"
         ),
 
         SRAMResource(0,