zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.2k stars 6.25k forks source link

Add Atmel SAM family watchdog (WDT) driver #3137

Closed zephyrbot closed 7 years ago

zephyrbot commented 7 years ago

Reported by Souvik Kumar Chakravarty:

In SAME70, the Watchdog is enabled by default at boot. If the Watchdog driver is disabled, it will result in periodic resets.

(Imported from Jira ZEP-1684)

zephyrbot commented 7 years ago

by Souvik Kumar Chakravarty:

Disable the Watchdog at SoC Init. The Watchdog driver, if enabled, will re-enable it back.

zephyrbot commented 7 years ago

by Souvik Kumar Chakravarty:

Need to add a watchdog driver to handle this, since the watchdog disable (WDDIS) bit can only be set once.

zephyrbot commented 7 years ago

by Souvik Kumar Chakravarty:

Code review Done by Piotr

zephyrbot commented 7 years ago

by Souvik Kumar Chakravarty:

Watchdog Timer with basic functionality was delivered. It can only disable the watchdog at boot to prevent platform resets due to WDT expiry.

zephyrbot commented 7 years ago

by Souvik Kumar Chakravarty:

Basic Watchdog timer implemented with disable watchdog at boot.