This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

scatter-file selection

Hello,

now I wrote a easy scatter-file with three sections (external flash, internal RAM and external SRAM). I tested it and it works.

Now I want to make another section within the external SRAM, where the data should be stored from the peripherial. Therefore I have one pointer (installed in the internal RAM section) which has the address where the data should be stored (within the external sram).

scatterfile-section:

EXTERNAL_RAM2 0x20000000 0x3FFFF
        {

        }

But how could I tell the ptr to store the data within this section?

int *ptr_to_RAM = __attribute__((__at(0x20000000)));

best regards
tobi