forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.appcore
89 lines (69 loc) · 1.92 KB
/
Kconfig.appcore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Copyright (c) 2024 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
config SUPPORT_APPCORE
bool
default y if (SOC_NRF5340_CPUNET || SOC_NRF54H20_CPURAD)
config APPCORE_REMOTE_BOARD_TARGET_CPUCLUSTER
string
default "cpuapp"
config APPCORE_REMOTE_DOMAIN
string
default "CPUAPP" if APPCORE_REMOTE_BOARD_NAME != ""
menu "Application core configuration"
depends on SUPPORT_APPCORE
config SUPPORT_APPCORE_EMPTY
bool
default y
config SUPPORT_APPCORE_REMOTE_SHELL
bool
default y
config NRF_DEFAULT_EMPTY
bool
config NRF_DEFAULT_REMOTE_SHELL
bool
choice APPCORE
prompt "Appcore image"
default APPCORE_REMOTE_SHELL if NRF_DEFAULT_REMOTE_SHELL && APPCORE_REMOTE_BOARD_NAME != ""
default APPCORE_EMPTY if NRF_DEFAULT_EMPTY && APPCORE_REMOTE_BOARD_NAME != ""
depends on SUPPORT_APPCORE && !EXTERNAL_CONFIGURED_APPCORE
config APPCORE_NONE
bool "None"
help
Do not include a appcore image in the build.
config APPCORE_EMPTY
bool "Empty"
depends on SUPPORT_APPCORE_EMPTY
help
Include empty image as the appcore image to use.
config APPCORE_REMOTE_SHELL
bool "remote_shell"
depends on SUPPORT_APPCORE_REMOTE_SHELL
help
Include remote_shell as the appcore image to use.
endchoice
if !APPCORE_NONE
config APPCORE_IMAGE_NAME
string
default "empty_app_core" if APPCORE_EMPTY
default "remote_shell" if APPCORE_REMOTE_SHELL
help
Name of appcore image.
config APPCORE_IMAGE_PATH
string
default "${ZEPHYR_NRF_MODULE_DIR}/samples/nrf5340/empty_app_core" if APPCORE_EMPTY
default "${ZEPHYR_NRF_MODULE_DIR}/samples/nrf5340/remote_shell" if APPCORE_REMOTE_SHELL
help
Source directory of appcore image.
config APPCORE_IMAGE_BOARD
string
default APPCORE_REMOTE_BOARD_NAME
depends on APPCORE_EMPTY
help
Remote board when building this sample.
If not set, the board given to sysbuild is used.
config APPCORE_IMAGE_DOMAIN
string
default APPCORE_REMOTE_DOMAIN
endif # !APPCORE_NONE
endmenu