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/LAUNCHXL-F28379D: #pragma DATA_SECTION

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

C2000 support,

In C2000Ware_libraries_dsp_SGEN_c28_examples_2833xSGENT2 

/* Create an instance of Signal generator module */
SGENT_2 sgen = SGENT_2_DEFAULTS;

#pragma DATA_SECTION(ipcb, "SGENipcb");
#pragma DATA_SECTION(ipcbsrc, "SGENipcbsrc");

I'm going to implement this program on Launchpad_F28379D. How are these content modified?

Best regards,

Jingtai

  • Jingtai,

    Presume you will start with a 28379x project. You will need to import in the source files associated with this example, include the SGEN library, and ensure that SGENipcb, SGENipcbsrc, as well as SINTBL are properly allocated in the F28379 linker command file. Where you allocate them is up to you. You can use the existing 2833x cmd file as an example, and if those sections are available, you can put them there.

    Thanks,

    Sira

  • Sira,

    I imported SGENT2 according to your instruction and has finished debug. I'll continue to implement this program on F28379D.

    Thanks for your support.

    Jingtai