I am attempting to perform static analysis of a project utilising C-STAT in IAR. As per: https://renesasrulz.com/synergy/b/weblog/posts/improving-software-quality-using-the-c-stat-static-code-analysis-tool
However I get the following error when analysing files:
Each file analysis fails with the following;
"synergy\ssp\src\framework\el\tx\tx_src\tx_thread.h",649 Fatal error[Pe035]:
#error "Secure builder required to compile this file"
Will C-STAT not work when ThreadX source has been selected in the SSP configuration?
Has anyone successfully used C-STAT with their Synergy project?
Any assistance is appreciated.
Yes I am able to run C-STAT on specific files rather than the whole lot.
However I would still like to use it on my source files that are including some ThreadX and NetX headers.
FYI, I also found this forum thread which is a similar issue;
Thanx for cross posting this thread. It shows the following fix for a Trace-X related issue.
I was able to confirm that disabling TX_ENABLE_EVENT_TRACE avoided the need to include encrypted headers.