diff options
| author | Ivan Grokhotkov <ivan@espressif.com> | 2020-06-08 23:24:46 +0200 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2020-06-11 14:10:55 +0000 |
| commit | 8acd09279946fd0e82951bcd708505bdc3fc0d86 (patch) | |
| tree | 3a9fae670eb4d369103128ee593fedb21d2118e6 /nmigen_boards | |
| parent | 70897161bf7846d940490ebd5198aef1f6800919 (diff) | |
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.
Diffstat (limited to 'nmigen_boards')
| -rw-r--r-- | nmigen_boards/icestick.py | 3 |
1 files changed, 2 insertions, 1 deletions
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, |
