From 7e0f31e3e7855d89ee8fdccd7496ca3e0028c4d5 Mon Sep 17 00:00:00 2001 From: Piotr Mienkowski Date: Sun, 16 Feb 2020 02:13:12 +0100 Subject: [PATCH] samples: tests: don't disable watchdog when it is used To ease maintenance of samples and tests some SoCs define CONFIG_WDT_DISABLE_AT_BOOT=y to disable the watchdog. Ensure the option is set to n for samples and tests that require watchdog module not to be disabled during boot. Signed-off-by: Piotr Mienkowski --- samples/drivers/watchdog/prj.conf | 1 + tests/drivers/watchdog/wdt_basic_api/prj.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/samples/drivers/watchdog/prj.conf b/samples/drivers/watchdog/prj.conf index 21db5b1cc8d..92f1d208b22 100644 --- a/samples/drivers/watchdog/prj.conf +++ b/samples/drivers/watchdog/prj.conf @@ -1,3 +1,4 @@ CONFIG_LOG=y CONFIG_WDT_LOG_LEVEL_DBG=y CONFIG_WATCHDOG=y +CONFIG_WDT_DISABLE_AT_BOOT=n diff --git a/tests/drivers/watchdog/wdt_basic_api/prj.conf b/tests/drivers/watchdog/wdt_basic_api/prj.conf index fb5643761f1..fe10038e334 100644 --- a/tests/drivers/watchdog/wdt_basic_api/prj.conf +++ b/tests/drivers/watchdog/wdt_basic_api/prj.conf @@ -1,3 +1,4 @@ CONFIG_WATCHDOG=y +CONFIG_WDT_DISABLE_AT_BOOT=n CONFIG_ZTEST=y CONFIG_BOOT_BANNER=n