• Named regions with zero_init attribute
    Hi, I've some confusion with named regions and their attributes. In my case, I've a named region as below: #define SHARED_DATA_ZI __attribute__((section("data_shared_zi"),zero_init) and then in...
  • Placing Variables in Section
    Hi, How to place variables in existing section eg. LR_IROM1 0x00000000 0x00080000 { ; load region size_region ER_IROM1 0x00000000 0x00080000 { ; load address = execution address *.o (RESET, +First...
  • Manual placement of Uninitialise section in Scatter load
    Note: This was originally posted on 13th August 2009 at http://forums.arm.com I have added following line of code in source file. [ i]XXX.c ..... const uint32 REG__attribute__((section("CONSTSEG")));...
  • Migrating from armcc to armclang causes section type conflict
    I am trying to migrate an existing project from armcc to armclang using Keil. Most of the new errors generated by simply switching the compiler have been easily cleaned up with help from their migration...
  • 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__...