For the moment, when the deadline is missed, picoRTOS raises a debug exception and sets the reference time to the current time.
This is not what should be expected from a RTOS running a release version of any software, even though it makes debug easier.
The new wished behavior might be something like:
if the deadline is missed, increase the reference time to prev time + duration
increase an error counter
if error counter > CONFIG_DEADLOCK_COUNT, raise an error & reset reference time
if a deadline if caught in time, error counter is reset (?)
Some stats might be useful, error counter might be stored somewhere in the relevant tasks core.
For the moment, when the deadline is missed, picoRTOS raises a debug exception and sets the reference time to the current time. This is not what should be expected from a RTOS running a release version of any software, even though it makes debug easier.
The new wished behavior might be something like:
Some stats might be useful, error counter might be stored somewhere in the relevant tasks core.