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.

请问CCS5.1中rts2800n.lib在cmd文件中如何指定位置?



我想把rts2800n.lib和Flash2812_API_V210.lib编译到指定的flash扇区,在cmd文件中书写如下语句:

   Flash28_API:

    {

        -lFlash2812_API_V210.lib(.econst) 

        -lFlash2812_API_V210.lib(.text)

    }LOAD = FLASHA,  PAGE = 0

RUN =RAMH0 ,  PAGE = 1

 

rts2800n:

    {

        -lrts2800n.lib(.econst) 

        -lrts2800n.lib(.text)

    }LOAD = FLASHA,  PAGE = 0

RUN =RAMH0 ,  PAGE = 1

在 CCS3.3中编译没有问题,但在CCS5.1中编译却对rts2800n段产生了警告:"../cmd/FLASH.cmd", line 89: warning: no matching section(我对编译路径设置了也不行),而我发现Flash2812_API_V210.lib段却不会警告。

请问CCS5.1中cmd文件对rts2800n.lib段定位该如何表示?