aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/stm32/src/bin/tl_mbox.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/stm32/src/bin/tl_mbox.rs b/tests/stm32/src/bin/tl_mbox.rs
index 4669cbc62..5e7d11ef5 100644
--- a/tests/stm32/src/bin/tl_mbox.rs
+++ b/tests/stm32/src/bin/tl_mbox.rs
@@ -11,6 +11,7 @@ use embassy_executor::Spawner;
11use embassy_stm32::bind_interrupts; 11use embassy_stm32::bind_interrupts;
12use embassy_stm32::ipcc::Config; 12use embassy_stm32::ipcc::Config;
13use embassy_stm32_wpan::rc::RadioCoprocessor; 13use embassy_stm32_wpan::rc::RadioCoprocessor;
14use embassy_stm32_wpan::sys::Sys;
14use embassy_stm32_wpan::TlMbox; 15use embassy_stm32_wpan::TlMbox;
15use embassy_time::{Duration, Timer}; 16use embassy_time::{Duration, Timer};
16 17
@@ -56,6 +57,8 @@ async fn main(_spawner: Spawner) {
56 let response = rc.read().await; 57 let response = rc.read().await;
57 info!("coprocessor ready {}", response); 58 info!("coprocessor ready {}", response);
58 59
60 Sys::shci_ble_init(Default::default());
61
59 rc.write(&[0x01, 0x03, 0x0c, 0x00, 0x00]); 62 rc.write(&[0x01, 0x03, 0x0c, 0x00, 0x00]);
60 let response = rc.read().await; 63 let response = rc.read().await;
61 info!("ble reset rsp {}", response); 64 info!("ble reset rsp {}", response);