boards/sim: Add adb config for test
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
8a880df37d
commit
5659f685c1
@ -560,6 +560,18 @@ Common Configuration Information
|
|||||||
Configuration Sub-Directories
|
Configuration Sub-Directories
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
adb
|
||||||
|
|
||||||
|
A simple demo show how to config adb:
|
||||||
|
$ ./nuttx
|
||||||
|
NuttShell (NSH) NuttX-10.2.0
|
||||||
|
nsh> adbd &
|
||||||
|
adbd [2:100]
|
||||||
|
You can use the normal adb command from host:
|
||||||
|
adb kill-server
|
||||||
|
adb connect localhost:5555
|
||||||
|
adb shell
|
||||||
|
|
||||||
bluetooth
|
bluetooth
|
||||||
|
|
||||||
Supports some very limited, primitive, low-level debug of the Bluetooth
|
Supports some very limited, primitive, low-level debug of the Bluetooth
|
||||||
|
54
boards/sim/sim/sim/configs/adb/defconfig
Normal file
54
boards/sim/sim/sim/configs/adb/defconfig
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
#
|
||||||
|
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
||||||
|
#
|
||||||
|
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
||||||
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||||
|
# modifications.
|
||||||
|
#
|
||||||
|
# CONFIG_NET_ETHERNET is not set
|
||||||
|
CONFIG_ADBD_FILE_SERVICE=y
|
||||||
|
CONFIG_ADBD_FILE_SYMLINK=y
|
||||||
|
CONFIG_ADBD_LOGCAT_SERVICE=y
|
||||||
|
CONFIG_ADBD_SHELL_SERVICE=y
|
||||||
|
CONFIG_ADBD_TCP_SERVER=y
|
||||||
|
CONFIG_ARCH="sim"
|
||||||
|
CONFIG_ARCH_BOARD="sim"
|
||||||
|
CONFIG_ARCH_BOARD_SIM=y
|
||||||
|
CONFIG_ARCH_CHIP="sim"
|
||||||
|
CONFIG_ARCH_SIM=y
|
||||||
|
CONFIG_BOARDCTL_POWEROFF=y
|
||||||
|
CONFIG_BUILTIN=y
|
||||||
|
CONFIG_DEBUG_SYMBOLS=y
|
||||||
|
CONFIG_FS_PROCFS=y
|
||||||
|
CONFIG_FS_TMPFS=y
|
||||||
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
CONFIG_LIBC_DLFCN=y
|
||||||
|
CONFIG_LIBUV=y
|
||||||
|
CONFIG_LIBUV_UTILS_TEST=y
|
||||||
|
CONFIG_NET=y
|
||||||
|
CONFIG_NET_ICMP_NO_STACK=y
|
||||||
|
CONFIG_NET_SOCKOPTS=y
|
||||||
|
CONFIG_NET_TCP_NO_STACK=y
|
||||||
|
CONFIG_NET_UDP_NO_STACK=y
|
||||||
|
CONFIG_NET_USRSOCK_OTHER=y
|
||||||
|
CONFIG_NET_USRSOCK_TCP=y
|
||||||
|
CONFIG_NET_USRSOCK_UDP=y
|
||||||
|
CONFIG_NSH_ARCHINIT=y
|
||||||
|
CONFIG_NSH_BUILTIN_APPS=y
|
||||||
|
CONFIG_NSH_READLINE=y
|
||||||
|
CONFIG_PSEUDOFS_SOFTLINKS=y
|
||||||
|
CONFIG_RAMLOG=y
|
||||||
|
CONFIG_RAMLOG_SYSLOG=y
|
||||||
|
CONFIG_READLINE_CMD_HISTORY=y
|
||||||
|
CONFIG_READLINE_TABCOMPLETION=y
|
||||||
|
CONFIG_SCHED_CHILD_STATUS=y
|
||||||
|
CONFIG_SCHED_HAVE_PARENT=y
|
||||||
|
CONFIG_SCHED_WAITPID=y
|
||||||
|
CONFIG_SIM_NETUSRSOCK=y
|
||||||
|
CONFIG_SYSLOG_CHARDEV=y
|
||||||
|
CONFIG_SYSLOG_DEFAULT=y
|
||||||
|
CONFIG_SYSLOG_MAX_CHANNELS=2
|
||||||
|
CONFIG_SYSTEM_ADBD=y
|
||||||
|
CONFIG_SYSTEM_CLE=y
|
||||||
|
CONFIG_SYSTEM_NSH=y
|
||||||
|
CONFIG_TLS_TASK_NELEM=4
|
Loading…
x
Reference in New Issue
Block a user