Closed kayasemih closed 1 year ago
Hi @semihkaya0941,
thank you for your valuable feedback!
It's important to note that this feature is still in development and is expected to improve over time. The complexity of the setup and documentation is noted, we will work on making the process more user-friendly.
How can I avoid the errors I get for my .c files?
You can run idf.py clang-check --help
for full documentation of the tool. This help also explains the --exclude-paths
option, which could help to solve your issue.
It was not clear what commands I could use other than this command
There are really no other commands to run except clang-check
and clang-html-report
- both are explained in the docs.
I also could not get it to work properly on a different machine with idf v5.0 installed too
If your issues persist, please open a new ticket and provide a log. Without a log we can't really tell what happened and if there is a bug to fix.
IDF version.
v4.4.4
Espressif SoC revision.
ESP32-D0WD-V3 (revision 3)
Operating System used.
MacOS
How did you build your project?
Command line with idf.py
IDE being used
VS Code IDE
Build System
CMake
Development Kit.
ESP32 WROVER-IE on Custom Board
I have C and C++ source files in my project. When I ran the
idf.py clang-check
command, I got C++ build errors inwarning.txt
file. How can I avoid the errors I get for my .c files? How can I go about using a static code analyzer optimized for my project? How do you advise me to proceed?In addition, I read the Prerequisites and the conditions to run command
idf.py clang-check
. As a 2-year ESP-IDF user, I found it a bit complicated. I wish there was a clearer path. It was not clear what commands I could use other than this command. I also could not get it to work properly on a different machine with idf v5.0 installed too. Thank you for your efforts and contributions anyway.