projects
/
nmigen-boards.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7089716
)
icestick: fix UART flow control pins.
author
Ivan Grokhotkov
<ivan@espressif.com>
Mon, 8 Jun 2020 21:24:46 +0000
(23:24 +0200)
committer
whitequark
<whitequark@whitequark.org>
Thu, 11 Jun 2020 14:10:55 +0000
(14:10 +0000)
UART flow control pins match the signal names in the schematic, but
directions are reversed. Fix by setting role=dce.
nmigen_boards/icestick.py
patch
|
blob
|
history
diff --git
a/nmigen_boards/icestick.py
b/nmigen_boards/icestick.py
index c6cdfe7f2ac444c4764494495506e741a7eed147..257e623d1ae930f7b3f92bdd495df90aad6670c5 100644
(file)
--- 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,