STM32CubeIDE常用操作:生成hex文件、复制工程

1、生成hex文件

Project --- Properties --- C/C++ General --- Setting --- 打钩 Convert to Intel Hex file (- O ihex)

STM32CubeIDE常用操作:生成hex文件、复制工程STM32CubeIDE常用操作:生成hex文件、复制工程

 

 

2、复制工程

右键工程 --- Copy(复制)

STM32CubeIDE常用操作:生成hex文件、复制工程

在 project explorer框空白处右键 --- Paste(粘贴)--- 点击 Copy

STM32CubeIDE常用操作:生成hex文件、复制工程

但是:此时复制的TEST2工程的TEST.ico无法打开,提示如下错误。

STM32CubeIDE常用操作:生成hex文件、复制工程

解决:重命名TEST.ico,重命名的名字与工程名一致即可

STM32CubeIDE常用操作:生成hex文件、复制工程

STM32CubeIDE常用操作:生成hex文件、复制工程

就可以打开了。