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.

Compiler/PROCESSOR-SDK-AM335X: No image size reduction for Release build

Part Number: PROCESSOR-SDK-AM335X

Tool/software: TI C/C++ Compiler

Support Path: /Product/Help with Device Selection/

Hello,

As part of the processor SDK RTOS Getting Started Guide, I built the rtos_template_app project for the TMDSSK3358 starter kit board. 

1. When I build the Debug configuration the generated .out file is 1,593,124 bytes.  If I add a post-processing step pdkAppImageCreate to generate a bin file suitable for programming to NOR flash, the bin file size is 918,592 bytes. This seems extremely large for a simple image containing only UART, I2C, McSPI, and DSP/BIOS support.  Any thoughts on that?

2. When I build the Release configuration I expected the resulting .bin file to be reduced due to higher compiler optimization level, symbols being stripped, etc.  But the generated Release .out file is actually larger, at 1,594,140 bytes.  And the bin file size is 918,592 bytes, the same as the Debug build.

My question, why is there no reduction in the Release image size?  (what is the purpose of a Release image?)

thanks,

Keith