aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/Watchdog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor, document and fix the Watchdog driver (#1710)JF2023-04-301-47/+121
| | | | | | | * Refactor and document the Watchdog driver to make it more readable. Fix the configuration of the behaviours configuration that was not properly implemented (but it didn't cause any side effect since the correct value was eventually set in NRF_WDT->CONFIG). Fix the wrong interpretation of the reset reasons caused by implicit conversions of int to bool.
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-1/+1
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Reformatted all the files according to clang-format styleAvamander2021-04-241-22/+39
|
* Include cleanup: driversokaestne2020-11-151-3/+1
|
* Fix reset reason (it returns the actual reset reason instead of hard coded ↵JF2020-06-071-11/+11
| | | | 'hard reset' value).
* Integration of nimble, work in progress.JF2020-04-191-10/+10
| | | | Advertising is working.
* Add new App : Sysinfo. It displays various info about the running system : ↵JF2020-03-221-9/+11
| | | | version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
* Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF2020-02-231-0/+60
than 7s.