diff options
author | Damien George <damien@micropython.org> | 2021-05-18 22:17:45 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-05-21 00:38:04 +1000 |
commit | 748339b28126e69fd2dc2778b2a182901d0a4693 (patch) | |
tree | 8d3dafe52e66443ae61feb3b5bc813026a90b87f /py/obj.c | |
parent | a96afae90f6e5d693173382561d06e583b0b5fa5 (diff) |
stm32/uart: Configure pull-up only on RX and CTS, not TX and RTS.
RX and CTS are the input pins and pull-ups are enabled so they don't cause
a problem if left unconnected. But the output pins don't need a pull up
(they were originally all configured with pull up in commit
8f7491a109a555ca897ae49efe98f4cc2b080311).
If needed, the pull-ups can be disabled in Python using machine.Pin after
the UART is constructed.
See issue #4369.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/obj.c')
0 files changed, 0 insertions, 0 deletions