mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
stm32/wdt: Add WDT support for H7 MCUs.
This commit is contained in:
committed by
Damien George
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;
|
||||
|
||||
Reference in New Issue
Block a user