You copied the Doc URL to your clipboard.

Expression usage in scatter files

Expressions can be used in the following places:

  • Load and execution region base_address.

  • Load and execution region +offset.

  • Load and execution region max_size.

  • Parameter for the ALIGN, FILL or PADVALUE keywords.

  • Parameter for the ScatterAssert function.

LR1 0x8000 (2 * 1024)
{
    ER1 +0 (1 * 1024)
    {
        *(+RO)
    }
    ER2 +0 (1 * 1024)
    {
        *(+RW +ZI)
    }
}