Page 1 of 1

ESP32 C3 Compiling is not possible

Posted: Thu Mar 14, 2024 2:31 pm
by stefan.erni
Hi Ben

C3 Compiling is not possible (or not anymore).
I have tried different python and ESP-idf versions. ESP32 S3 always works ESP C3 never.

regards

Stefan

Re: ESP32 C3 Compiling is not possible

Posted: Thu Mar 14, 2024 4:42 pm
by BenR
Hi Stefan,

Thanks for letting us know, looks like it's the I/O optimisation isn't working for the C3 for whatever reason.

e.g. GPIO.out_w1ts = Mask;

I'll investigate and see if I can make it work, might be we turn off the optimisation for the C3 and instead use the recommended (but slow) I/O layer.

Re: ESP32 C3 Compiling is not possible

Posted: Fri Mar 15, 2024 10:09 am
by BenR
Hopefully resolved for you now via library updates.

Re: ESP32 C3 Compiling is not possible

Posted: Fri Mar 15, 2024 11:08 am
by stefan.erni
Hi Ben

Perfect!
I testet on my computers with following configuration and compiling C3 works


Python 3.7.3 and IDF Version: v4.4.6 ...

Code: Select all

============================== Toolchain Check ==============================
Python 3.7.3
git version 2.21.0.windows.1
=============================================================================
IDF Version: v4.4.6 ...
Python 3.7.3 and IDF Version: v5.1.3 ...

Code: Select all

============================== Toolchain Check ==============================
Python 3.7.3
git version 2.40.0.windows.1
=============================================================================
IDF Version: v5.1.3 ...
Python 3.12.2 and IDF Version: v5.1.2 ...

Code: Select all

============================== Toolchain Check ==============================
Python 3.12.2
git version 2.21.0.windows.1
=============================================================================
IDF Version: v5.1.2 ...