MCPcopy Create free account
hub / github.com/atomic14/ch32v003-audio / HardFault_Handler

Function HardFault_Handler

SamplePlayback/src/main.cpp:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50void NMI_Handler(void) {}
51void HardFault_Handler(void)
52{
53 // Hard fault occurred - halt execution
54 // Note: Cannot use PA1 for LED indication as it's used for PWM audio output
55 // Consider using a different GPIO pin for debugging or use a debugger
56
57 while (1)
58 {
59 // Stuck in hard fault - use debugger to investigate
60 }
61}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected