File tree Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Original file line number Diff line number Diff line change @@ -35,42 +35,20 @@ void Dummy_Handler(void);
35
35
36
36
/* Cortex-M0+ core handlers */
37
37
#if defined DEBUG
38
- void NMI_Handler ( void )
39
- {
40
- while ( 1 )
41
- {
42
- }
43
- }
44
-
45
38
void HardFault_Handler ( void )
46
39
{
47
40
while ( 1 )
48
41
{
49
42
}
50
43
}
51
-
52
- void SVC_Handler ( void )
53
- {
54
- while ( 1 )
55
- {
56
- }
57
- }
58
-
59
- void PendSV_Handler ( void )
60
- {
61
- while ( 1 )
62
- {
63
- }
64
- }
65
-
66
- void SysTick_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
67
44
#else
68
- void NMI_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
69
45
void HardFault_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
46
+ #endif //DEBUG
47
+
48
+ void NMI_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
70
49
void SVC_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
71
50
void PendSV_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
72
51
void SysTick_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
73
- #endif //DEBUG
74
52
75
53
/* Peripherals handlers */
76
54
void PM_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
You can’t perform that action at this time.
0 commit comments