drivers: watchdog: mcux_wdog32: add driver for the NXP Kinetis WDOG32

Add driver shim for the NXP Kinetis WDOG32 module.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2019-05-20 23:13:52 +02:00 committed by Maureen Helm
commit 7cb92552f3
7 changed files with 283 additions and 2 deletions

View file

@ -129,4 +129,9 @@ config HAS_MCUX_USB_EHCI
help
Set if the USB controller EHCI module is present in the SoC.
config HAS_MCUX_WDOG32
bool
help
Set if the watchdog (WDOG32) module is present in the SoC.
endif # HAS_MCUX

View file

@ -28,6 +28,7 @@ zephyr_sources_ifdef(CONFIG_UART_MCUX_LPUART fsl_lpuart.c)
zephyr_sources_ifdef(CONFIG_COUNTER_MCUX_RTC fsl_rtc.c)
zephyr_sources_ifdef(CONFIG_RTC_MCUX fsl_rtc.c)
zephyr_sources_ifdef(CONFIG_WDT_MCUX_WDOG fsl_wdog.c)
zephyr_sources_ifdef(CONFIG_WDT_MCUX_WDOG32 fsl_wdog32.c)
zephyr_sources_ifdef(CONFIG_CAN_MCUX_FLEXCAN fsl_flexcan.c)
if(NOT CONFIG_ASSERT OR CONFIG_FORCE_NO_ASSERT)
zephyr_compile_definitions(NDEBUG) # squelch fsl_flexcan.c warning