选中左边栏中的Linker在右边的选项卡中选中第一项output勾中Output file下的选项并将输出文件名后 辍改为.hex.
在Format选项框中选中Other,Output 后 选择inter-extneded其他的值保持默认。