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.

AM3356: CCS6.1 编译的.out文件转成bin文件过大

Part Number: AM3356

使用bios/sys,编译器版本6.1,工程编译出来的.out文件大小9K,采用CCS带的post_build.bat生成的bin文件大小达到22M,查看post_build.bat脚本实际调用的是armofd.exe、rmhex.exe和mkhex4bin.exe工具生成的bin文件。工程使用的cmd文件如下:

生成的map文件内容如下

其中.bbs段大小20多兆,查看bin文件内容发现bin文件包含了.bss段.stack段,(都填充为0)。bin文件用于存储在SPI_falsh中 不应该包含.bss段和.stack段。

不知道的cmd文件的问题还是生成的bin文件方式不对,求助该如何解决!