projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
283cb59
)
invert uart rx/tx generation to match wiredefs and interfacedef
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 21 Mar 2018 14:11:33 +0000
(14:11 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 21 Mar 2018 14:11:33 +0000
(14:11 +0000)
src/interface_decl.py
patch
|
blob
|
history
diff --git
a/src/interface_decl.py
b/src/interface_decl.py
index 92d0b9aa2d994f9f903027d0c9c0c0e1aa8868e4..122de2d1d1da469011491babdeb7f9b4d808d5a6 100644
(file)
--- a/
src/interface_decl.py
+++ b/
src/interface_decl.py
@@
-153,8
+153,8
@@
io_interface = IOInterface([{'name': 'io_outputval_{0}', 'enabled': False},
# Outputs from the peripherals will be inputs to the pinmux
# module. Hence the change in direction for most pins
-uartinterface_decl = Interface([{'name': '
tx_{0}', 'action': True
},
- {'name': '
rx_{0}'
},
+uartinterface_decl = Interface([{'name': '
rx_{0}'
},
+ {'name': '
tx_{0}', 'action': True
},
])
spiinterface_decl = Interface([{'name': 'sclk_{0}', 'action': True},