1.自动生成bin文件
在User菜单中,After Build/Rebuid中填入如下命令:
fromelf.exe --bin -o ../../../03_Bin/Xuanlun.bin ../../Output/Xuanlun.axf
图 1 自动生成bin文件命令
2.复制文件
在User菜单中,After Build/Rebuid中填入如下命令:
cmd.exe /c copy .out_580XuanLun_BLE.hex ............ 3_HEX
其中 /c 表示执行cmd后关闭命令窗口。
图 2 复制文件命令