samples: wdt: add esp32s2 support

Add support of esp32s2_soala board

Signed-off-by: Pavlo Hamov <p.hamov@venstar.com>
This commit is contained in:
Pavlo Hamov 2021-10-13 09:18:23 +03:00 committed by Christopher Friedt
parent 39d6d0db4e
commit 8ed9f64064
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_HEAP_MEM_POOL_SIZE=256

View file

@ -0,0 +1,3 @@
&wdt0 {
status = "okay";
};

View file

@ -43,6 +43,8 @@
#define WDT_NODE DT_INST(0, microchip_xec_watchdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(ti_cc32xx_watchdog)
#define WDT_NODE DT_INST(0, ti_cc32xx_watchdog)
#elif DT_HAS_COMPAT_STATUS_OKAY(espressif_esp32_watchdog)
#define WDT_NODE DT_INST(0, espressif_esp32_watchdog)
#endif
#ifndef WDT_ALLOW_CALLBACK