Commit graph

2 commits

Author SHA1 Message Date
Enjia Mai d41c56c430 tests: misc: move the kconfig options test to new ztest API
Migrate the testsuite tests/misc/kconfigoptions to the new
ztest API.

Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-09-09 10:17:29 -05:00
Eivind Jølsgard 3865e08c96 scripts/Kconfig: add dt_node_array_prop Kconfig functions
The motivation is to allow accessing array elements from device tree
properties in Kconfig.
* Add dt_node_array_prop and _node_array_prop functions to extract the
array elements from properties.
* Add 'dt_node_array_prop_int' and 'dt_node_array_prop_hex' keys to use
in Kconfig.

Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
2022-08-18 12:21:33 +02:00