Closed sqrtroot closed 1 year ago
Adding the following replacements in https://github.com/espressif/clang-tidy-runner/blob/79b79fa772cb9ee93b91af0b04e97fa8822207c9/pyclang/runner.py#L51 fixes this error
'-march=rv32imc': '',
'-Wno-error=format=': '',
'-Werror=unused-but-set-variable': '',
'-Wformat-overflow=2': '',
'-Wformat-signedness': '',
'-Wformat-truncation': '',
'-Wlogical-op': '',
'-Wno-old-style-declaration': '',
But still leaves another error, "machine/endian.h not found".
@sqrtroot Hi, according to the doc, it doesn't support RISC-V yet. I'll keep it open and ping you again when we support this :)
This should now work with ESP-IDF master branch. esp-clang
distribution bundled with IDF now supports both Xtensa and RISC-V.
When running idf.py clang-check on a project using the esp32c3 you get the following output in warnings.txt repeated:
versions of all the components used: