Skip to content

Commit 477dfa9

Browse files
asmellbyjhedberg
authored andcommitted
soc: silabs: Add Kconfig and CMake files
Add Kconfig and CMake files to enable build system to pick up Kconfig.defconfig and CMakeLists.txt. Signed-off-by: Aksel Skauge Mellbye <[email protected]>
1 parent 44f51a6 commit 477dfa9

File tree

7 files changed

+25
-0
lines changed

7 files changed

+25
-0
lines changed

soc/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.
3+
4+
add_subdirectory(silabs)

soc/silabs/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.
3+
4+
add_subdirectory_ifdef(CONFIG_SOC_FAMILY_SILABS_S2 silabs_s2)

soc/silabs/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.
3+
4+
rsource "*/Kconfig.defconfig"

soc/silabs/Kconfig.soc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.

soc/silabs/soc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright (c) 2025 Silicon Laboratories Inc.
3+
4+
# soc.yml needs to declare at least one SoC to register as a SoC root in list_hardware.py and make
5+
# this path get picked up by Kconfig.soc and Kconfig.defconfig
6+
socs:
7+
- extend: efr32mg24b310f1536im48

0 commit comments

Comments
 (0)