arduino-pico icon indicating copy to clipboard operation
arduino-pico copied to clipboard

Watchdog timer support?

Open brentru opened this issue 3 years ago • 2 comments
trafficstars

@earlephilhower The Pico SDK provides hardware_watchdog support. Is this avaliable in Arduino Pico? Would be useful for Raspberry Pico W projects for hardware reset/reboot.

If not, I'd be OK with adding it. I have familiarity with the Pico SDK but not arduino-pico core, if you can point me in the right direction in the core?

brentru avatar Sep 20 '22 15:09 brentru

I have not added it, but you can access the raw SDK functions just by including the proper headers.

If you're volunteering :smile: , then an addition to the RP2040 class or a new Watchdog object could be added to the core.

earlephilhower avatar Sep 20 '22 15:09 earlephilhower

@earlephilhower I am volunteering, we (adafruit) need this functionality.

brentru avatar Sep 20 '22 17:09 brentru