From 8acd09279946fd0e82951bcd708505bdc3fc0d86 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 8 Jun 2020 23:24:46 +0200 Subject: [PATCH] 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. --- nmigen_boards/icestick.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.30.2