diff options
-rw-r--r-- | zephyr/projects/kohaku/boards/arm/kohaku/kohaku_defconfig | 6 | ||||
-rw-r--r-- | zephyr/projects/volteer/boards/arm/volteer/volteer_defconfig | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/zephyr/projects/kohaku/boards/arm/kohaku/kohaku_defconfig b/zephyr/projects/kohaku/boards/arm/kohaku/kohaku_defconfig index ed72521e26..9a2d70a37e 100644 --- a/zephyr/projects/kohaku/boards/arm/kohaku/kohaku_defconfig +++ b/zephyr/projects/kohaku/boards/arm/kohaku/kohaku_defconfig @@ -26,6 +26,12 @@ CONFIG_GPIO=y # Clock configuration CONFIG_CLOCK_CONTROL=y +# WATCHDOG configuration +CONFIG_WATCHDOG=y +# Set the delay time for printing panic data. +# 1 cycle is about 32ms. 500ms is about 16 cycles. +CONFIG_WDT_NPCX_DELAY_CYCLES=16 + # PLL configuration CONFIG_CLOCK_NPCX_OSC_CYCLES_PER_SEC=90000000 CONFIG_CLOCK_NPCX_APB1_PRESCALER=6 diff --git a/zephyr/projects/volteer/boards/arm/volteer/volteer_defconfig b/zephyr/projects/volteer/boards/arm/volteer/volteer_defconfig index 7e6360c894..0c73e5a7d2 100644 --- a/zephyr/projects/volteer/boards/arm/volteer/volteer_defconfig +++ b/zephyr/projects/volteer/boards/arm/volteer/volteer_defconfig @@ -26,6 +26,12 @@ CONFIG_GPIO=y # Clock configuration CONFIG_CLOCK_CONTROL=y +# WATCHDOG configuration +CONFIG_WATCHDOG=y +# Set the delay time for printing panic data. +# 1 cycle is about 32ms. 500ms is about 16 cycles. +CONFIG_WDT_NPCX_DELAY_CYCLES=16 + # PLL configuration CONFIG_CLOCK_NPCX_OSC_CYCLES_PER_SEC=90000000 CONFIG_CLOCK_NPCX_APB1_PRESCALER=6 |