@@ -86,129 +86,40 @@ config NETCORE_MULTIPROTOCOL_RPMSG
86
86
87
87
endchoice
88
88
89
- config NETCORE_EMPTY_NAME
90
- string
91
- default "empty_net_core"
92
- depends on NETCORE_EMPTY
93
- help
94
- Image name of empty image.
95
-
96
- config NETCORE_EMPTY_BOARD
97
- string
98
- default "nrf5340dk_nrf5340_cpunet" if ($(BOARD) = "nrf5340dk_nrf5340_cpuapp" || $(BOARD) = "nrf5340dk_nrf5340_cpuapp_ns")
99
- default "thingy53_nrf5340_cpunet" if ($(BOARD) = "thingy53_nrf5340_cpuapp" || $(BOARD) = "thingy53_nrf5340_cpuapp_ns")
100
- default "nrf7002dk_nrf5340_cpunet" if ($(BOARD) = "nrf7002dk_nrf5340_cpuapp" || $(BOARD) = "nrf7002dk_nrf5340_cpuapp_ns")
101
- depends on NETCORE_EMPTY
102
- help
103
- Remote board when building this sample.
104
- If not set, the board given to sysbuild is used.
105
-
106
- config NETCORE_EMPTY_DOMAIN
107
- string
108
- default "CPUNET" if (NETCORE_EMPTY_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_EMPTY_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_EMPTY_BOARD = "nrf7002dk_nrf5340_cpunet")
109
-
110
- config NETCORE_EMPTY_DOMAIN_APP
111
- bool
112
- default y if (NETCORE_EMPTY_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_EMPTY_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_EMPTY_BOARD = "nrf7002dk_nrf5340_cpunet")
113
-
114
- config NETCORE_HCI_RPMSG_NAME
115
- string
116
- default "hci_rpmsg"
117
- depends on NETCORE_HCI_RPMSG
118
- help
119
- Image name of radio hci rpmsg.
120
-
121
- config NETCORE_HCI_RPMSG_BOARD
122
- string
123
- default "nrf5340dk_nrf5340_cpunet" if ($(BOARD) = "nrf5340dk_nrf5340_cpuapp" || $(BOARD) = "nrf5340dk_nrf5340_cpuapp_ns")
124
- default "thingy53_nrf5340_cpunet" if ($(BOARD) = "thingy53_nrf5340_cpuapp" || $(BOARD) = "thingy53_nrf5340_cpuapp_ns")
125
- default "nrf7002dk_nrf5340_cpunet" if ($(BOARD) = "nrf7002dk_nrf5340_cpuapp" || $(BOARD) = "nrf7002dk_nrf5340_cpuapp_ns")
126
- depends on NETCORE_HCI_RPMSG
127
- help
128
- Remote board when building this sample.
129
- If not set, the board given to sysbuild is used.
130
-
131
- config NETCORE_HCI_RPMSG_DOMAIN
132
- string
133
- default "CPUNET" if (NETCORE_HCI_RPMSG_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_HCI_RPMSG_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_HCI_RPMSG_BOARD = "nrf7002dk_nrf5340_cpunet")
134
-
135
- config NETCORE_HCI_RPMSG_DOMAIN_APP
136
- bool
137
- default y if (NETCORE_HCI_RPMSG_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_HCI_RPMSG_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_HCI_RPMSG_BOARD = "nrf7002dk_nrf5340_cpunet")
89
+ if !NETCORE_NONE
138
90
139
- config NETCORE_RPC_HOST_NAME
91
+ config NETCORE_IMAGE_NAME
140
92
string
141
- default "rpc_host"
142
- depends on NETCORE_RPC_HOST
93
+ default "empty_net_core" if NETCORE_EMPTY
94
+ default "hci_rpmsg" if NETCORE_HCI_RPMSG
95
+ default "rpc_host" if NETCORE_RPC_HOST
96
+ default "802154_rpmsg" if NETCORE_802154_RPMSG
97
+ default "multiprotocol_rpmsg" if NETCORE_MULTIPROTOCOL_RPMSG
143
98
help
144
- Image name of radio rpc host .
99
+ Name of netcore image .
145
100
146
- config NETCORE_RPC_HOST_BOARD
101
+ config NETCORE_IMAGE_PATH
147
102
string
148
- default "nrf5340dk_nrf5340_cpunet" if ($(BOARD) = "nrf5340dk_nrf5340_cpuapp" || $(BOARD) = "nrf5340dk_nrf5340_cpuapp_ns")
149
- default "thingy53_nrf5340_cpunet" if ($(BOARD) = "thingy53_nrf5340_cpuapp" || $(BOARD) = "thingy53_nrf5340_cpuapp_ns")
150
- depends on NETCORE_RPC_HOST
103
+ default "${ZEPHYR_NRF_MODULE_DIR}/samples/nrf5340/empty_net_core" if NETCORE_EMPTY
104
+ default "${ZEPHYR_BASE}/samples/bluetooth/hci_rpmsg" if NETCORE_HCI_RPMSG
105
+ default "${ZEPHYR_NRF_MODULE_DIR}/samples/bluetooth/rpc_host" if NETCORE_RPC_HOST
106
+ default "${ZEPHYR_BASE}/samples/boards/nrf/ieee802154/802154_rpmsg" if NETCORE_802154_RPMSG
107
+ default "${ZEPHYR_NRF_MODULE_DIR}/samples/nrf5340/multiprotocol_rpmsg" if NETCORE_MULTIPROTOCOL_RPMSG
151
108
help
152
- Remote board when building this sample.
153
- If not set, the board given to sysbuild is used.
154
-
155
- config NETCORE_RPC_HOST_DOMAIN
156
- string
157
- default "CPUNET" if (NETCORE_RPC_HOST_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_RPC_HOST_BOARD = "thingy53_nrf5340_cpunet")
158
-
159
- config NETCORE_RPC_HOST_DOMAIN_APP
160
- bool
161
- default y if (NETCORE_RPC_HOST_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_RPC_HOST_BOARD = "thingy53_nrf5340_cpunet")
109
+ Source directory of netcore image.
162
110
163
- config NETCORE_802154_RPMSG_NAME
164
- string
165
- default "802154_rpmsg"
166
- depends on NETCORE_802154_RPMSG
167
- help
168
- Image name of radio 802154 rpmsg.
169
-
170
- config NETCORE_802154_RPMSG_BOARD
111
+ config NETCORE_IMAGE_BOARD
171
112
string
172
113
default "nrf5340dk_nrf5340_cpunet" if ($(BOARD) = "nrf5340dk_nrf5340_cpuapp" || $(BOARD) = "nrf5340dk_nrf5340_cpuapp_ns")
173
114
default "thingy53_nrf5340_cpunet" if ($(BOARD) = "thingy53_nrf5340_cpuapp" || $(BOARD) = "thingy53_nrf5340_cpuapp_ns")
174
115
default "nrf7002dk_nrf5340_cpunet" if ($(BOARD) = "nrf7002dk_nrf5340_cpuapp" || $(BOARD) = "nrf7002dk_nrf5340_cpuapp_ns")
175
- depends on NETCORE_802154_RPMSG
176
116
help
177
117
Remote board when building this sample.
178
118
If not set, the board given to sysbuild is used.
179
119
180
- config NETCORE_802154_RPMSG_DOMAIN
120
+ config NETCORE_IMAGE_DOMAIN
181
121
string
182
- default "CPUNET" if (NETCORE_802154_RPMSG_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_802154_RPMSG_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_802154_RPMSG_BOARD = "nrf7002dk_nrf5340_cpunet")
183
-
184
- config NETCORE_802154_RPMSG_DOMAIN_APP
185
- bool
186
- default y if (NETCORE_802154_RPMSG_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_802154_RPMSG_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_802154_RPMSG_BOARD = "nrf7002dk_nrf5340_cpunet")
187
-
188
- config NETCORE_MULTIPROTOCOL_RPMSG_NAME
189
- string
190
- default "multiprotocol_rpmsg"
191
- depends on NETCORE_MULTIPROTOCOL_RPMSG
192
- help
193
- Image name of radio hci rpmsg.
194
-
195
- config NETCORE_MULTIPROTOCOL_RPMSG_BOARD
196
- string
197
- default "nrf5340dk_nrf5340_cpunet" if ($(BOARD) = "nrf5340dk_nrf5340_cpuapp" || $(BOARD) = "nrf5340dk_nrf5340_cpuapp_ns")
198
- default "thingy53_nrf5340_cpunet" if ($(BOARD) = "thingy53_nrf5340_cpuapp" || $(BOARD) = "thingy53_nrf5340_cpuapp_ns")
199
- default "nrf7002dk_nrf5340_cpunet" if ($(BOARD) = "nrf7002dk_nrf5340_cpuapp" || $(BOARD) = "nrf7002dk_nrf5340_cpuapp_ns")
200
- depends on NETCORE_MULTIPROTOCOL_RPMSG
201
- help
202
- Remote board when building this sample.
203
- If not set, the board given to sysbuild is used.
204
-
205
- config NETCORE_MULTIPROTOCOL_RPMSG_DOMAIN
206
- string
207
- default "CPUNET" if (NETCORE_MULTIPROTOCOL_RPMSG_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_MULTIPROTOCOL_RPMSG_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_MULTIPROTOCOL_RPMSG_BOARD = "nrf7002dk_nrf5340_cpunet")
208
-
209
- config NETCORE_MULTIPROTOCOL_RPMSG_DOMAIN_APP
210
- bool
211
- default y if (NETCORE_MULTIPROTOCOL_RPMSG_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_MULTIPROTOCOL_RPMSG_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_MULTIPROTOCOL_RPMSG_BOARD = "nrf7002dk_nrf5340_cpunet")
122
+ default "CPUNET" if (NETCORE_IMAGE_BOARD = "nrf5340dk_nrf5340_cpunet" || NETCORE_IMAGE_BOARD = "thingy53_nrf5340_cpunet" || NETCORE_IMAGE_BOARD = "nrf7002dk_nrf5340_cpunet")
212
123
213
124
config NETCORE_APP_UPDATE
214
125
bool "Network core updates"
@@ -218,4 +129,6 @@ config NETCORE_APP_UPDATE
218
129
Enabling this will add support for network core updates from the application core,
219
130
requires b0n for network core and MCUboot for application core.
220
131
132
+ endif
133
+
221
134
endmenu
0 commit comments