Commit Graph

6 Commits

Author SHA1 Message Date
Alberto Escolar Piedras 161b236124 tests/misc/kconfigoptions: Switch to native_sim
Switch from native_posix to native_sim as test platform
and switch overlay to native_sim.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-27 16:06:42 +00:00
Anas Nashif 345735d0a8 tests: remove CONFIG_ZTEST_NEW_API in all tests
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-20 15:04:29 +02:00
Jordan Yates a18761e298 tests: misc: kconfigoptions: test new options
Test new kconfig options.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2023-08-02 10:38:23 +02:00
Anas Nashif 79e2f22c6e tests: misc: fix identifiers
Do no use misc as component for test identifier.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-08-01 13:24:09 -04:00
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