aboutsummaryrefslogtreecommitdiff
path: root/examples/rp23/src/bin/shared_bus.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/shared_bus.rs
parent4cc5ab9474773148dd8976e22f3fb6f5e270cd3a (diff)
Remove ImageDef from rp23 examples
Diffstat (limited to 'examples/rp23/src/bin/shared_bus.rs')
-rw-r--r--examples/rp23/src/bin/shared_bus.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/rp23/src/bin/shared_bus.rs b/examples/rp23/src/bin/shared_bus.rs
index 2151ccb56..c6cb5d64c 100644
--- a/examples/rp23/src/bin/shared_bus.rs
+++ b/examples/rp23/src/bin/shared_bus.rs
@@ -8,7 +8,6 @@ use embassy_embedded_hal::shared_bus::asynch::i2c::I2cDevice;
8use embassy_embedded_hal::shared_bus::asynch::spi::SpiDevice; 8use embassy_embedded_hal::shared_bus::asynch::spi::SpiDevice;
9use embassy_executor::Spawner; 9use embassy_executor::Spawner;
10use embassy_rp::bind_interrupts; 10use embassy_rp::bind_interrupts;
11use embassy_rp::block::ImageDef;
12use embassy_rp::gpio::{AnyPin, Level, Output}; 11use embassy_rp::gpio::{AnyPin, Level, Output};
13use embassy_rp::i2c::{self, I2c, InterruptHandler}; 12use embassy_rp::i2c::{self, I2c, InterruptHandler};
14use embassy_rp::peripherals::{I2C1, SPI1}; 13use embassy_rp::peripherals::{I2C1, SPI1};
@@ -19,10 +18,6 @@ use embassy_time::Timer;
19use static_cell::StaticCell; 18use static_cell::StaticCell;
20use {defmt_rtt as _, panic_probe as _}; 19use {defmt_rtt as _, panic_probe as _};
21 20
22#[link_section = ".start_block"]
23#[used]
24pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe();
25
26type Spi1Bus = Mutex<NoopRawMutex, Spi<'static, SPI1, spi::Async>>; 21type Spi1Bus = Mutex<NoopRawMutex, Spi<'static, SPI1, spi::Async>>;
27type I2c1Bus = Mutex<NoopRawMutex, I2c<'static, I2C1, i2c::Async>>; 22type I2c1Bus = Mutex<NoopRawMutex, I2c<'static, I2C1, i2c::Async>>;
28 23