stm32/wdt: Add WDT support for H7 MCUs.

This commit is contained in:
iabdalkader 2018-02-23 18:53:00 +02:00 committed by Damien George
parent 3f86fbcb07
commit a863c60439

View File

@ -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;