Tool/software: TI C/C++ Compiler
Hi Sirs:
I used the CCS to compile my code. When I changed the cmd file from ">" to ">>", I found that the code size is changed. I don't know what difference are they.
thanks
Li-Feng
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.
Tool/software: TI C/C++ Compiler
Hi Sirs:
I used the CCS to compile my code. When I changed the cmd file from ">" to ">>", I found that the code size is changed. I don't know what difference are they.
thanks
Li-Feng
The sections .ebss, vib_buf_data and graph_data are all allocated to the memory range D_RAML0. Ignore .ebss for a moment. It must be the case that the allocation of vib_buf_data and graph_data cause a gap in memory between them. Now consider the allocation of .ebss. Without section splitting, all of .ebss is allocated contiguously. That gap goes unfilled. Using section splitting removes the contiguous requirement. Section splitting is allowed because of the syntax change from > to >>. Now that gap between vib_buf_data and graph_data has some part of .ebss in it. The overall result is less memory usage.
Thanks and regards,
-George