This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS5.3 生成.bin文件很大的问题。

 

您好。

我使用命令

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ARMofd" "${CG_TOOL_ROOT}/bin/ARMhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"

将 .out 文件转化为 .bin文件。 其中生成 .out文件  3M左右,生成.bin文件 12M .    bin文件里头有很多至少有 11M是 0 ,怀疑生成.bin文件将 bss段写入了。

如何减小.bin文件大小?

芯片是  am335x,  compiler version TI v5.02 . output format    eabi(ELF).

CCS版本为  5.3.0