File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ mod inner {
4747
4848 /// Enable co-processors.
4949 ///
50- /// For core0, this is done by the `#[entry]` macro. Fore core1, this function is called
50+ /// For core0, this is done by the `#[entry]` macro. For core1, this function is called
5151 /// from `multicore::Core::spawn`.
5252 ///
5353 /// # Safety
@@ -131,7 +131,8 @@ mod inner {
131131 ///
132132 /// # Safety
133133 ///
134- /// No safety requirements for riscv targets, as this function does nothing.
134+ /// For thumbv8m.main-none-eabihf targets this must only be called
135+ /// immediately after starting up a core.
135136 pub unsafe fn enable_coprocessors ( ) { }
136137
137138 #[ no_mangle]
@@ -570,6 +571,14 @@ mod inner {
570571
571572 /// Placeholder function to mark an IRQ as pending
572573 pub fn interrupt_pend ( _irq : rp235x_pac:: Interrupt ) { }
574+
575+ /// Placeholder function to enable co-processors.
576+ ///
577+ /// # Safety
578+ ///
579+ /// For thumbv8m.main-none-eabihf targets this must only be called
580+ /// immediately after starting up a core.
581+ pub unsafe fn enable_coprocessors ( ) { }
573582}
574583
575584#[ doc( inline) ]
You can’t perform that action at this time.
0 commit comments