Xiphos WDT #797

Merged
muellerr merged 18 commits from add-xiphos-wdt-handling into main 2023-10-11 19:50:00 +02:00
Showing only changes of commit eb1b9c837f - Show all commits

View File

@ -24,6 +24,8 @@ class XiphosWdtHandler : public SystemObject, public ExecutableObjectIF, public
ReturnValue_t disableWdt();
// Timeout duration range specified by Xiphos: 0.001 seconds to 171 seconds. The libxiphos API
// expects an int, so I guess this translates to 1 to 171 seconds.
// WARNING: DO NOT SET THIS HIGHER THAN 80 SECONDS!
// Possible bug in Xiphos/Xilinx kernel driver for watchdog, related to overflow.
int timeoutSeconds = 80;
struct watchdog_s* wdtHandle = nullptr;
MessageQueueIF* requestQueue = nullptr;