summaryrefslogtreecommitdiff
path: root/tests/extmod/machine_uart_tx.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-03-17 13:18:20 +1100
committerDamien George <damien@micropython.org>2025-04-09 00:22:33 +1000
commit037f2dad72a7d11d461330873b50bb9ccf4fed69 (patch)
tree26b25f7336c7825faa2def8590bb8caef87eff48 /tests/extmod/machine_uart_tx.py
parent2ad592530256ebfdab6459e918748b729a3de7de (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.py6
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