Bug in chThdRelease()
Posted: Thu Mar 17, 2016 6:59 pm
Hi Giovanni,
when calling chThdRelease() without CH_CFG_USE_DYNAMIC, chSysUnlock() will be called twice and thus result in a panic with SV#5.
See https://github.com/ChibiOS/ChibiOS/blob ... ads.c#L451
"return;" has to be moved out of the
#if CH_CFG_USE_DYNAMIC == TRUE
block.
Cheers
Vinz
when calling chThdRelease() without CH_CFG_USE_DYNAMIC, chSysUnlock() will be called twice and thus result in a panic with SV#5.
See https://github.com/ChibiOS/ChibiOS/blob ... ads.c#L451
"return;" has to be moved out of the
#if CH_CFG_USE_DYNAMIC == TRUE
block.
Cheers
Vinz