I am trying to implement a wathdog on my OpenMV Cam M7.
As explained to that link :
I wrote that code :

import machine
watchdog = machine.WDT(timeout=1000)

But when I run the script I get this error :
AttributeError: ‘module’ object has no attribute ‘WDT’

Do somebody know how to use correctly the watchdog timer ?

Mmm, it might be disabled in our code. Can you summit a bug to the GitHub repo about this. It will get fixed then for the next firmware release.

This code is enabled in the current development firmware. If you don’t want to wait for the next release, you can clone the repo and upload the firmware image.

I upgraded the firmware from the repo and now it works properly.
Thanks for your help !