forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
62 lines (50 loc) · 1.41 KB
/
Kconfig
File metadata and controls
62 lines (50 loc) · 1.41 KB
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
#
# Copyright (c) 2024 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
config FLASH_RPC
bool "Flash over RPC [EXPERIMENTAL]"
select NRF_RPC
select NRF_RPC_CBOR
select FLASH
help
Enables a seralized flash API of a device's flash over RPC
if FLASH_RPC
choice
prompt "Flash RPC role selection"
default FLASH_RPC_HOST if SOC_NRF5340_CPUNET
default FLASH_RPC_CONTROLLER
config FLASH_RPC_CONTROLLER
bool "Flash RPC Controller"
help
Flash RPC API will use the nRF RPC library to access the flash of a host
on the remote core. All the buffers transferred under read/write flash
API calls needs to be accessible for the remote host.
config FLASH_RPC_HOST
bool "Flash RPC Host"
help
Flash RPC API will expose the flash of a host to a client on the remote core.
endchoice
if FLASH_RPC_CONTROLLER
config FLASH_RPC_DRIVER_INIT_PRIORITY
int "Flash RPC Driver Init Priority"
default 52
help
Device driver initialization priority for Remote Core Flash driver over RPC
must be higher than remote core boot priority.
endif
config FLASH_RPC_SYS_INIT_PRIORITY
int "Init priority"
default 48 if FLASH_RPC_HOST
default 51
help
Device driver initialization priority.
config FLASH_RPC_SYS_INIT
bool "Enable at sys init"
help
SYS_INIT nrf_rpc
module = FLASH_RPC
module-str = Flash over nRF RPC
source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"
endif # FLASH_RPC