mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
tests: Convert all machine.UART tests to use target_wiring.
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>
This commit is contained in:
@@ -217,7 +217,13 @@ platform_tests_to_skip = {
|
||||
}
|
||||
|
||||
# Tests that require `import target_wiring` to work.
|
||||
tests_requiring_target_wiring = ()
|
||||
tests_requiring_target_wiring = (
|
||||
"extmod/machine_uart_irq_txidle.py",
|
||||
"extmod/machine_uart_tx.py",
|
||||
"extmod_hardware/machine_uart_irq_break.py",
|
||||
"extmod_hardware/machine_uart_irq_rx.py",
|
||||
"extmod_hardware/machine_uart_irq_rxidle.py",
|
||||
)
|
||||
|
||||
|
||||
def rm_f(fname):
|
||||
|
||||
Reference in New Issue
Block a user