Status of support for clang, clangd and LSP?
Posted: Wed Aug 31, 2022 2:42 pm
I know that xtensa-esp32-elf-clang is installed when the install.sh script is run but does it support the ESP32-S3 or will there be an xtensa-esp32s3-elf-clang coming?
Even if only for the ESP32, are there any instructions for how to integrate it into the build process? I haven't run across any.
clangd seems to be installed in the same directory and seems to be functional with LSP enabled editors but it currently complains about 2 gcc-specific options in the compile_commands.json file... -fstrict-volatile-bitfields and -fno-tree-switch-conversion. I added a custom command to my CMakeLists.txt file to remove those options after a build but will that be addressed at some point?
Thanks!
Even if only for the ESP32, are there any instructions for how to integrate it into the build process? I haven't run across any.
clangd seems to be installed in the same directory and seems to be functional with LSP enabled editors but it currently complains about 2 gcc-specific options in the compile_commands.json file... -fstrict-volatile-bitfields and -fno-tree-switch-conversion. I added a custom command to my CMakeLists.txt file to remove those options after a build but will that be addressed at some point?
Thanks!