Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
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)    DT_CAT(DT_COMPAT_fixed_partitions_LABEL_, label)
 Get a node identifier for a fixed partition with a given label property. More...
 
#define DT_HAS_FIXED_PARTITION_LABEL(label)    IS_ENABLED(DT_COMPAT_fixed_partitions_LABEL_##label##_EXISTS)
 Test if a fixed partition with a given label property exists. More...
 
#define DT_FIXED_PARTITION_ID(node_id)   DT_CAT(node_id, _PARTITION_ID)
 Get a numeric identifier for a fixed partition. More...
 
#define DT_MTD_FROM_FIXED_PARTITION(node_id)
 Get the node identifier of the flash device for a partition. More...
 

Detailed Description

Flash Devicetree macro public API header file.