mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Fix docs, ci
This commit is contained in:
parent
778241fd71
commit
752fbc662a
@ -902,7 +902,7 @@ pub enum GpoutSrc {
|
||||
Usb = ClkGpoutCtrlAuxsrc::CLK_USB as _,
|
||||
/// ADC.
|
||||
Adc = ClkGpoutCtrlAuxsrc::CLK_ADC as _,
|
||||
// RTC.
|
||||
/// RTC.
|
||||
#[cfg(feature = "rp2040")]
|
||||
Rtc = ClkGpoutCtrlAuxsrc::CLK_RTC as _,
|
||||
/// REF.
|
||||
|
@ -497,7 +497,7 @@ fn install_stack_guard(stack_bottom: *mut usize) -> Result<(), ()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "_rp235x", armv8m))]
|
||||
#[cfg(all(feature = "_rp235x", not(test)))]
|
||||
#[inline(always)]
|
||||
fn install_stack_guard(stack_bottom: *mut usize) -> Result<(), ()> {
|
||||
let core = unsafe { cortex_m::Peripherals::steal() };
|
||||
@ -517,9 +517,9 @@ fn install_stack_guard(stack_bottom: *mut usize) -> Result<(), ()> {
|
||||
|
||||
// This is to hack around cortex_m defaulting to ARMv7 when building tests,
|
||||
// so the compile fails when we try to use ARMv8 peripherals.
|
||||
#[cfg(all(feature = "_rp235x", not(armv8m)))]
|
||||
#[cfg(test)]
|
||||
#[inline(always)]
|
||||
fn install_stack_guard(stack_bottom: *mut usize) -> Result<(), ()> {
|
||||
fn install_stack_guard(_stack_bottom: *mut usize) -> Result<(), ()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user