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