File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -902,7 +902,7 @@ pub enum GpoutSrc {
902902 Usb = ClkGpoutCtrlAuxsrc :: CLK_USB as _ ,
903903 /// ADC.
904904 Adc = ClkGpoutCtrlAuxsrc :: CLK_ADC as _ ,
905- // RTC.
905+ /// RTC.
906906 #[ cfg( feature = "rp2040" ) ]
907907 Rtc = ClkGpoutCtrlAuxsrc :: CLK_RTC as _ ,
908908 /// REF.
Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ fn install_stack_guard(stack_bottom: *mut usize) -> Result<(), ()> {
497497 Ok ( ( ) )
498498}
499499
500- #[ cfg( all( feature = "_rp235x" , armv8m ) ) ]
500+ #[ cfg( all( feature = "_rp235x" , not ( test ) ) ) ]
501501#[ inline( always) ]
502502fn install_stack_guard ( stack_bottom : * mut usize ) -> Result < ( ) , ( ) > {
503503 let core = unsafe { cortex_m:: Peripherals :: steal ( ) } ;
@@ -517,9 +517,9 @@ fn install_stack_guard(stack_bottom: *mut usize) -> Result<(), ()> {
517517
518518// This is to hack around cortex_m defaulting to ARMv7 when building tests,
519519// so the compile fails when we try to use ARMv8 peripherals.
520- #[ cfg( all ( feature = "_rp235x" , not ( armv8m ) ) ) ]
520+ #[ cfg( test ) ]
521521#[ inline( always) ]
522- fn install_stack_guard ( stack_bottom : * mut usize ) -> Result < ( ) , ( ) > {
522+ fn install_stack_guard ( _stack_bottom : * mut usize ) -> Result < ( ) , ( ) > {
523523 Ok ( ( ) )
524524}
525525
You can’t perform that action at this time.
0 commit comments