From 60b7837af954bdfd42930637393bb645e35c3e98 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Thu, 16 Jan 2025 15:07:54 +0100 Subject: [PATCH] test: reenable esp32c3 hil --- examples/tests/tests/ble_l2cap_peripheral.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/examples/tests/tests/ble_l2cap_peripheral.rs b/examples/tests/tests/ble_l2cap_peripheral.rs index 92ee43be..66fb7c67 100644 --- a/examples/tests/tests/ble_l2cap_peripheral.rs +++ b/examples/tests/tests/ble_l2cap_peripheral.rs @@ -18,18 +18,13 @@ async fn ble_l2cap_peripheral_nrf52() { .await; } -/* -#[tokio::test(flavor = "multi_thread")] -async fn l2cap_peripheral_esp32() { +#[tokio::test] +async fn ble_l2cap_peripheral_esp32c3() { let _ = pretty_env_logger::try_init(); let fw = std::fs::read("bins/esp32/ble_l2cap_peripheral").unwrap(); - let firmware = probe::Firmware { - data: fw, - format: Format::Idf(Default::default()), - }; + let firmware = probe::Firmware { data: fw }; run_l2cap_peripheral_test(&[("target", "esp32"), ("board", "esp-rust-board")], firmware).await; } -*/ async fn run_l2cap_peripheral_test(labels: &[(&str, &str)], firmware: probe::Firmware) { let ctx = TestContext::new();