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

Linking process very slow when declaring large amount of data

Hi, in my project on a Cortex-M4 with an external sdram I declare a large amount of data (63 arrays of 1MByte) placed in a dedicated section using scatter file.

The data are declared all in a separate module.

I noticed that the linking process is very slow and  depends on the amount of data declared, is there a workaround?

Thank you, kind regards.

John

Parents Reply Children
  • About one minute if I use the form:

    unsigned char buffer[64][1048576] __attribute__((section("SDRAM")));   (where SDRAM is a (+RW) section in scatter file)

    and few seconds if i use:

    unsigned char buffer[64][1048576] __attribute__((section(".ARM.__at_0x60000000")));

    John