zephyr/drivers/watchdog
Benjamin Valentin 29deef2def drivers: watchdog: sam0: Check if timeout is valid
The upper limit of the timeout should not be 0.
tests/drivers/watchdog/wdt_basic_api checks for this and fails as the
driver currently only checks that the timout does not exceed the upper
bound.
This also makes it check the lower bound, so that the test passes.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-05-08 11:52:22 -05:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
iwdg_stm32.c watchdog: stm32: fix logic error 2019-03-14 07:08:13 -05:00
iwdg_stm32.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
Kconfig drivers: watchdog: Migrate to new logging subsys 2018-10-08 17:49:12 -04:00
Kconfig.cmsdk_apb drivers: watchdog: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.esp32 drivers: watchdog: Use common name configuration for all drivers 2018-06-01 15:31:56 -05:00
Kconfig.mcux_wdog drivers: watchdog: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.nrfx tests/samples: watchdog: Update projects' configuration 2018-08-20 06:38:02 -07:00
Kconfig.qmsi drivers: watchdog: Add dts support for QMSI based watchdog. 2018-10-14 14:16:03 -04:00
Kconfig.sam drivers: watchdog: wdt_sam: use the generic disable option 2019-03-09 10:26:32 -05:00
Kconfig.sam0 drivers: watchdog: wdt_sam0: Convert Atmel SAM0 driver to the new API 2018-11-19 08:40:15 -06:00
Kconfig.stm32 kconfig: Remove redundant 'default n' properties 2019-02-27 09:25:22 +01:00
wdog_cmsdk_apb.c drivers: Rename reserved function names 2019-04-03 17:31:00 -04:00
wdt_esp32.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_mcux_wdog.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_nrfx.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_qmsi.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_sam.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
wdt_sam0.c drivers: watchdog: sam0: Check if timeout is valid 2019-05-08 11:52:22 -05:00