|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Flash Devicetree macro public API header file, for partitions. More...
#include <zephyr/sys/util_macro.h>#include <zephyr/devicetree/mapped-partition.h>#include <zephyr/devicetree/fixed-partitions.h>Go to the source code of this file.
Macros | |
| #define | DT_NODE_BY_PARTITION_LABEL(label) |
| Get a node identifier for a partition with a given label property. | |
| #define | DT_HAS_PARTITION_LABEL(label) |
| Test if a partition with a given label property exists. | |
| #define | DT_PARTITION_EXISTS(node_id) |
| Test if zephyr,mapped-partition, fixed-partitions or fixed-subpartitions compatible node exists. | |
| #define | DT_PARTITION_ID(node_id) |
| Get a numeric identifier for a partition. | |
| #define | DT_MEM_FROM_PARTITION(node_id) |
| Get the node identifier of the NVM memory for a partition. | |
| #define | DT_MTD_FROM_PARTITION(node_id) |
| Get the node identifier of the NVM controller for a partition. | |
| #define | DT_PARTITION_ADDR(node_id) |
| Get the absolute address of a partition This macro can only be used with partitions of internal memory addressable by the CPU. | |
Flash Devicetree macro public API header file, for partitions.