mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
All the existing `machine.UART` tests in extmod and extmod_hardware are converted to use the new `target_wiring` scheme, which removes a lot of duplicated board-specific settings. All the existing boards that were supported by these UART tests now have their own `target_wiring` file. Some configurations are board specific (eg NUCLEO_WB55) and others are port specific. Signed-off-by: Damien George <damien@micropython.org>
8 lines
142 B
Python
8 lines
142 B
Python
# Target wiring for general esp32 board.
|
|
#
|
|
# Connect:
|
|
# - GPIO4 to GPIO5
|
|
|
|
uart_loopback_args = (1,)
|
|
uart_loopback_kwargs = {"tx": 4, "rx": 5}
|