Tool/software: TI C/C++ Compiler
Hi,
when i am added the statement printf(), compiler gives error as "memory is not fit into the available memory
How to increase the memory size?
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,
when i am added the statement printf(), compiler gives error as "memory is not fit into the available memory
How to increase the memory size?
Rani,
Can you provide information in your console window as to what the exact error is? There is not information shown in the image above.
Regards,
Ozino
Santhosh,
I have followed the link and set the value as like that mentioned . But i dont know how to increase .text, .cio section.Here i have attached the linker cmd file of my project .
To increase .text section shall i add FLASH E | FLASH F in that line . it wont affect other section or programming in controller ?
Because i am not aware of memory management of linker cmd file.
Thanks and Regards,
Rani
Rani,
I just added the support for printf() in the empty_project. I have attached it here.
Also, for linker file, please refer to this link:
software-dl.ti.com/.../sdto_cgt_Linker-Command-File-Primer.html
I want to reiterate one more time, printf() is very expansive and is not good way to debug.