diff options
| author | goueslati <[email protected]> | 2023-05-04 11:02:17 +0100 |
|---|---|---|
| committer | goueslati <[email protected]> | 2023-05-04 11:02:17 +0100 |
| commit | 007f45292762ab27291dd54bd0cfdeb23e390de4 (patch) | |
| tree | 65f9271ffd61a222fb3889b7c7aac1d88f6a4acf /examples/stm32wb/src | |
| parent | 3e728d5e73042a78cfb091d1723e6b0c4b5a414d (diff) | |
removed hardcoded addresses in memory.x
Diffstat (limited to 'examples/stm32wb/src')
| -rw-r--r-- | examples/stm32wb/src/bin/tl_mbox.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/stm32wb/src/bin/tl_mbox.rs b/examples/stm32wb/src/bin/tl_mbox.rs index 6a9b9c936..fadeb0d22 100644 --- a/examples/stm32wb/src/bin/tl_mbox.rs +++ b/examples/stm32wb/src/bin/tl_mbox.rs | |||
| @@ -6,6 +6,7 @@ use defmt::*; | |||
| 6 | use embassy_executor::Spawner; | 6 | use embassy_executor::Spawner; |
| 7 | use embassy_stm32::ipcc::{Config, Ipcc}; | 7 | use embassy_stm32::ipcc::{Config, Ipcc}; |
| 8 | use embassy_stm32::tl_mbox::TlMbox; | 8 | use embassy_stm32::tl_mbox::TlMbox; |
| 9 | use embassy_time::{Duration, Timer}; | ||
| 9 | use {defmt_rtt as _, panic_probe as _}; | 10 | use {defmt_rtt as _, panic_probe as _}; |
| 10 | 11 | ||
| 11 | #[embassy_executor::main] | 12 | #[embassy_executor::main] |
| @@ -38,5 +39,7 @@ async fn main(_spawner: Spawner) { | |||
| 38 | break; | 39 | break; |
| 39 | } | 40 | } |
| 40 | } | 41 | } |
| 42 | |||
| 43 | Timer::after(Duration::from_millis(500)).await; | ||
| 41 | } | 44 | } |
| 42 | } | 45 | } |
