2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

STM32 CUBEIDEでCppCheckを使用する.

Last updated at Posted at 2022-05-17

STM32 CUBEIDEでCppCheckを使用する.

プラグインのダウンロードで失敗したので対策を書きました。

1. CppCheckのインストール.

問題なくインストールできる。

2. IDEのプラグインCppCheclipseのインストール.

IDEの[ヘルプ]-[Eclipseマーケットプレース]で"CppCheclipse"を入力して"インストール"を押すと、
"エラー502" でインストールできない。

以下にアクセスすると中ほどにリリース版のインストール方法とダウンロードのリンクがある。

以下からzipファイルをダウンロード

  1. [ヘルプ]-[新規ソフトウェアのインストール]-[追加]
  2. "アーカイブ"を押して、ダウンロードしたzipを選択して"追加"を押す。
  3. cppcheclipseにチェック入れてインストール。
  4. 更新して再起動。

再起動後、[ウインドウ]-[設定]でcppcheclipseを選択、
exeのパスを設定。

Cpp.jpg

[設定]でCheck for all know issueをとりあえず選択しておく。

プロジェクトエクスプローラで右クリックし"CppCheck"でコードチェックができるようになる。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?