From 6962f6886cf5fc616968e83d9591d8a7b3635f01 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 3 Apr 2018 10:07:15 -0600 Subject: [PATCH] configs/sim: Add a configuration that will support some limited testing of the Bluetooth stack. --- configs/sim/README.txt | 6 +++ configs/sim/bluetooth/defconfig | 77 +++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 configs/sim/bluetooth/defconfig diff --git a/configs/sim/README.txt b/configs/sim/README.txt index a0fa2387c8..07ed079123 100644 --- a/configs/sim/README.txt +++ b/configs/sim/README.txt @@ -492,6 +492,12 @@ Common Configuration Information Configuration Sub-Directories ----------------------------- +bluetooth + + Supports some very limited, primitive, low-level debug of the Bluetoot + stack using the Bluetooth "Swiss Army Knife" at apps/wireless/bluetooth/btsak + and the NULL Bluetooth device at drivers/wireless/bluetooth/bt_null.c + configdata A unit test for the MTD configuration data driver. diff --git a/configs/sim/bluetooth/defconfig b/configs/sim/bluetooth/defconfig new file mode 100644 index 0000000000..4e02726a15 --- /dev/null +++ b/configs/sim/bluetooth/defconfig @@ -0,0 +1,77 @@ +# CONFIG_EXECFUNCS_HAVE_SYMTAB is not set +# CONFIG_NET_ETHERNET is not set +# CONFIG_NET_IPv4 is not set +# CONFIG_NSH_CMDOPT_HEXDUMP is not set +# CONFIG_NSH_DISABLE_DATE is not set +# CONFIG_NSH_DISABLE_TELNETD is not set +CONFIG_ARCH_BOARD_SIM=y +CONFIG_ARCH_BOARD="sim" +CONFIG_ARCH_SIM=y +CONFIG_ARCH="sim" +CONFIG_BINFMT_EXEPATH=y +CONFIG_BLUETOOTH_MAX_CONN=2 +CONFIG_BLUETOOTH_MAX_PAIRED=2 +CONFIG_BLUETOOTH_NULL=y +CONFIG_BLUETOOTH_SMP_SELFTEST=y +CONFIG_BOARD_LOOPSPERMSEC=0 +CONFIG_BOARDCTL_POWEROFF=y +CONFIG_BOOT_RUNFROMEXTSRAM=y +CONFIG_BUILTIN=y +CONFIG_DEBUG_ASSERTIONS=y +CONFIG_DEBUG_FEATURES=y +CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEV_LOOP=y +CONFIG_DEV_ZERO=y +CONFIG_DISABLE_POLL=y +CONFIG_DRIVERS_BLUETOOTH=y +CONFIG_DRIVERS_WIRELESS=y +CONFIG_EXAMPLES_HELLO_STACKSIZE=8192 +CONFIG_EXAMPLES_HELLO=y +CONFIG_EXAMPLES_NSH=y +CONFIG_EXPERIMENTAL=y +CONFIG_FAT_LCNAMES=y +CONFIG_FAT_LFN=y +CONFIG_FS_FAT=y +CONFIG_FS_PROCFS=y +CONFIG_FS_ROMFS=y +CONFIG_FSUTILS_PASSWD_READONLY=y +CONFIG_FSUTILS_PASSWD=y +CONFIG_IDLETHREAD_STACKSIZE=4096 +CONFIG_LIBC_EXECFUNCS=y +CONFIG_MAX_TASKS=64 +CONFIG_NET_BLUETOOTH=y +CONFIG_NET_HOSTNAME="NuttX-SIM" +CONFIG_NET_STATISTICS=y +CONFIG_NET=y +CONFIG_NETDEV_LATEINIT=y +CONFIG_NETDEV_WIRELESS_IOCTL=y +CONFIG_NETDEVICES=y +CONFIG_NFILE_DESCRIPTORS=32 +CONFIG_NSH_ARCHINIT=y +CONFIG_NSH_ARCHROMFS=y +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FATDEVNO=2 +CONFIG_NSH_FILE_APPS=y +CONFIG_NSH_NETINIT_DEBUG=y +CONFIG_NSH_NETLOCAL=y +CONFIG_NSH_READLINE=y +CONFIG_NSH_ROMFSDEVNO=1 +CONFIG_NSH_ROMFSETC=y +CONFIG_PATH_INITIAL="/bin" +CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=2048 +CONFIG_PREALLOC_MQ_MSGS=64 +CONFIG_PTHREAD_STACK_DEFAULT=8192 +CONFIG_READLINE_TABCOMPLETION=y +CONFIG_SCHED_HAVE_PARENT=y +CONFIG_SCHED_LPWORK=y +CONFIG_SCHED_ONEXIT=y +CONFIG_SCHED_WAITPID=y +CONFIG_SDCLONE_DISABLE=y +CONFIG_SIM_WALLTIME=y +CONFIG_START_DAY=3 +CONFIG_START_MONTH=4 +CONFIG_TIME_EXTENDED=y +CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USERMAIN_STACKSIZE=4096 +CONFIG_WIRELESS_BLUETOOTH=y +CONFIG_WIRELESS=y