Skip to content

Commit

Permalink
gecko/cmake: replace 'SOC_GECKO_SERIESx' with 'SOC_FAMILY_SILABS_Sx'
Browse files Browse the repository at this point in the history
The 'SOC_GECKO_SERIESx' Kconfig symbol no longer exists in Zephyr and
was replaced with 'SOC_FAMILY_SILABS_Sx' during migration to hwmv2.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
  • Loading branch information
pepe2k authored and fabiobaltieri committed Mar 13, 2024
1 parent 59c6c6e commit 442d0fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gecko/CMakeLists.txt
Expand Up @@ -25,12 +25,12 @@ function(add_prebuilt_library lib_name prebuilt_path)
endfunction()

if(${CONFIG_SOC_GECKO_HAS_RADIO})
if(${CONFIG_SOC_GECKO_SERIES1})
if(${CONFIG_SOC_FAMILY_SILABS_S1})
zephyr_include_directories(
platform/radio/rail_lib/plugin/pa-conversions/efr32xg1x/config
platform/radio/rail_lib/chip/efr32/efr32xg1x
)
elseif(${CONFIG_SOC_GECKO_SERIES2})
elseif(${CONFIG_SOC_FAMILY_SILABS_S2})
zephyr_include_directories(
platform/radio/rail_lib/plugin/pa-conversions/efr32xg${GECKO_SERIES_NUMBER}/config
platform/radio/rail_lib/chip/efr32/efr32xg2x
Expand Down

0 comments on commit 442d0fb

Please sign in to comment.