The current watchdog tests assume that watchdog can be configured once it is running. This is a concept that do not work in practice becasue most of watchdog once configured will be locked. The tests should take that in consideration before enable another test. The other important details is that even when a watchdog is running it should be disable in some controllers to allow reconfigure. This change was tested with SAM4L watchdog controller #83475 which allows reconfigure the watchdog once it is enabled. To do the correct configuration it is necessary execute the wdt_disable() call. The change will validate if the watchdog can be disabled for those cases were the controller is not locked and fallback the test on the contrary. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> |
||
|---|---|---|
| .. | ||
| boards | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||
| testcase.yaml | ||