place in directive
Syntax
[ "name": ] place [ noload ] inregion-expr[ with mirroring tomirror_address] {extended-selectors} [ except{section-selectors} ];
where region-expr is a region expression, see also Regions.
and where the rest of the directive selects sections to include in the block. See Section selection.
Parameters
| Optional. If it is specified, it is used in the map file, in some log messages, and is part of the name of any ELF output sections resulting from the directive. (This is entirely a matter of presentation. There is no connection to names used in the application.) |
| Optional. If it is specified, it prevents the sections in the directive from being loaded to the target system. To use the sections, you must put them into the target system in some other way. |
| If Note: |
Description
The place in directive places sections and blocks in a specific region. The sections and blocks will be placed in the region in an arbitrary order.
To specify a specific order, use the define block directive. The region can have several ranges.
Note
When with mirroring to is specified, the region-expr must result in a single range.
Example
/* Place the read-only sections in the code_region */
"ROM": place in ROM { readonly };