Skip to content

Commit fe1b0e3

Browse files
masz-nordickartben
authored andcommitted
soc: nordic: allow setting VPR_LAUNCHER support for out of tree SoCs
Make the compilation of vpr_launcher dependent on sysbuild Kconfig that can be set by SoC. Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
1 parent 4ad36e7 commit fe1b0e3

File tree

5 files changed

+32
-1
lines changed

5 files changed

+32
-1
lines changed

soc/nordic/Kconfig.sysbuild

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Copyright (c) 2024 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: Apache-2.0
33

4+
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
5+
bool
6+
47
rsource "common/vpr/Kconfig.sysbuild"
8+
orsource "*/Kconfig.sysbuild"

soc/nordic/common/vpr/Kconfig.sysbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
config VPR_LAUNCHER
55
bool "VPR launcher"
66
default y
7-
depends on (SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF9280_CPUPPR)
7+
depends on HAS_NORDIC_VPR_LAUNCHER_IMAGE
88
help
99
Include VPR launcher in build.
1010
VPR launcher is a minimal sample built for an ARM core that starts given VPR core.

soc/nordic/nrf54h/Kconfig.sysbuild

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR
5+
6+
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
7+
default y
8+
9+
endif

soc/nordic/nrf54l/Kconfig.sysbuild

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR
5+
6+
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
7+
default y
8+
9+
endif

soc/nordic/nrf92/Kconfig.sysbuild

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SOC_NRF9280_CPUPPR
5+
6+
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
7+
default y
8+
9+
endif

0 commit comments

Comments
 (0)