mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 14:22:33 +00:00
Enable FPU for RP235X Core1
This commit is contained in:
parent
9555259c57
commit
cdcd9de051
@ -169,6 +169,13 @@ where
|
||||
interrupt::SIO_IRQ_FIFO.enable()
|
||||
};
|
||||
|
||||
// Enable FPU
|
||||
#[cfg(feature = "_rp235x")]
|
||||
unsafe {
|
||||
let p = cortex_m::Peripherals::steal();
|
||||
p.SCB.cpacr.modify(|cpacr| cpacr | (3 << 20) | (3 << 22));
|
||||
}
|
||||
|
||||
entry()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user