I have a VS Code project that was building properly and was able to debug in VS Code (project template from the SDK). But if I ran static analysis on a file im getting these errors
I have these pre-processor macro defined in teh c_cpp_properties.json
but as you can see from the errors, cmsis_compiler.h was complaining unknown compiler even though __GNUC__ is defined.
Am I missing a define for static analysis?
已解决! 转到解答。
Hi, @JoeSanchez
Hello, you are not missing a definition, error is caused by the rules of the tool during static analysis. The project will not be missing in the project, the project will specify the corresponding compiler to run, you can completely ignore these errors, do not worry.
Hope this helps you.
Best regards, Alex
Hi, @JoeSanchez
Hello, you are not missing a definition, error is caused by the rules of the tool during static analysis. The project will not be missing in the project, the project will specify the corresponding compiler to run, you can completely ignore these errors, do not worry.
Hope this helps you.
Best regards, Alex