diff options
| author | 9names <[email protected]> | 2025-02-16 13:04:59 +1100 |
|---|---|---|
| committer | 9names <[email protected]> | 2025-02-16 15:43:08 +1100 |
| commit | 6b1706434dfeb80b3659f3d2a1bbe2871ec8ea55 (patch) | |
| tree | 38ae69ca2fe80726b8b88d7641aa94a3cfebc8e6 /examples/rp23/src/bin/sharing.rs | |
| parent | 4cc5ab9474773148dd8976e22f3fb6f5e270cd3a (diff) | |
Remove ImageDef from rp23 examples
Diffstat (limited to 'examples/rp23/src/bin/sharing.rs')
| -rw-r--r-- | examples/rp23/src/bin/sharing.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/rp23/src/bin/sharing.rs b/examples/rp23/src/bin/sharing.rs index 68eb5d133..5416e20ce 100644 --- a/examples/rp23/src/bin/sharing.rs +++ b/examples/rp23/src/bin/sharing.rs | |||
| @@ -19,7 +19,6 @@ use core::sync::atomic::{AtomicU32, Ordering}; | |||
| 19 | use cortex_m_rt::entry; | 19 | use cortex_m_rt::entry; |
| 20 | use defmt::info; | 20 | use defmt::info; |
| 21 | use embassy_executor::{Executor, InterruptExecutor}; | 21 | use embassy_executor::{Executor, InterruptExecutor}; |
| 22 | use embassy_rp::block::ImageDef; | ||
| 23 | use embassy_rp::clocks::RoscRng; | 22 | use embassy_rp::clocks::RoscRng; |
| 24 | use embassy_rp::interrupt::{InterruptExt, Priority}; | 23 | use embassy_rp::interrupt::{InterruptExt, Priority}; |
| 25 | use embassy_rp::peripherals::UART0; | 24 | use embassy_rp::peripherals::UART0; |
| @@ -32,10 +31,6 @@ use rand::RngCore; | |||
| 32 | use static_cell::{ConstStaticCell, StaticCell}; | 31 | use static_cell::{ConstStaticCell, StaticCell}; |
| 33 | use {defmt_rtt as _, panic_probe as _}; | 32 | use {defmt_rtt as _, panic_probe as _}; |
| 34 | 33 | ||
| 35 | #[link_section = ".start_block"] | ||
| 36 | #[used] | ||
| 37 | pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | ||
| 38 | |||
| 39 | type UartAsyncMutex = mutex::Mutex<CriticalSectionRawMutex, UartTx<'static, UART0, uart::Async>>; | 34 | type UartAsyncMutex = mutex::Mutex<CriticalSectionRawMutex, UartTx<'static, UART0, uart::Async>>; |
| 40 | 35 | ||
| 41 | struct MyType { | 36 | struct MyType { |
