1、在Project Exploer鼠标右键点击工程名
2、选择properties ----> c/c++ Build ----> Settings
3 、Tool Settings ----> MCU Post build outputs
4、bin文件:选Convert to binary file (-O binary)
5、hex文件:选Convert to Hex file (-O ihex)
如下图所示:
1、在Project Exploer鼠标右键点击工程名
2、选择properties ----> c/c++ Build ----> Settings
3 、Tool Settings ----> MCU Post build outputs
4、bin文件:选Convert to binary file (-O binary)
5、hex文件:选Convert to Hex file (-O ihex)
如下图所示: