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>
This commit is contained in:
Marcin Szymczyk 2025-04-22 14:59:17 +02:00 committed by Benjamin Cabé
commit fe1b0e31b7
5 changed files with 32 additions and 1 deletions

View file

@ -1,4 +1,8 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
bool
rsource "common/vpr/Kconfig.sysbuild"
orsource "*/Kconfig.sysbuild"

View file

@ -4,7 +4,7 @@
config VPR_LAUNCHER
bool "VPR launcher"
default y
depends on (SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF9280_CPUPPR)
depends on HAS_NORDIC_VPR_LAUNCHER_IMAGE
help
Include VPR launcher in build.
VPR launcher is a minimal sample built for an ARM core that starts given VPR core.

View file

@ -0,0 +1,9 @@
# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
default y
endif

View file

@ -0,0 +1,9 @@
# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
default y
endif

View file

@ -0,0 +1,9 @@
# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_NRF9280_CPUPPR
config HAS_NORDIC_VPR_LAUNCHER_IMAGE
default y
endif