-
Notifications
You must be signed in to change notification settings - Fork 7.6k
CONFIG_ARDUINO_RUNNING_CORE on ESP32-S2 #6019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It is inconsistent and should be changed. I changed this setting in sdkconfig for the S2 and the builded Arduino framework does work with the S2 |
So this is some code that breaks in esphome and is part of esphome? They can check if the chip is unicore and set the running core to 0 or do not call the functions, just like here: https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal.h#L109 |
We could workaround it in ESPHome (but it'll be an ugly |
It just needs changes in this part https://github.com/espressif/esp32-arduino-lib-builder/blob/master/sdkconfig.esp32s2#L142-L162 |
Because we are about to release and we will not be updating the IDF libs, we need to change this in both places (here and the lib builder) |
I tried newest esphome with arduino-esp32 2.0.1. They check
CONFIG_ARDUINO_RUNNING_CORE == 1
now and it fails as there is nodisableCore1WDT
.It seems that
CONFIG_ARDUINO_RUNNING_CORE
on ESP32-S2 needs to be0
instead of1
like ESP32-C3 as it is single core, too.See esphome issue: esphome/issues#2816
The text was updated successfully, but these errors were encountered: