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:
parent
39d6d0db4e
commit
8ed9f64064
1
samples/drivers/watchdog/boards/esp32s2_saola.conf
Normal file
1
samples/drivers/watchdog/boards/esp32s2_saola.conf
Normal file
|
@ -0,0 +1 @@
|
|||
CONFIG_HEAP_MEM_POOL_SIZE=256
|
3
samples/drivers/watchdog/boards/esp32s2_saola.overlay
Normal file
3
samples/drivers/watchdog/boards/esp32s2_saola.overlay
Normal file
|
@ -0,0 +1,3 @@
|
|||
&wdt0 {
|
||||
status = "okay";
|
||||
};
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue