diff options
| author | Damien George | 2016-09-04 00:12:48 +1000 |
|---|---|---|
| committer | Damien George | 2016-09-04 00:12:48 +1000 |
| commit | 76c366df56ad64eae3b021304954954e663bf1df (patch) | |
| tree | 5bdb15118451f7eee439b5145f5075fd051baa1b /stmhal/Makefile | |
| parent | f7c461152364650b71231387c3f80b37277c9161 (diff) | |
stmhal: Add machine.WDT class.
Usage:
import machine
wdt = machine.WDT(0, 5000) # 5 second timeout
wdt.feed()
Thanks to Moritz for the initial implementation.
Diffstat (limited to 'stmhal/Makefile')
| -rw-r--r-- | stmhal/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index 2c6ea806e..e06eed1cc 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -138,6 +138,7 @@ SRC_C = \ uart.c \ can.c \ usb.c \ + wdt.c \ gccollect.c \ pybstdio.c \ help.c \ |
