Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
fixed-partitions.h File Reference

Flash Devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_NODE_BY_FIXED_PARTITION_LABEL(label)
 Get a node identifier for a fixed partition with a given label property.
#define DT_HAS_FIXED_PARTITION_LABEL(label)
 Test if a fixed partition with a given label property exists.
#define DT_FIXED_PARTITION_EXISTS(node_id)
 Test if fixed-partition compatible node exists.
#define DT_FIXED_PARTITION_ID(node_id)
 Get a numeric identifier for a fixed partition.
#define DT_MEM_FROM_FIXED_PARTITION(node_id)
 Get the node identifier of the flash memory for a partition.
#define DT_MTD_FROM_FIXED_PARTITION(node_id)
 Get the node identifier of the flash controller for a partition.
#define DT_FIXED_PARTITION_ADDR(node_id)
 Get the absolute address of a fixed partition.
#define DT_FIXED_SUBPARTITION_EXISTS(node_id)
 Test if fixed-subpartitions compatible node exists.
#define DT_MEM_FROM_FIXED_SUBPARTITION(node_id)
 Get the node identifier of the flash memory for a subpartition.
#define DT_MTD_FROM_FIXED_SUBPARTITION(node_id)
 Get the node identifier of the flash controller for a subpartition.
#define DT_FIXED_SUBPARTITION_ADDR(node_id)
 Get the absolute address of a fixed subpartition.

Detailed Description

Flash Devicetree macro public API header file.