QUERY · ISSUE
stmhal: Implement CSS (clock security system) callback
port-stm32
HAL_RCC_CSSCallback doesn't seem to be implemented for recovering from a failed/glitched HSE. I think the handler should hard reset the device or switch back to HSE if it recovered.
Thoughts on this?
CANDIDATE · PULL REQUEST
stmhal: implement CSS - reset on HSE failure
port-stm32
If the high speed external oscillator fails/glitches, this patch will restart the board in an attempt to recover. Without this patch, in my testing the board hangs indefinitely (or at least longer than I bothered to measure!)
Board runs on internal oscillator to process the callback for this event.
Resolves #2683