9174cd8dbc
Added watchdog implementation which is using counter device to implement watchdog driver API. Watchdog timeout is called from counter interrupt context. Some counter implementations support using ZLI interrupt level which can be use here as well. Watchdog like this can be used along hardware watchdog to cover for its limitations, i.e. Nordic watchdog resets unconditionally after 62uS after triggering watchdog interrupt. It is not enough time to dump logging data. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
27 lines
1.2 KiB
CMake
27 lines
1.2 KiB
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_IWDG_STM32 wdt_iwdg_stm32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WWDG_STM32 wdt_wwdg_stm32.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_WDOG_CMSDK_APB wdt_cmsdk_apb.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_CC32XX wdt_cc32xx.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_ESP32 wdt_esp32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_GECKO wdt_gecko.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_ITE_IT8XXX2 wdt_ite_it8xxx2.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_MCUX_IMX_WDOG wdt_mcux_imx_wdog.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_MCUX_WDOG wdt_mcux_wdog.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_MCUX_WDOG32 wdt_mcux_wdog32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_MCUX_WWDT wdt_mcux_wwdt.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_NPCX wdt_npcx.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_NRFX wdt_nrfx.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_SAM wdt_sam.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_SAM0 wdt_sam0.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_SIFIVE wdt_sifive.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_XEC wdt_mchp_xec.c)
|
|
zephyr_library_sources_ifdef(CONFIG_WDT_COUNTER wdt_counter.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE wdt_handlers.c)
|