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/interrupt.rs | |
| parent | 4cc5ab9474773148dd8976e22f3fb6f5e270cd3a (diff) | |
Remove ImageDef from rp23 examples
Diffstat (limited to 'examples/rp23/src/bin/interrupt.rs')
| -rw-r--r-- | examples/rp23/src/bin/interrupt.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/rp23/src/bin/interrupt.rs b/examples/rp23/src/bin/interrupt.rs index d563e6ebe..e9ac76486 100644 --- a/examples/rp23/src/bin/interrupt.rs +++ b/examples/rp23/src/bin/interrupt.rs | |||
| @@ -13,7 +13,6 @@ use core::cell::{Cell, RefCell}; | |||
| 13 | use defmt::*; | 13 | use defmt::*; |
| 14 | use embassy_executor::Spawner; | 14 | use embassy_executor::Spawner; |
| 15 | use embassy_rp::adc::{self, Adc, Blocking}; | 15 | use embassy_rp::adc::{self, Adc, Blocking}; |
| 16 | use embassy_rp::block::ImageDef; | ||
| 17 | use embassy_rp::gpio::Pull; | 16 | use embassy_rp::gpio::Pull; |
| 18 | use embassy_rp::interrupt; | 17 | use embassy_rp::interrupt; |
| 19 | use embassy_rp::pwm::{Config, Pwm}; | 18 | use embassy_rp::pwm::{Config, Pwm}; |
| @@ -25,10 +24,6 @@ use portable_atomic::{AtomicU32, Ordering}; | |||
| 25 | use static_cell::StaticCell; | 24 | use static_cell::StaticCell; |
| 26 | use {defmt_rtt as _, panic_probe as _}; | 25 | use {defmt_rtt as _, panic_probe as _}; |
| 27 | 26 | ||
| 28 | #[link_section = ".start_block"] | ||
| 29 | #[used] | ||
| 30 | pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | ||
| 31 | |||
| 32 | static COUNTER: AtomicU32 = AtomicU32::new(0); | 27 | static COUNTER: AtomicU32 = AtomicU32::new(0); |
| 33 | static PWM: Mutex<CriticalSectionRawMutex, RefCell<Option<Pwm>>> = Mutex::new(RefCell::new(None)); | 28 | static PWM: Mutex<CriticalSectionRawMutex, RefCell<Option<Pwm>>> = Mutex::new(RefCell::new(None)); |
| 34 | static ADC: Mutex<CriticalSectionRawMutex, RefCell<Option<(Adc<Blocking>, adc::Channel)>>> = | 29 | static ADC: Mutex<CriticalSectionRawMutex, RefCell<Option<(Adc<Blocking>, adc::Channel)>>> = |
