This example demonstrates use of the Watchdog
driver in KasperskyOS.
In this example, the Client
program uses the Watchdog
driver interface to interact with the Watchdog timer as follows:
Watchdog
driver and prints them to stderr
.The client library of the Watchdog
driver is statically linked to the Client
program.
The CMake
system, which is included with KasperskyOS Community Edition, is used to build and run the example.
Example files
The code of the example and build scripts are available at the following path:
/opt/KasperskyOS-Community-Edition-<version>/examples/watchdog_system_reset
Building and running example
See Building and running examples section.
Page top