2019-11-03 01:30:33 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2020-02-15 21:38:35 +08:00
|
|
|
menuconfig RPTUN
|
|
|
|
bool "Remote Proc Tunnel Driver Support"
|
|
|
|
default n
|
|
|
|
depends on OPENAMP
|
|
|
|
---help---
|
|
|
|
RPTUN driver is used for multi-cores' communication.
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
if RPTUN
|
|
|
|
|
2021-12-28 20:13:28 +08:00
|
|
|
choice
|
|
|
|
prompt "rptun dispatch method"
|
|
|
|
|
|
|
|
config RPTUN_THREAD
|
|
|
|
bool "rptun thread"
|
|
|
|
|
|
|
|
config RPTUN_WORKQUEUE
|
|
|
|
bool "rptun workqueue"
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-11-03 01:30:33 +08:00
|
|
|
config RPTUN_PRIORITY
|
2021-12-28 20:13:28 +08:00
|
|
|
int "rptun thread priority"
|
|
|
|
depends on RPTUN_THREAD
|
2019-11-03 01:30:33 +08:00
|
|
|
default 224
|
|
|
|
|
|
|
|
config RPTUN_STACKSIZE
|
|
|
|
int "rptun stack size"
|
2021-12-28 20:13:28 +08:00
|
|
|
depends on RPTUN_THREAD
|
2021-12-15 20:09:26 +08:00
|
|
|
default 4096
|
2020-02-08 15:30:09 +08:00
|
|
|
|
2021-09-02 14:47:31 +08:00
|
|
|
config RPTUN_LOADER
|
2021-10-18 23:06:10 +08:00
|
|
|
bool "rptun loader support"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RPTUN_LOCAL_CPUNAME
|
|
|
|
string "rptun local cpuname"
|
|
|
|
default LIBC_HOSTNAME
|
2021-09-02 14:47:31 +08:00
|
|
|
|
2022-02-09 23:08:22 +08:00
|
|
|
config RPTUN_PM
|
|
|
|
bool "rptun power management"
|
|
|
|
depends on PM
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If TX/RX buffer is supplied and powered by each CPU.
|
|
|
|
And when one CPU in DEEP sleep, then it's buffer will
|
|
|
|
goto RAM-retention mode, can't access from another CPU.
|
|
|
|
So, we provide this method to resolve this.
|
|
|
|
|
2022-02-16 15:23:49 +08:00
|
|
|
config RPTUN_PING
|
|
|
|
bool "rptun ping support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This is for rptun debugging & profiling, create ping rpmsg
|
|
|
|
channel, user can use it to get send/recv speed & latency.
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
endif # RPTUN
|