File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -695,8 +695,10 @@ pub enum SystemHandler {
695
695
/// SV call interrupt
696
696
SVCall ,
697
697
698
- // #[cfg(not(armv6m))]
699
- // DebugMonitor, // unclear whether this has configurable priority
698
+ /// Debug monitor interrupt (not present on Cortex-M0 variants)
699
+ #[ cfg( not( armv6m) ) ]
700
+ DebugMonitor ,
701
+
700
702
/// Pend SV interrupt
701
703
PendSV ,
702
704
@@ -720,6 +722,8 @@ impl SystemHandler {
720
722
#[ cfg( any( armv8m, target_arch = "x86_64" ) ) ]
721
723
SystemHandler :: SecureFault => 7 ,
722
724
SystemHandler :: SVCall => 11 ,
725
+ #[ cfg( not( armv6m) ) ]
726
+ SystemHandler :: DebugMonitor => 12 ,
723
727
SystemHandler :: PendSV => 14 ,
724
728
SystemHandler :: SysTick => 15 ,
725
729
SystemHandler :: __DO_NOT_MATCH_AGAINST_THIS_VARIANT__ => unreachable ! ( ) ,
You can’t perform that action at this time.
0 commit comments