Closed svefro closed 7 months ago
There is still something wrong with your setup. With
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF5
the toolchain toolchain-xtensa-esp32@8.4.0+2021r2-patch5
is NOT used
Cant reproduce the issue, just compiled Tasmota solo1 successfully with
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF5
on my Mac M1.
c++ sure is something else... I have been away from it for a while.
It turned out it was because in my HTTPUpdateServer i had:
#include <SPIFFS.h>
used here:
if (upload.name == "filesystem") {
if (!Update.begin(SPIFFS.totalBytes(), U_SPIFFS)) {//start with max available size
if (_serial_output) Update.printError(Serial);
}
}
else {
uint32_t maxSketchSpace = (ESP.getFreeSketchSpace() - 0x1000) & 0xFFFFF000;
if (!Update.begin(maxSketchSpace, U_FLASH)) {//start with max available size
_setUpdaterError();
}
SPIFFS.h was not found when i commented out "board_build.flash_mode = dout" in platformio.ini during debugging
Commented out the spiffs section and removed "board_build.flash_mode = dout" and it builds.
As designed. Removed SPIFFS. It is deprecated. We use LittleFS. DOUT mode is removed too. All ESP32 support faster flash mode.
After switching from:
to
I get a error. "sdkconfig.h: No such file or directory" i have tried to delete the ".platformio" folder and let platformio generate a new one. but no luck. i need this to be able to compile my firmware for shelly pluss 1 pm (esp32 solo)
How can i resolve this?
From compile output: