espressif / esp32-arduino-lib-builder

134 stars 148 forks source link

Adds ULP support for S3, S3 and C6 #176

Closed SuGlider closed 2 months ago

SuGlider commented 2 months ago

Add necessary sdkconfig settings in order to support FSM ULP for ESP32-S2, ESP32-S3 and ESP32-C6.

IDF 5.1+ only allow the sdkconfig to go with FSM or RV ULP. Not both. When enabling both, the system will build ONLY for RISCV ULP.

Arduino only allows to use the FSM Macros. There is no integratd RV ULP building system. Therefore, this PR picks FSM as the exclusive option for ULP for both S2 and S3.

C6 was left out because there is no way to build code for the C6 RV LP.

SuGlider commented 2 months ago

@me-no-dev - please task a look. The description is above. This solves the issue of not being able to compible the FSM/Macro exemples from Arduino for the S3 and S2. Issue https://github.com/espressif/arduino-esp32/issues/9591

There is no way to use the RISCV ULP / LP from S2/S3/C6 within Arduino at this time....