Skip to content

Commit a7abbc7

Browse files
used make prepush
1 parent a8f742a commit a7abbc7

5 files changed

Lines changed: 3 additions & 173 deletions

File tree

boards/nucleo_u545re_q/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
#![no_std]
77
#![no_main]
88

9+
use kernel::capabilities;
910
use kernel::component::Component;
1011
use kernel::debug::PanicResources;
11-
use kernel::deferred_call::{DeferredCall, DeferredCallClient};
12-
use kernel::hil::entropy::Entropy32;
1312
use kernel::platform::{KernelResources, SyscallDriverLookup};
1413
use kernel::utilities::single_thread_value::SingleThreadValue;
15-
use kernel::{capabilities, debug};
1614
use kernel::{create_capability, static_init};
1715

1816
use stm32u545::gpio::PinId;

capsules/extra/src/test/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pub mod aes_gcm;
88
pub mod crc;
99
pub mod hmac_sha256;
1010
pub mod kv_system;
11-
pub mod rng;
1211
pub mod sha256;
1312
pub mod siphash24;
1413
pub mod udp;

capsules/extra/src/test/rng.rs

Lines changed: 0 additions & 166 deletions
This file was deleted.

chips/stm32u545/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ pub unsafe fn init() {
2222

2323
#[cfg_attr(all(target_arch = "arm", target_os = "none"), used)]
2424
#[cfg_attr(all(target_arch = "arm", target_os = "none"), link_section = ".irqs")]
25-
2625
// Link to the STM32U5 series reference manual (RM0456):
2726
// Table 186 "STM32U5 series vector table"
2827
// https://www.st.com/resource/en/reference_manual/rm0456-stm32u5-series-armbased-32bit-mcus-stmicroelectronics.pdf

chips/stm32u5xx/src/entropy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ pub struct Trng<'a, const CR: u32, const HTCR: u32, const NSCR: u32> {
115115
deferred_call: DeferredCall,
116116
}
117117

118-
impl<'a, const CR_CFG: u32, const HTCR_CFG: u32, const NSCR_CFG: u32>
119-
Trng<'a, CR_CFG, HTCR_CFG, NSCR_CFG>
118+
impl<const CR_CFG: u32, const HTCR_CFG: u32, const NSCR_CFG: u32>
119+
Trng<'_, CR_CFG, HTCR_CFG, NSCR_CFG>
120120
{
121121
pub fn new(base: StaticRef<RngRegisters>) -> Self {
122122
Self {

0 commit comments

Comments
 (0)