|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Directories | |
| src | |
Exercises libs/ra8_wdt_supervisor end to end on the bench: the WWDT is refreshed only when every registered worker thread has called ra8_wdt_supervisor_checkin inside its own deadline. Two synthetic ThreadX workers check in on disjoint cadences while the supervisor thread, auto-spawned by ra8_wdt_supervisor_start, ticks faster than either and decides each time whether to refresh. A J-Link memprobe watches a liveness counter that worker A bumps on every check-in, which catches a wedged scheduler, a supervisor that failed to spawn, a check-in that returned an error, and a worker that died before its first iteration.
Two deliberate deviations from wdt_window_demo:
Registration and start happen inside worker A's first action rather than in tx_application_define, so those APIs run with a valid thread context.