Skip to content

Commit 70b507f

Browse files
jerome-pouillerMaureenHelm
authored andcommitted
modules: hal_silabs: Unify KConfig options names
Currently, the options related to the Rail library are just prefixed by RAIL_. We prefer to keep all the options related to Simplicity SDK into the same namespace. So, just add the required prefix to these options. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent 34bdd17 commit 70b507f

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,17 @@ Modules
104104
* The TinyCrypt library was removed as the upstream version is no longer maintained.
105105
PSA Crypto API is now the recommended cryptographic library for Zephyr.
106106

107+
Silabs
108+
======
109+
110+
* Aligned the name of the Rail options with the other SiSDK related options:
111+
112+
* :kconfig:option:`CONFIG_RAIL_PA_CURVE_HEADER` to
113+
:kconfig:option:`CONFIG_SILABS_SISDK_RAIL_PA_CURVE_HEADER`
114+
* :kconfig:option:`CONFIG_RAIL_PA_CURVE_TYPES_HEADER` to
115+
:kconfig:option:`CONFIG_SILABS_SISDK_RAIL_PA_CURVE_TYPES_HEADER`
116+
* :kconfig:option:`CONFIG_RAIL_PA_ENABLE_CALIBRATION` to
117+
:kconfig:option:`CONFIG_SILABS_SISDK_RAIL_PA_ENABLE_CALIBRATION`
118+
107119
Architectures
108120
*************

modules/hal_silabs/simplicity_sdk/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ config SILABS_SISDK_TIMER
1616
config SILABS_SISDK_VDAC
1717
bool "Peripheral HAL for VDAC"
1818

19-
config RAIL_PA_CURVE_HEADER
19+
config SILABS_SISDK_RAIL_PA_CURVE_HEADER
2020
string "RAIL PA custom curve header file"
2121
default "pa_curves_efr32.h"
2222
help
2323
Name of custom PA curve header file for use by PA initialization.
2424
See AN1127 for information on how to create a custom PA curve.
2525
The header file must be available on the include path.
2626

27-
config RAIL_PA_CURVE_TYPES_HEADER
27+
config SILABS_SISDK_RAIL_PA_CURVE_TYPES_HEADER
2828
string "RAIL PA curve types header file"
2929
default "pa_curve_types_efr32.h"
3030
help
3131
Name of custom PA curve type header file for use by PA initialization.
3232
See AN1127 for information on how to create a custom PA curve.
3333
The header file must be available on the include path.
3434

35-
config RAIL_PA_ENABLE_CALIBRATION
35+
config SILABS_SISDK_RAIL_PA_ENABLE_CALIBRATION
3636
bool "RAIL PA: apply factory calibration offset"
3737
default y
3838
help

modules/hal_silabs/simplicity_sdk/config/sl_rail_util_pa_config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#define SL_RAIL_UTIL_PA_SELECTION_SUBGHZ RAIL_TX_POWER_MODE_NONE
3333
#endif
3434

35-
#define SL_RAIL_UTIL_PA_CURVE_HEADER CONFIG_RAIL_PA_CURVE_HEADER
36-
#define SL_RAIL_UTIL_PA_CURVE_TYPES CONFIG_RAIL_PA_CURVE_TYPES_HEADER
37-
#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE CONFIG_RAIL_PA_ENABLE_CALIBRATION
35+
#define SL_RAIL_UTIL_PA_CURVE_HEADER CONFIG_SILABS_SISDK_RAIL_PA_CURVE_HEADER
36+
#define SL_RAIL_UTIL_PA_CURVE_TYPES CONFIG_SILABS_SISDK_RAIL_PA_CURVE_TYPES_HEADER
37+
#define SL_RAIL_UTIL_PA_CALIBRATION_ENABLE CONFIG_SILABS_SISDK_RAIL_PA_ENABLE_CALIBRATION
3838

3939
#endif /* SL_RAIL_UTIL_PA_CONFIG_H */

0 commit comments

Comments
 (0)