Setting up PC lint to work with the IDF
Posted: Thu Aug 31, 2023 11:37 am
So trying to lint the source code of a project I am working on.
Its proving difficult as the IDF headers are causing errors and messages etc
e.g.
\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\_intsup.h
71 error 309: #error "Unable to determine type definition of intptr_t"
Has anyone managed to get a lint configutration working that allows static analysis of code to be carried out
If so can you share the settings and *lnt files you used etc
Its proving difficult as the IDF headers are causing errors and messages etc
e.g.
\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\sys\_intsup.h
71 error 309: #error "Unable to determine type definition of intptr_t"
Has anyone managed to get a lint configutration working that allows static analysis of code to be carried out
If so can you share the settings and *lnt files you used etc