soc/arm/silabs: Kconfig: add SOC_GECKO_USE_RAIL kconfig option

Currently on zephyr, RAIL is used only for bluetooth. RAIL library is
needed to use efr32 radio regardless of the protocol used. We add
SOC_GECKO_USE_RAIL kconfig option to indicate if we use radio.
FPU is needed when using RAIL, we configure it if SOC_GECKO_USE_RAIL
is set.

Signed-off-by: Antoine Bout <antoine.bout@silabs.com>
This commit is contained in:
Antoine Bout 2023-06-23 11:52:40 +02:00 committed by Fabio Baltieri
commit dbea999347
5 changed files with 29 additions and 0 deletions

View file

@ -319,4 +319,11 @@ config SOC_GECKO_HAS_HFRCO_FREQRANGE
If disabled, indicates that configuration of HFRCO frequency for corresponding SOC
is not supported via this field. This is the case for e.g. efm32hg, efm32wg series.
config SOC_GECKO_USE_RAIL
bool "Use RAIL (Radio Abstraction Interface Layer)"
help
RAIL (Radio Abstraction Interface Layer) is a library needed to use the EFR radio
hardware. This option enable the proper set of features to allow to properly compile
with the RAIL blob.
endif # SOC_FAMILY_EXX32