File tree Expand file tree Collapse file tree
boards/raspberry_pi_pico_2/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66members = [
77 " arch/cortex-m" ,
88 " arch/cortex-v7m" ,
9- " arch/cortex-v8m" ,
109 " arch/cortex-m0" ,
1110 " arch/cortex-m0p" ,
1211 " arch/cortex-m3" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ edition.workspace = true
1111[dependencies ]
1212kernel = { path = " ../../kernel" }
1313cortexm = { path = " ../cortex-m" }
14- cortexv8m = { path = " ../cortex-v8m " }
14+ cortexv7m = { path = " ../cortex-v7m " }
1515
1616[lints ]
1717workspace = true
Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ pub use cortexm::CortexMVariant;
3535pub enum CortexM33 { }
3636
3737impl cortexm:: CortexMVariant for CortexM33 {
38- const GENERIC_ISR : unsafe extern "C" fn ( ) = cortexv8m :: generic_isr_arm_v8m ;
39- const SYSTICK_HANDLER : unsafe extern "C" fn ( ) = cortexv8m :: systick_handler_arm_v8m ;
40- const SVC_HANDLER : unsafe extern "C" fn ( ) = cortexv8m :: svc_handler_arm_v8m ;
41- const HARD_FAULT_HANDLER : unsafe extern "C" fn ( ) = cortexv8m :: hard_fault_handler_arm_v8m ;
38+ const GENERIC_ISR : unsafe extern "C" fn ( ) = cortexv7m :: generic_isr_arm_v7m ;
39+ const SYSTICK_HANDLER : unsafe extern "C" fn ( ) = cortexv7m :: systick_handler_arm_v7m ;
40+ const SVC_HANDLER : unsafe extern "C" fn ( ) = cortexv7m :: svc_handler_arm_v7m ;
41+ const HARD_FAULT_HANDLER : unsafe extern "C" fn ( ) = cortexv7m :: hard_fault_handler_arm_v7m ;
4242
4343 #[ cfg( all( target_arch = "arm" , target_os = "none" ) ) ]
4444 unsafe fn switch_to_user (
4545 user_stack : * const usize ,
4646 process_regs : & mut [ usize ; 8 ] ,
4747 ) -> * const usize {
48- cortexv8m :: switch_to_user_arm_v8m ( user_stack, process_regs)
48+ cortexv7m :: switch_to_user_arm_v7m ( user_stack, process_regs)
4949 }
5050
5151 #[ cfg( not( all( target_arch = "arm" , target_os = "none" ) ) ) ]
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments