Browse Source

stm32/wdt: Add WDT support for H7 MCUs.

pull/3665/head
iabdalkader 7 years ago
committed by Damien George
parent
commit
a863c60439
  1. 4
      ports/stm32/wdt.c

4
ports/stm32/wdt.c

@ -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…
Cancel
Save