From 197becbdcc0f8e6fd03ddaa921c32193a4a409db Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 25 Sep 2024 17:51:49 +1000 Subject: tests: Tweak machine SPI and UART tests to work with esp32c6. Signed-off-by: Damien George --- tests/extmod_hardware/machine_uart_irq_break.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/extmod_hardware/machine_uart_irq_break.py') diff --git a/tests/extmod_hardware/machine_uart_irq_break.py b/tests/extmod_hardware/machine_uart_irq_break.py index 82879c1d6e..f255e0f0e6 100644 --- a/tests/extmod_hardware/machine_uart_irq_break.py +++ b/tests/extmod_hardware/machine_uart_irq_break.py @@ -15,7 +15,8 @@ import time, sys # Configure pins based on the target. if "esp32" in sys.platform: - if "ESP32S2" in sys.implementation._machine or "ESP32C3" in sys.implementation._machine: + _machine = sys.implementation._machine + if "ESP32S2" in _machine or "ESP32C3" in _machine or "ESP32C6" in _machine: print("SKIP") raise SystemExit # ESP32 needs separate UART instances for the test -- cgit v1.2.3