Issues/issue 593 update to zephyr v3 6 0 (#601)
* [WIP] update manifest to zephyr v3.6.0
* [WIP] Deprecated ZTEST_NEW_API adjustments
Zephyr v3.6.0 removed Kconfig ZTEST_NEW_API.
The old ZTEST API is still used by non-Zephyr builds,
so the config setting is moved from `prj.conf` to
the test's CMakeLists.txt as `add_compile_definitions()`.
Verified by:
1. make clean all test
2. ./zephyr/scripts/twister -p unit_testing \
-T bacnet-stack/zephyr/tests/
---------
Co-authored-by: Gregory Shue <gregory.shue@legrand.com>
This commit is contained in:
@@ -77,3 +77,5 @@ else()
|
||||
${TEST_OBJECT_SRC}/property_test.c
|
||||
)
|
||||
endif()
|
||||
|
||||
add_compile_definitions(CONFIG_ZTEST_NEW_API) # For exposing deprecated Kconfig
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
CONFIG_ZTEST=y
|
||||
CONFIG_ZTEST_NEW_API=y
|
||||
CONFIG_BACNETSTACK=y
|
||||
|
||||
Reference in New Issue
Block a user