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: How to place array in specific memory page using Tconf tool

Tool/software: TI C/C++ Compiler

Hi!

My customer is needed to add additional array for storing PNA records for Prime PLC code.

But there is no free space in L36SARAM page.

To solve the probblem we want to place the arry in L8SARAM(it seems like not used). Like this:

pragma SET_DATA_SECTION("_L8SARAM_")
volatile int32 some_array[100];
#pragma SET_DATA_SECTION()

But we do not have a separate memory section for L8SARAM in prime_ec_f2806xcfg.cmd. Also, linker script can not be modified directly because its generated by Tconf tool from file prime_ec_f2806x.tcf.

How we can place the array in the L8SARAM page or in some other free space?

BR, Vsevolod.

PNA
records