Hi,
I have in my project some files used for debug than contain printf with char strings (defined directly into printf function).
for example: printf("DSP firmware version : %s\r\n", VERSION);
I use CODE_SECTION and DATA_SECTION pragmas to create new sections to place these debug features in DDR3 instead of L2SRAM, but char strings still appears in .const section as .const:.string
Is there something like a pragma to declare into each source file to put .const:.string into specific section (like for code and data)?
I've found a solution in sysbios .cfg file to put .const:.string section in DDR3, but this apply to all .const:.string section, but I want to do this only for my debug files.
Program.sectMap[".const:.string"] = new Program.SectionSpec();
Program.sectMap[".const:.string"].loadSegment = "DDR3";
I'm working on tms320C6654 with ccs 6.1.3 compiler 7.4.16 sysbios 6.46.0.23 and xdctools 3.32.0.6
Thanks for your help