Repository navigation
Increased ESP Size, Fix ESP32C2 and STM103TB build - #2056
Conversation
Fixed ESP32C2 CI/CD build, due to pio cache configurations Fixed STM103TB build, wasn't set in boards.py and it must use the legacy fastpin structure Due to Arduino-ESP32 framework updates, the binary size has increased a little bit, not a FastLED problem, so I increased the size a little bit in the workflow.
|
Nice CL. I'm assuming you figured this out with AI? |
Yes, I got this suggestion there, but this cache part is not the solution for ESP32-C2 yet I was able to build the examples locally, but not in the Arduino Workflow.. pioarduino states it must use the "Hybrid compile" which leads to use but their example in the REadme is wrong (ir says |
|
What's going on with cache_config? |
Exclude cache for espidf frameworks that can´t compile with this solution
|
Hey man, finaly found the issue with esp32c2 this board is not fully supported by Arduino IDE (Arduino-Esp32 ans pioarduino) so it needs to be built with an "Arduino as component" configuration, in the "Hybrid compile" as stated in pioarduino readme, but the instructions are wrong there, because it must use in the official Arduino-ESP32 readme, it gives only this info Note ESP32-C2 is also supported by Arduino-ESP32 but requires using Arduino as an ESP-IDF component or rebuilding the static libraries. To build in this hybrid mode, you need to specify 2 compile flags specific to CMake, which can't be dome by the usual build_flags from platformio, so you need to add a it makes possible to build the project with and I rolledback the changes I´ve made in the pio.py cache instructions, as they were irrelevant here. |
|
Now it is failing in the CPP Check.. I will keep looking.. |
Cache now reads the necessary folders to build esp-idf with Arduino as component. build takes longer in this env due to the usage of 2 frameworks (more stuff to compile)
|
All checks are passing, it's working now! |
|
REALLY appreciate the help! |
|
You're welcome! I really appreciated the challenge! Learned a couple of things today dealing with it today! |

Fixed ESP32C2 CI/CD build, due to pio cache configurations
Fixed STM103TB build, wasn't set in boards.py and it must use the legacy fastpin structure
Due to Arduino-ESP32 framework updates, the binary size has increased a little bit, not a FastLED problem, so I increased the size a little bit in the workflow.