From: Ivan Grokhotkov Date: Mon, 8 Jun 2020 21:24:46 +0000 (+0200) Subject: icestick: fix UART flow control pins. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8acd09279946fd0e82951bcd708505bdc3fc0d86;p=nmigen-boards.git icestick: fix UART flow control pins. UART flow control pins match the signal names in the schematic, but directions are reversed. Fix by setting role=dce. --- diff --git a/nmigen_boards/icestick.py b/nmigen_boards/icestick.py index c6cdfe7..257e623 100644 --- a/nmigen_boards/icestick.py +++ b/nmigen_boards/icestick.py @@ -21,7 +21,8 @@ class ICEStickPlatform(LatticeICE40Platform): UARTResource(0, rx="9", tx="8", rts="7", cts="4", dtr="3", dsr="2", dcd="1", - attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP=1) + attrs=Attrs(IO_STANDARD="SB_LVTTL", PULLUP=1), + role="dce" ), IrDAResource(0,