2019-11-02 18:30:33 +01: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 14:38:35 +01: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 08:30:09 +01:00
|
|
|
if RPTUN
|
|
|
|
|
2021-12-28 13:13:28 +01: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-02 18:30:33 +01:00
|
|
|
config RPTUN_PRIORITY
|
2021-12-28 13:13:28 +01:00
|
|
|
int "rptun thread priority"
|
|
|
|
depends on RPTUN_THREAD
|
2019-11-02 18:30:33 +01:00
|
|
|
default 224
|
|
|
|
|
|
|
|
config RPTUN_STACKSIZE
|
|
|
|
int "rptun stack size"
|
2021-12-28 13:13:28 +01:00
|
|
|
depends on RPTUN_THREAD
|
2021-12-15 13:09:26 +01:00
|
|
|
default 4096
|
2020-02-08 08:30:09 +01:00
|
|
|
|
2021-09-02 08:47:31 +02:00
|
|
|
config RPTUN_LOADER
|
2021-10-18 17:06:10 +02:00
|
|
|
bool "rptun loader support"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RPTUN_LOCAL_CPUNAME
|
|
|
|
string "rptun local cpuname"
|
|
|
|
default LIBC_HOSTNAME
|
2021-09-02 08:47:31 +02:00
|
|
|
|
2022-02-09 16:08:22 +01: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 08:23:49 +01: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 08:30:09 +01:00
|
|
|
endif # RPTUN
|