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.

rtslib memory placement

Hi,

I am trying to selectively place the .text section of some files into a different memory using linker cmd file.

SECTIONS

{

    .my_text: {

            fsf.obj (.text)

        } >    L2RAM

.text       >      DDR

}

The above syntax works, where fsf.obj is our project file. However if I replace the above with the divd.obj file of the rtslib, it fails.

SECTIONS

{

    .my_text: {

            divd.obj (.text)

        } >    L2RAM

.text       >      DDR

}

error message

Compilation failure

"../BootLoader.cmd", line 13: warning #10068-D: no matching section divd.obj (.text)

GanZ

  • Hi,

    I'm not an expert on linker options, but I think because you're trying to do something coming from a library is the problem.  Not even sure what architecture you are coming from but checkout SPRU186W.pdf (or latest version) for additonal information on assembly language tools.

    Judah