nrf: dsd6: Enable WDT for this board

pull/1/head
Daniel Thompson 2020-01-19 12:21:10 +00:00
parent a1584bb653
commit 09bebddc74
1 changed files with 8 additions and 0 deletions

View File

@ -39,9 +39,17 @@
#define MICROPY_PY_MACHINE_TEMP (1)
#define MICROPY_PY_RANDOM_HW_RNG (1)
#define MICROPY_PY_MACHINE_DFU_BOOTLOADER (1)
#define MICROPY_PY_MACHINE_WDT (1)
#define MICROPY_HW_HAS_LED (0)
// WDT config
#define MICROPY_HW_HAS_WDT_BUTTON (1)
#define MICROPY_HW_WDT_BUTTON (30)
#define MICROPY_HW_WDT_BUTTON_ACTIVE (0) // active low
#define MICROPY_HW_WDT_BUTTON_PULL (1) // pull up
#define MICROPY_HW_WDT_BUTTON_ENABLE (0) // no enable pin
// UART config
#define MICROPY_HW_UART1_RX (22)
#define MICROPY_HW_UART1_TX (23)