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);
3535
3636/* Cortex-M0+ core handlers */
3737#if defined DEBUG
38- void NMI_Handler ( void )
39- {
40- while ( 1 )
41- {
42- }
43- }
44-
4538void HardFault_Handler ( void )
4639{
4740 while ( 1 )
4841 {
4942 }
5043}
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" )));
6744#else
68- void NMI_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
6945void HardFault_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
46+ #endif //DEBUG
47+
48+ void NMI_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
7049void SVC_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
7150void PendSV_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
7251void SysTick_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
73- #endif //DEBUG
7452
7553/* Peripherals handlers */
7654void PM_Handler ( void ) __attribute__ ((weak , alias ("Dummy_Handler" )));
You can’t perform that action at this time.
0 commit comments