Closed
Description
I tried newest esphome with arduino-esp32 2.0.1. They check CONFIG_ARDUINO_RUNNING_CORE == 1
now and it fails as there is no disableCore1WDT
.
It seems that CONFIG_ARDUINO_RUNNING_CORE
on ESP32-S2 needs to be 0
instead of 1
like ESP32-C3 as it is single core, too.
src/esphome/components/esp32/core.cpp: In function 'void esphome::arch_init()':
src/esphome/components/esp32/core.cpp:50:3: error: 'disableCore1WDT' was not declared in this scope
disableCore1WDT();
^~~~~~~~~~~~~~~
src/esphome/components/esp32/core.cpp:50:3: note: suggested alternative: 'disableCore0WDT'
disableCore1WDT();
^~~~~~~~~~~~~~~
disableCore0WDT
#if CONFIG_ARDUINO_RUNNING_CORE == 0
disableCore0WDT();
#endif
#if CONFIG_ARDUINO_RUNNING_CORE == 1
disableCore1WDT();
#endif
See esphome issue: esphome/issues#2816