From eff92653d71fbcfd6ef44c2a7398d3ae478e2721 Mon Sep 17 00:00:00 2001 From: Aksel Skauge Mellbye Date: Mon, 21 Oct 2024 10:41:18 +0200 Subject: [PATCH] soc: silabs: Move Series 2 HAL integration to modules/ Since cmake-ext isn't set yet, the CMakeLists.txt in soc/ is still used to include the files in the build. This will be improved in a follow-on commit. Signed-off-by: Aksel Skauge Mellbye --- .../simplicity_sdk}/config/sl_clock_manager_oscillator_config.h | 0 .../simplicity_sdk}/config/sl_clock_manager_tree_config.h | 0 .../simplicity_sdk}/config/sl_device_init_dcdc_config.h | 0 soc/silabs/silabs_s2/CMakeLists.txt | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename {soc/silabs/silabs_s2 => modules/hal_silabs/simplicity_sdk}/config/sl_clock_manager_oscillator_config.h (100%) rename {soc/silabs/silabs_s2 => modules/hal_silabs/simplicity_sdk}/config/sl_clock_manager_tree_config.h (100%) rename {soc/silabs/silabs_s2 => modules/hal_silabs/simplicity_sdk}/config/sl_device_init_dcdc_config.h (100%) diff --git a/soc/silabs/silabs_s2/config/sl_clock_manager_oscillator_config.h b/modules/hal_silabs/simplicity_sdk/config/sl_clock_manager_oscillator_config.h similarity index 100% rename from soc/silabs/silabs_s2/config/sl_clock_manager_oscillator_config.h rename to modules/hal_silabs/simplicity_sdk/config/sl_clock_manager_oscillator_config.h diff --git a/soc/silabs/silabs_s2/config/sl_clock_manager_tree_config.h b/modules/hal_silabs/simplicity_sdk/config/sl_clock_manager_tree_config.h similarity index 100% rename from soc/silabs/silabs_s2/config/sl_clock_manager_tree_config.h rename to modules/hal_silabs/simplicity_sdk/config/sl_clock_manager_tree_config.h diff --git a/soc/silabs/silabs_s2/config/sl_device_init_dcdc_config.h b/modules/hal_silabs/simplicity_sdk/config/sl_device_init_dcdc_config.h similarity index 100% rename from soc/silabs/silabs_s2/config/sl_device_init_dcdc_config.h rename to modules/hal_silabs/simplicity_sdk/config/sl_device_init_dcdc_config.h diff --git a/soc/silabs/silabs_s2/CMakeLists.txt b/soc/silabs/silabs_s2/CMakeLists.txt index 2069aad6e806ad2..a4e86297e12d4c9 100644 --- a/soc/silabs/silabs_s2/CMakeLists.txt +++ b/soc/silabs/silabs_s2/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2024 Silicon Laboratories Inc. # SPDX-License-Identifier: Apache-2.0 -zephyr_include_directories(config) +zephyr_include_directories(${ZEPHYR_BASE}/modules/hal_silabs/simplicity_sdk/config) zephyr_sources(soc.c)