aboutsummaryrefslogtreecommitdiff
path: root/examples/rp23/src/bin/sharing.rs
diff options
context:
space:
mode:
author9names <[email protected]>2025-02-16 13:04:59 +1100
committer9names <[email protected]>2025-02-16 15:43:08 +1100
commit6b1706434dfeb80b3659f3d2a1bbe2871ec8ea55 (patch)
tree38ae69ca2fe80726b8b88d7641aa94a3cfebc8e6 /examples/rp23/src/bin/sharing.rs
parent4cc5ab9474773148dd8976e22f3fb6f5e270cd3a (diff)
Remove ImageDef from rp23 examples
Diffstat (limited to 'examples/rp23/src/bin/sharing.rs')
-rw-r--r--examples/rp23/src/bin/sharing.rs5
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};
19use cortex_m_rt::entry; 19use cortex_m_rt::entry;
20use defmt::info; 20use defmt::info;
21use embassy_executor::{Executor, InterruptExecutor}; 21use embassy_executor::{Executor, InterruptExecutor};
22use embassy_rp::block::ImageDef;
23use embassy_rp::clocks::RoscRng; 22use embassy_rp::clocks::RoscRng;
24use embassy_rp::interrupt::{InterruptExt, Priority}; 23use embassy_rp::interrupt::{InterruptExt, Priority};
25use embassy_rp::peripherals::UART0; 24use embassy_rp::peripherals::UART0;
@@ -32,10 +31,6 @@ use rand::RngCore;
32use static_cell::{ConstStaticCell, StaticCell}; 31use static_cell::{ConstStaticCell, StaticCell};
33use {defmt_rtt as _, panic_probe as _}; 32use {defmt_rtt as _, panic_probe as _};
34 33
35#[link_section = ".start_block"]
36#[used]
37pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe();
38
39type UartAsyncMutex = mutex::Mutex<CriticalSectionRawMutex, UartTx<'static, UART0, uart::Async>>; 34type UartAsyncMutex = mutex::Mutex<CriticalSectionRawMutex, UartTx<'static, UART0, uart::Async>>;
40 35
41struct MyType { 36struct MyType {