Clang Toolchain Configuration
After creating a new project, edit the project configuration.
Go to the
Build Settingstab and select the Clang toolchain.
Note
The Clang toolchain is currently an experimental feature, and you may encounter build issues due to incompatibility with ESP-IDF. The following describes how to address the most common build issues on the current ESP-IDF master (ESP-IDF v5.1-dev-992-gaf28c1fa21-dirty). For additional Clang-related build errors, please refer to the workaround guide.