LoginSignup
4
9

More than 3 years have passed since last update.

STM32CubeIDEでプロジェクトのコピー

Posted at

はじめに

テスト用のプロジェクトを作成して、それをコピーして別のプロジェクトを作りたいことは、よくあると思います。STM32CubeIDEでそれをやってみました。

プロジェクトのコピー

まずはプロジェクトエクスプローラーでコピーしてペーストします。プロジェクトはアクティブにする必要があります。
image.png
そのあとペーストします。
image.png
プロジェクトの名前をつけます
image.png

*.iocファイルの修正

.iocファイルを開こうとするとこんなエラーが出ます。
image.png
これはプロジェクトエクスプローラーで
.iocファイルを新しいプロジェクト名と合わせることで回避できます。
image.png
Saveしてコード生成します。

実行バイナリの選択

F11でプログラム実行時に、実際に新しく生成したバイナリを選びます。
image.png

おわりに

これで、STM32CubeIDE上でプロジェクトのコピーが可能です。

4
9
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
4
9