Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
fixed-partitions.h
Go to the documentation of this file.
1
6
/*
7
* Copyright (c) 2020, Linaro Ltd.
8
*
9
* SPDX-License-Identifier: Apache-2.0
10
*/
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_FIXED_PARTITION_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_FIXED_PARTITION_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
52
#define DT_NODE_BY_FIXED_PARTITION_LABEL(label) \
53
DT_CAT(DT_COMPAT_fixed_partitions_LABEL_, label)
54
61
#define DT_HAS_FIXED_PARTITION_LABEL(label) \
62
IS_ENABLED(DT_COMPAT_fixed_partitions_LABEL_##label##_EXISTS)
63
69
#define DT_FIXED_PARTITION_ID(node_id) DT_CAT(node_id, _PARTITION_ID)
70
77
#define DT_MTD_FROM_FIXED_PARTITION(node_id) \
78
COND_CODE_1(DT_NODE_HAS_COMPAT(DT_GPARENT(node_id), soc_nv_flash), \
79
(DT_PARENT(DT_GPARENT(node_id))), \
80
(DT_GPARENT(node_id)))
81
86
#ifdef __cplusplus
87
}
88
#endif
89
90
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_FIXED_PARTITION_H_ */
include
devicetree
fixed-partitions.h
Generated on Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2