Skip to content

Commit 853a225

Browse files
committed
modules: openthread: rename security related Kconfigs
Rename - CUSTOM_OPENTHREAD_SECURITY as OPENTHREAD_SECURITY_CUSTOM - OPENTHREAD_MBEDTLS_CHOICE as OPENTHREAD_SECURITY_DEFAULT_CONFIG Signed-off-by: Valerio Setti <[email protected]>
1 parent d35067b commit 853a225

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,15 @@ LED Strip
516516

517517
* Renamed ``arduino,modulino-smartleds`` to :dtcompatible:`arduino,modulino-pixels`
518518

519+
OpenThread
520+
==========
521+
522+
* Kconfigs renaming:
523+
- ``CONFIG_OPENTHREAD_MBEDTLS_CHOICE`` to
524+
:kconfig:option:`CONFIG_OPENTHREAD_SECURITY_DEFAULT_CONFIG`
525+
- ``CONFIG_CUSTOM_OPENTHREAD_SECURITY`` to
526+
:kconfig:option:`CONFIG_OPENTHREAD_SECURITY_CUSTOM`
527+
519528
Trusted Firmware-M
520529
==================
521530

modules/openthread/Kconfig

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,28 +147,28 @@ config OPENTHREAD_SHELL
147147
depends on SHELL
148148

149149
config MBEDTLS_PROMPTLESS
150-
default y if !CUSTOM_OPENTHREAD_SECURITY
150+
default y if OPENTHREAD_SECURITY_DEFAULT_CONFIG
151151

152152
choice OPENTHREAD_SECURITY
153-
prompt "OpenThread security"
154-
default OPENTHREAD_MBEDTLS_CHOICE
153+
prompt "OpenThread security configuration"
154+
default OPENTHREAD_SECURITY_DEFAULT_CONFIG
155155

156-
config CUSTOM_OPENTHREAD_SECURITY
157-
bool "Custom"
156+
config OPENTHREAD_SECURITY_CUSTOM_CONFIG
157+
bool "Custom configuration"
158158
help
159159
Security settings will be controlled directly by the user.
160160
Enabling this setting will give access to full control of Mbed TLS
161161
configuration.
162162

163-
config OPENTHREAD_MBEDTLS_CHOICE
164-
bool "Mbed TLS built-in"
165-
select OPENTHREAD_MBEDTLS
163+
config OPENTHREAD_SECURITY_DEFAULT_CONFIG
164+
bool "Default configuration"
165+
select OPENTHREAD_MBEDTLS_CONFIG
166166
help
167167
Use the OpenThread Mbed TLS configuration pre-defined security scheme.
168168

169-
endchoice
169+
endchoice # OPENTHREAD_SECURITY
170170

171-
config OPENTHREAD_MBEDTLS
171+
config OPENTHREAD_MBEDTLS_CONFIG
172172
bool
173173
select MBEDTLS
174174
select MBEDTLS_ENABLE_HEAP

0 commit comments

Comments
 (0)