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

How To get a location in execution section in Scatter file

Like in GNU linker file location counter is supported to get the current location in output section... Is there any way to do the same in scatter file ?

Parents
  • Hello,

    You can create execution regions at specific offsets from previous ones, by setting base address as "+offset". For example:

    LOADREGION 0x1000000
    {
        REGION1 0x1000000 {...}
        REGION2 +0x4000   {...}
    }

    Would this achieve what you wish to do?

Reply
  • Hello,

    You can create execution regions at specific offsets from previous ones, by setting base address as "+offset". For example:

    LOADREGION 0x1000000
    {
        REGION1 0x1000000 {...}
        REGION2 +0x4000   {...}
    }

    Would this achieve what you wish to do?

Children
No data