Compile error when CONFIG_WDT_DISABLE_AT_BOOT is enabled for nRF5340 in NCS 2.9.0.

Hi,

I am building the Zephyr hello world example(C:\ncs\v2.9.0\zephyr\samples\hello_world) for nRF5340DK board, the NCS version is 2.9.0.

I enabled watchdog and WDT_DISABLE_AT_BOOT in pj.conf as below:

CONFIG_WATCHDOG=y
CONFIG_HAS_WDT_DISABLE_AT_BOOT=y
CONFIG_WDT_DISABLE_AT_BOOT=y


I did not modify any source code expect the pj.cong above, but I encounter error as below:
error: HAS_WDT_DISABLE_AT_BOOT (defined at drivers/watchdog/Kconfig:14) is assigned in a
configuration file, but is not directly user-configurable (has no prompt). It gets its value
indirectly from other symbols. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HAS_WDT_DISABLE_AT_BOOT and/or look up
HAS_WDT_DISABLE_AT_BOOT in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


Question: 
if the configs I added above in pj.conf are wrong, what should I add, and where should I add them?

Thanks
Related