Skip to content

Commit 6cd0a77

Browse files
modules: openthread: Add Kconfig check for precompiled libraries
Add configuration validation when using precompiled OpenThread libraries. This helps users identify Kconfig options that differ from the library's built-in configuration and would have no effect. - Create openthread_kconfig_check.cmake with utilities for tracking Kconfig to OT option mappings - Move the kconfig_to_ot_option macro for boolean options to a separate script file. - Add kconfig_to_ot_string_option macro for string options - Register all OpenThread Kconfig options including FTD/MTD and string options like POWER_SUPPLY, THREAD_VERSION, etc. - Add kconfig_to_ot_string_option macro for string options - Add openthread_check_kconfig_for_precompiled_libs function that: - Reads openthread_lib_configuration.txt from the selected library - Compares current Kconfig values with library OT_* values - Displays a warning listing differing options when mismatches found When CONFIG_OPENTHREAD_SOURCES is not set, users will now see a warning if their configuration differs from the precompiled library, guiding them to either adjust their config or build from sources. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent d6c88a7 commit 6cd0a77

File tree

4 files changed

+324
-130
lines changed

4 files changed

+324
-130
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ nRF IEEE 802.15.4 radio driver
169169
Thread
170170
------
171171

172-
|no_changes_yet_note|
172+
* Added a warning when using precompiled OpenThread libraries with modified Kconfig options related to the OpenThread stack.
173173

174174
Wi-Fi®
175175
------

0 commit comments

Comments
 (0)