Code analysis doing nothing?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code analysis doing nothing?

ソリューションへジャンプ
1,431件の閲覧回数
martinfierz
Contributor II

Dear community,

I am using MCUxpresso 10.3.1 (2233), and I would like to use the integrated code analysis. However, I must be missing something as it's never doing anything. I am using the project explorer window to right-click on a source file (e.g. main.c) and choosing "Run C/C++ Code Analysis" from the popup menu. Then nothing happens. Can somebody tell me what I'm missing?

thx in advance

  Martin

1 解決策
1,337件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Martin,

Check if you have enabled Code Analysis (see Free Static Code Analysis with Eclipse | MCU on Eclipse ).

Check the properties of your project: usually it uses a workspace setting:

pastedImage_3.png

In that setting, enable the items you want to have checked.

I hope this helps,

Erich

元の投稿で解決策を見る

2 返答(返信)
1,337件の閲覧回数
martinfierz
Contributor II

Hi Erich,

thanks - that helped! I didn't realize I had to first enable code analysis settings.

(I would have expected the code analysis menu command to at least display a warning/tip that I should enable it somewhere)

best regards

  Martin

0 件の賞賛
1,338件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Martin,

Check if you have enabled Code Analysis (see Free Static Code Analysis with Eclipse | MCU on Eclipse ).

Check the properties of your project: usually it uses a workspace setting:

pastedImage_3.png

In that setting, enable the items you want to have checked.

I hope this helps,

Erich