Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mapped-partition.h File Reference

Flash Devicetree macro public API header file, for memory-mapped partitions. More...

Go to the source code of this file.

Macros

#define DT_NODE_BY_MAPPED_PARTITION_LABEL(label)
 Get a node identifier for a mapped partition with a given label property.
#define DT_HAS_MAPPED_PARTITION_LABEL(label)
 Test if a mapped partition with a given label property exists.
#define DT_MAPPED_PARTITION_EXISTS(node_id)
 Test if zephyr,mapped-partition compatible node exists.
#define DT_MAPPED_PARTITION_ID(node_id)
 Get a numeric identifier for a mapped partition.
#define DT_MEM_FROM_MAPPED_PARTITION(node_id)
 Get the node identifier of the NVM memory for a partition.
#define DT_MTD_FROM_MAPPED_PARTITION(node_id)
 Get the node identifier of the NVM controller for a partition.
#define DT_MAPPED_PARTITION_ADDR(node_id)
 Get the absolute address of a mapped partition.
#define DT_MAPPED_PARTITION_OFFSET(node_id)
 Get the offset address of a mapped partition from the NVM node.

Detailed Description

Flash Devicetree macro public API header file, for memory-mapped partitions.