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:
parent
4ad36e72e4
commit
fe1b0e31b7
5 changed files with 32 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
9
soc/nordic/nrf54h/Kconfig.sysbuild
Normal file
9
soc/nordic/nrf54h/Kconfig.sysbuild
Normal 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
|
9
soc/nordic/nrf54l/Kconfig.sysbuild
Normal file
9
soc/nordic/nrf54l/Kconfig.sysbuild
Normal 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
|
9
soc/nordic/nrf92/Kconfig.sysbuild
Normal file
9
soc/nordic/nrf92/Kconfig.sysbuild
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue