doc: kconfig: Add missing preprocessor functions
Add preprocessor functions missing from the documentation list. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
3418b53173
commit
42f77ef836
1 changed files with 12 additions and 0 deletions
12
doc/build/kconfig/preprocessor-functions.rst
vendored
12
doc/build/kconfig/preprocessor-functions.rst
vendored
|
@ -33,21 +33,31 @@ while the ``*_hex`` version returns a hexadecimal value starting with ``0x``.
|
||||||
$(dt_chosen_enabled,<property in /chosen>)
|
$(dt_chosen_enabled,<property in /chosen>)
|
||||||
$(dt_chosen_has_compat,<property in /chosen>)
|
$(dt_chosen_has_compat,<property in /chosen>)
|
||||||
$(dt_chosen_label,<property in /chosen>)
|
$(dt_chosen_label,<property in /chosen>)
|
||||||
|
$(dt_chosen_partition,addr_hex,<chosen>[,<index>,<unit>])
|
||||||
|
$(dt_chosen_partition,addr_int,<chosen>[,<index>,<unit>])
|
||||||
$(dt_chosen_path,<property in /chosen>)
|
$(dt_chosen_path,<property in /chosen>)
|
||||||
$(dt_chosen_reg_addr_hex,<property in /chosen>[,<index>,<unit>])
|
$(dt_chosen_reg_addr_hex,<property in /chosen>[,<index>,<unit>])
|
||||||
$(dt_chosen_reg_addr_int,<property in /chosen>[,<index>,<unit>])
|
$(dt_chosen_reg_addr_int,<property in /chosen>[,<index>,<unit>])
|
||||||
$(dt_chosen_reg_size_hex,<property in /chosen>[,<index>,<unit>])
|
$(dt_chosen_reg_size_hex,<property in /chosen>[,<index>,<unit>])
|
||||||
$(dt_chosen_reg_size_int,<property in /chosen>[,<index>,<unit>])
|
$(dt_chosen_reg_size_int,<property in /chosen>[,<index>,<unit>])
|
||||||
|
$(dt_compat_any_has_prop,<compatible string>,<prop>)
|
||||||
|
$(dt_compat_any_on_bus,<compatible string>,<prop>)
|
||||||
$(dt_compat_enabled,<compatible string>)
|
$(dt_compat_enabled,<compatible string>)
|
||||||
$(dt_compat_on_bus,<compatible string>,<bus>)
|
$(dt_compat_on_bus,<compatible string>,<bus>)
|
||||||
$(dt_gpio_hogs_enabled)
|
$(dt_gpio_hogs_enabled)
|
||||||
$(dt_has_compat,<compatible string>)
|
$(dt_has_compat,<compatible string>)
|
||||||
|
$(dt_has_compat_enabled,<compatible string>)
|
||||||
|
$(dt_node_array_prop_hex,<node path>,<prop>,<index>[,<unit>])
|
||||||
|
$(dt_node_array_prop_int,<node path>,<prop>,<index>[,<unit>])
|
||||||
$(dt_node_bool_prop,<node path>,<prop>)
|
$(dt_node_bool_prop,<node path>,<prop>)
|
||||||
$(dt_node_has_compat,<node path>,<compatible string>)
|
$(dt_node_has_compat,<node path>,<compatible string>)
|
||||||
$(dt_node_has_prop,<node path>,<prop>)
|
$(dt_node_has_prop,<node path>,<prop>)
|
||||||
$(dt_node_int_prop_hex,<node path>,<prop>[,<unit>])
|
$(dt_node_int_prop_hex,<node path>,<prop>[,<unit>])
|
||||||
$(dt_node_int_prop_int,<node path>,<prop>[,<unit>])
|
$(dt_node_int_prop_int,<node path>,<prop>[,<unit>])
|
||||||
$(dt_node_parent,<node path>)
|
$(dt_node_parent,<node path>)
|
||||||
|
$(dt_node_ph_array_prop_hex,<node path>,<prop>,<index>,<cell>[,<unit>])
|
||||||
|
$(dt_node_ph_array_prop_int,<node path>,<prop>,<index>,<cell>[,<unit>])
|
||||||
|
$(dt_node_ph_prop_path,<node path>,<prop>)
|
||||||
$(dt_node_reg_addr_hex,<node path>[,<index>,<unit>])
|
$(dt_node_reg_addr_hex,<node path>[,<index>,<unit>])
|
||||||
$(dt_node_reg_addr_int,<node path>[,<index>,<unit>])
|
$(dt_node_reg_addr_int,<node path>[,<index>,<unit>])
|
||||||
$(dt_node_reg_size_hex,<node path>[,<index>,<unit>])
|
$(dt_node_reg_size_hex,<node path>[,<index>,<unit>])
|
||||||
|
@ -65,7 +75,9 @@ while the ``*_hex`` version returns a hexadecimal value starting with ``0x``.
|
||||||
$(dt_nodelabel_reg_size_hex,<node label>[,<index>,<unit>])
|
$(dt_nodelabel_reg_size_hex,<node label>[,<index>,<unit>])
|
||||||
$(dt_nodelabel_reg_size_int,<node label>[,<index>,<unit>])
|
$(dt_nodelabel_reg_size_int,<node label>[,<index>,<unit>])
|
||||||
$(dt_path_enabled,<node path>)
|
$(dt_path_enabled,<node path>)
|
||||||
|
$(normalize_upper,<string>)
|
||||||
$(shields_list_contains,<shield name>)
|
$(shields_list_contains,<shield name>)
|
||||||
|
$(substring,<string>,<start>[,<stop>])
|
||||||
|
|
||||||
|
|
||||||
Example Usage
|
Example Usage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue