Dear All,
I was wondering if you could provide any examples or advice as to good practice techniques when using the Watchdog timer in a multi-threaded Zephyr application.
Dear All,
I was wondering if you could provide any examples or advice as to good practice techniques when using the Watchdog timer in a multi-threaded Zephyr application.
Sorry, not aware of any, hopefully google may know.
My only input would be that the watchdog timer can be setup with 8 reload values, so each thread (up to 8) can maintain their own reload value.
Edit: I could find this discussion in zephyr interesting:
https://github.com/zephyrproject-rtos/zephyr/issues/23282
https://github.com/zephyrproject-rtos/zephyr/pull/28947
Edit2: I can find an examples also:
https://github.com/zephyrproject-rtos/zephyr/blob/master/samples/drivers/watchdog/src/main.c
Kenneth
Sorry, not aware of any, hopefully google may know.
My only input would be that the watchdog timer can be setup with 8 reload values, so each thread (up to 8) can maintain their own reload value.
Edit: I could find this discussion in zephyr interesting:
https://github.com/zephyrproject-rtos/zephyr/issues/23282
https://github.com/zephyrproject-rtos/zephyr/pull/28947
Edit2: I can find an examples also:
https://github.com/zephyrproject-rtos/zephyr/blob/master/samples/drivers/watchdog/src/main.c
Kenneth