Skip to content

CONFIG_ARDUINO_RUNNING_CORE on ESP32-S2 #6019

Closed
@misery

Description

@misery

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

Metadata

Metadata

Assignees

Labels

Chip: ESP32-S2Issue is related to support of ESP32-S2 Chip

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions