stm32/wdt: Add WDT support for H7 MCUs.
This commit is contained in:
parent
3f86fbcb07
commit
a863c60439
@ -29,6 +29,10 @@
|
||||
#include "py/runtime.h"
|
||||
#include "wdt.h"
|
||||
|
||||
#if defined(STM32H7)
|
||||
#define IWDG (IWDG1)
|
||||
#endif
|
||||
|
||||
typedef struct _pyb_wdt_obj_t {
|
||||
mp_obj_base_t base;
|
||||
} pyb_wdt_obj_t;
|
||||
|
Loading…
Reference in New Issue
Block a user