• Placing sections at a specific address
    I used the following code to specify the address of variable bar at 0x4000 and the address of function fun at 0x8002000 . int bar __attribute__((section(".ARM.__at_0x4000"))); void fun(void) __attribute__...
  • Problems with placing a variable in a named section with scatter-loading
    Hello I'm having problems placing a variable in a named section with scatter-loading. I'm following Placing functions and data at specific addresses and I can actually see the new section in the map...
  • Can't place section first in ram?
    I am attempting to place a section at the first address in ram. However, the linker always puts the section second in ram. Here is my scatter file: LR_IROM1 0x00000000 0x00004000 { ; load region...
  • Placing variables in ROM
    I'm targeting a STM32. How can I define a large array of data in ROM? Also, is it possible to somehow "attach" a HEX file to a project so that when the project is loaded into the target...it automatically...
  • Place static variable in RAM?
    Hi All If I declare a variable (or a data struct) static, the data is placed in the IRAM. I guess the static data is moved to the IRAM before the "main" in called and probally also before the SDRAM...