This commit is contained in:
xoviat 2023-10-03 17:57:12 -05:00
parent a4b20fc943
commit 2849bfcc6b
2 changed files with 9 additions and 0 deletions

6
ci.sh
View File

@ -203,6 +203,12 @@ cargo batch \
# $BUILD_EXTRA
rm out/tests/stm32wb55rg/timer
rm out/tests/stm32wb55rg/spi
rm out/tests/stm32wb55rg/usart
rm out/tests/stm32wb55rg/spi_dma
rm out/tests/stm32wb55rg/gpio
if [[ -z "${TELEPROBE_TOKEN-}" ]]; then
echo No teleprobe token found, skipping running HIL tests
exit

View File

@ -18,6 +18,7 @@ use embassy_stm32_wpan::mac::typedefs::{
};
use embassy_stm32_wpan::sub::mm;
use embassy_stm32_wpan::TlMbox;
use embassy_time::{Duration, Timer};
use {defmt_rtt as _, panic_probe as _};
bind_interrupts!(struct Irqs{
@ -38,6 +39,8 @@ async fn main(spawner: Spawner) {
let p = embassy_stm32::init(config);
info!("Hello World!");
Timer::after(Duration::from_millis(30)).await;
let config = Config::default();
let mbox = TlMbox::init(p.IPCC, Irqs, config);