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/shared_bus.rs | |
| parent | 4cc5ab9474773148dd8976e22f3fb6f5e270cd3a (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.rs | 5 |
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; | |||
| 8 | use embassy_embedded_hal::shared_bus::asynch::spi::SpiDevice; | 8 | use embassy_embedded_hal::shared_bus::asynch::spi::SpiDevice; |
| 9 | use embassy_executor::Spawner; | 9 | use embassy_executor::Spawner; |
| 10 | use embassy_rp::bind_interrupts; | 10 | use embassy_rp::bind_interrupts; |
| 11 | use embassy_rp::block::ImageDef; | ||
| 12 | use embassy_rp::gpio::{AnyPin, Level, Output}; | 11 | use embassy_rp::gpio::{AnyPin, Level, Output}; |
| 13 | use embassy_rp::i2c::{self, I2c, InterruptHandler}; | 12 | use embassy_rp::i2c::{self, I2c, InterruptHandler}; |
| 14 | use embassy_rp::peripherals::{I2C1, SPI1}; | 13 | use embassy_rp::peripherals::{I2C1, SPI1}; |
| @@ -19,10 +18,6 @@ use embassy_time::Timer; | |||
| 19 | use static_cell::StaticCell; | 18 | use static_cell::StaticCell; |
| 20 | use {defmt_rtt as _, panic_probe as _}; | 19 | use {defmt_rtt as _, panic_probe as _}; |
| 21 | 20 | ||
| 22 | #[link_section = ".start_block"] | ||
| 23 | #[used] | ||
| 24 | pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | ||
| 25 | |||
| 26 | type Spi1Bus = Mutex<NoopRawMutex, Spi<'static, SPI1, spi::Async>>; | 21 | type Spi1Bus = Mutex<NoopRawMutex, Spi<'static, SPI1, spi::Async>>; |
| 27 | type I2c1Bus = Mutex<NoopRawMutex, I2c<'static, I2C1, i2c::Async>>; | 22 | type I2c1Bus = Mutex<NoopRawMutex, I2c<'static, I2C1, i2c::Async>>; |
| 28 | 23 | ||
