diff options
| author | WillaWillNot <[email protected]> | 2025-11-21 20:35:54 -0500 |
|---|---|---|
| committer | WillaWillNot <[email protected]> | 2025-11-21 20:44:07 -0500 |
| commit | 54d57bc72f0e2b3eef0fa92d0b730ed6efd7bcaa (patch) | |
| tree | 9e70765685114955ce4043a65acb0c09c022aec9 /examples/boot/application/stm32wl/src/bin | |
| parent | a5f7764eb4f01a0668cbd3b534cde486b97f5ba4 (diff) | |
Fixed broken examples/formatting reported by CI
Diffstat (limited to 'examples/boot/application/stm32wl/src/bin')
| -rw-r--r-- | examples/boot/application/stm32wl/src/bin/a.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/boot/application/stm32wl/src/bin/a.rs b/examples/boot/application/stm32wl/src/bin/a.rs index ad45c1262..285d57e41 100644 --- a/examples/boot/application/stm32wl/src/bin/a.rs +++ b/examples/boot/application/stm32wl/src/bin/a.rs | |||
| @@ -8,12 +8,10 @@ use defmt_rtt::*; | |||
| 8 | use embassy_boot_stm32::{AlignedBuffer, FirmwareUpdater, FirmwareUpdaterConfig}; | 8 | use embassy_boot_stm32::{AlignedBuffer, FirmwareUpdater, FirmwareUpdaterConfig}; |
| 9 | use embassy_embedded_hal::adapter::BlockingAsync; | 9 | use embassy_embedded_hal::adapter::BlockingAsync; |
| 10 | use embassy_executor::Spawner; | 10 | use embassy_executor::Spawner; |
| 11 | use embassy_stm32::SharedData; | ||
| 12 | use embassy_stm32::bind_interrupts; | ||
| 13 | use embassy_stm32::exti::{self, ExtiInput}; | 11 | use embassy_stm32::exti::{self, ExtiInput}; |
| 14 | use embassy_stm32::flash::{Flash, WRITE_SIZE}; | 12 | use embassy_stm32::flash::{Flash, WRITE_SIZE}; |
| 15 | use embassy_stm32::gpio::{Level, Output, Pull, Speed}; | 13 | use embassy_stm32::gpio::{Level, Output, Pull, Speed}; |
| 16 | use embassy_stm32::interrupt; | 14 | use embassy_stm32::{SharedData, bind_interrupts, interrupt}; |
| 17 | use embassy_sync::mutex::Mutex; | 15 | use embassy_sync::mutex::Mutex; |
| 18 | use panic_reset as _; | 16 | use panic_reset as _; |
| 19 | 17 | ||
| @@ -24,7 +22,7 @@ static APP_B: &[u8] = include_bytes!("../../b.bin"); | |||
| 24 | 22 | ||
| 25 | bind_interrupts!( | 23 | bind_interrupts!( |
| 26 | pub struct Irqs{ | 24 | pub struct Irqs{ |
| 27 | EXTEXTI0I2_3 => exti::InterruptHandler<interrupt::typelevel::EXTI0>; | 25 | EXTI0 => exti::InterruptHandler<interrupt::typelevel::EXTI0>; |
| 28 | }); | 26 | }); |
| 29 | 27 | ||
| 30 | #[unsafe(link_section = ".shared_data")] | 28 | #[unsafe(link_section = ".shared_data")] |
