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: Code Composer Studio
Dear TI Hello,
I am using the DATA_SECTION pragma to define a memory table in RAM for as 1024 floating table.
In the C file I write this line of code:
#pragma DATA_SECTION(InputBuff,"RFFTInput");
STATIC REAL InputBuff[SAMPLE_NB];
In the .cmd file maped the inputBuff to RAMSL5
In another c file i use this table to compute the FFT algorithm,
I have an issue within this file, the compiler prompted undefined variable InputBuff
Could you help me with the "Pragma" definition?
Thank you in advance for help,
S.Tarik,
Tarik,
usrhomeinit said:In the .cmd file maped the inputBuff to RAMSL5
Just wanted to make sure you are creating section RFFTInput which is placed in RAMSL5, not the variable name.
In second .c file, you need to declare variable as extern
Yes I created a section which is placed in RAMSL5, I was not clear,
Thank you I externalize the table and the project compile.
S.Tarik,