Tool/software: TI C/C++ Compiler
Hi Champs,
My customer is designing UART bootloader for F28335. Bootloader is located in FlashA(0x338000~0x33FFFF), and APP is located in FlashC(0x328000~0x32FFFF). For the APP, they use CCS post-build command to generate .bin file.
"${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"
However, they find the generated .bin file is too large. I helped to check the content and find the data layout is as follows.
So FlashB and FlashA, except the CSM, are all zero. So .bin is too large. So my question is how to remove the useless Zeros during compiling and linking? Is any any command or parameters?
Thanks a lot.
BR,
Young