SV#8 is caused by malformed ISRs or wrong IRQ priority.
Code: Select all
* - SV#8, misplaced @p CH_IRQ_PROLOGUE().
* - Not called at ISR begin.
* - Called from a critical zone.
* .
That code is probably unrelated.
Giovanni