[breaking-change] resources: distinguish "dte"/"dce" roles of UART.
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 8 Jun 2020 21:06:11 +0000 (23:06 +0200)
committerwhitequark <whitequark@whitequark.org>
Thu, 11 Jun 2020 14:10:55 +0000 (14:10 +0000)
commit5d56f7fd584a52f0c5498aa5b8f64c23c805205b
tree7d8b39beda9e4967d8f07ae24e2b347cf8ec1cdd
parent86ae7919fa509c0fca75ca9717abbb4bddd2f6f6
[breaking-change] resources: distinguish "dte"/"dce" roles of UART.

UARTResource gets a new argument, "role", which determines flow
control signal directions:
- DCE means that the design acts as a modem
- DTE means that the design acts as a PC
nmigen_boards/resources/interface.py