1.在左侧Project Explorer中项目名上点击鼠标右键,如下图:
弹出如下对话框:
2. 在Post-build steps中输入如下内容:
${CCS_UTILS_DIR}/tiobj2bin/tiobj2bin ${ProjName}.out ${ProjName}.bin ${CG_TOOL_ROOT}/bin/tiarmofd ${CG_TOOL_ROOT}/bin/tiarmhex ${CCS_UTILS_DIR}/tiobj2bin/mkhex4bin
3. 点击Apply and Close关闭对话空,然后依次Clean Build, Build Project将会生成bin格式的固件
参考:【TI-CCS】工程编译配置 bin文件的编译和生成 各种架构的Post-build配置汇总_ti编译器-CSDN博客