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_hardware/machine_uart_irq_rx.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_hardware/machine_uart_irq_rx.py')
-rw-r--r-- | tests/extmod_hardware/machine_uart_irq_rx.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/extmod_hardware/machine_uart_irq_rx.py b/tests/extmod_hardware/machine_uart_irq_rx.py index bf34900bd..ecc95e62a 100644 --- a/tests/extmod_hardware/machine_uart_irq_rx.py +++ b/tests/extmod_hardware/machine_uart_irq_rx.py @@ -15,7 +15,11 @@ import time, sys byte_by_byte = False # Configure pins based on the target. -if "esp32" in sys.platform: +if "alif" in sys.platform: + uart_id = 1 + tx_pin = None + rx_pin = None +elif "esp32" in sys.platform: uart_id = 1 tx_pin = 4 rx_pin = 5 |