diff options
author | Damien George <damien@micropython.org> | 2025-03-17 13:18:20 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-04-09 00:22:33 +1000 |
commit | 037f2dad72a7d11d461330873b50bb9ccf4fed69 (patch) | |
tree | 26b25f7336c7825faa2def8590bb8caef87eff48 /tests/extmod/machine_uart_tx.py | |
parent | 2ad592530256ebfdab6459e918748b729a3de7de (diff) |
tests: Update UART and SPI tests to work on Alif boards.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/machine_uart_tx.py')
-rw-r--r-- | tests/extmod/machine_uart_tx.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/extmod/machine_uart_tx.py b/tests/extmod/machine_uart_tx.py index e9652f3c7..f0cc912da 100644 --- a/tests/extmod/machine_uart_tx.py +++ b/tests/extmod/machine_uart_tx.py @@ -14,7 +14,11 @@ bit_margin = 0 timing_margin_us = 100 # Configure pins based on the target. -if "esp32" in sys.platform: +if "alif" in sys.platform: + uart_id = 1 + pins = {} + bit_margin = 1 +elif "esp32" in sys.platform: uart_id = 1 pins = {} timing_margin_us = 400 |