|
Zephyr API Documentation 4.3.0-rc2
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
| #define | LINKER_DT_NODE_REGION_NAME_TOKEN(node_id) |
| Get the linker memory-region name in a token form. | |
| #define | LINKER_DT_NODE_REGION_NAME(node_id) |
| Get the linker memory-region name. | |
| #define | LINKER_DT_NODE_REGION_FLAGS(node_id) |
| Get the linker memory-region flags with parentheses. | |
| #define | LINKER_DT_REGIONS() |
| Generate linker memory regions from the device tree nodes with compatible 'zephyr,memory-region'. | |
| #define | LINKER_DT_SECTIONS() |
| Generate linker memory sections from the device tree nodes with compatible 'zephyr,memory-region'. | |
| #define LINKER_DT_NODE_REGION_FLAGS | ( | node_id | ) |
Get the linker memory-region flags with parentheses.
This attempts to return the zephyr,memory-region-flags property with parentheses. Return empty string if not set the property.
Example devicetree fragment:
Example usage:
| node_id | node identifier |
| #define LINKER_DT_NODE_REGION_NAME | ( | node_id | ) |
Get the linker memory-region name.
This attempts to use the zephyr,memory-region property (with non-alphanumeric characters replaced with underscores).
Example devicetree fragment:
Example usage:
| node_id | node identifier |
| #define LINKER_DT_NODE_REGION_NAME_TOKEN | ( | node_id | ) |
Get the linker memory-region name in a token form.
This attempts to use the zephyr,memory-region property (with non-alphanumeric characters replaced with underscores) returning a token.
Example devicetree fragment:
Example usage:
| node_id | node identifier |
| #define LINKER_DT_REGIONS | ( | ) |
Generate linker memory regions from the device tree nodes with compatible 'zephyr,memory-region'.
Note: for now we do not deal with MEMORY attributes since those are optional, not actually used by Zephyr and they will likely conflict with the MPU configuration.
| #define LINKER_DT_SECTIONS | ( | ) |
Generate linker memory sections from the device tree nodes with compatible 'zephyr,memory-region'.