From 6483b592ff54aa73c06a7ecf3f596e52092dc362 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 7 Oct 2018 07:28:16 -0600 Subject: [PATCH] configs/olimex-lpc1766stk/hidkbd: Add a configuration for testing the HID keyboard. --- configs/olimex-lpc1766stk/README.txt | 12 +++++ configs/olimex-lpc1766stk/hidkbd/defconfig | 55 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 configs/olimex-lpc1766stk/hidkbd/defconfig diff --git a/configs/olimex-lpc1766stk/README.txt b/configs/olimex-lpc1766stk/README.txt index 3ac38a2c4e6..476d3c25a4e 100644 --- a/configs/olimex-lpc1766stk/README.txt +++ b/configs/olimex-lpc1766stk/README.txt @@ -746,6 +746,18 @@ Configuration Sub-Directories CONFIG_DEBUG_INFO=y CONFIG_DEBUG_FTPC=y + hidkbd: + This configuration directory supports a variant of an NSH configuration. + It is set up to perform the HID keyboard test at apps/examples/hidkbd. + + NOTES: + + 1. Default platform/toolchain: This is how the build is configured by + be default. These options can easily be re-confured, however. + + CONFIG_HOST_LINUX=y : Linux + CONFIG_ARMV7M_TOOLCHAIN_EABIL=y : Generic EABI toolchain + hidmouse: This configuration directory supports a variant of an NSH configuration. It is set up to perform the touchscreen test at apps/examples/touchscreen diff --git a/configs/olimex-lpc1766stk/hidkbd/defconfig b/configs/olimex-lpc1766stk/hidkbd/defconfig new file mode 100644 index 00000000000..23b4f24f082 --- /dev/null +++ b/configs/olimex-lpc1766stk/hidkbd/defconfig @@ -0,0 +1,55 @@ +# CONFIG_NSH_ARGCAT is not set +# CONFIG_NSH_CMDOPT_HEXDUMP is not set +# CONFIG_NSH_CMDPARMS is not set +# CONFIG_NSH_DISABLE_IFCONFIG is not set +# CONFIG_NSH_DISABLE_PS is not set +CONFIG_ARCH="arm" +CONFIG_ARCH_BOARD="olimex-lpc1766stk" +CONFIG_ARCH_BOARD_LPC1766STK=y +CONFIG_ARCH_CHIP_LPC1766=y +CONFIG_ARCH_CHIP_LPC17XX=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_BOARD_LOOPSPERMSEC=8111 +CONFIG_BUILTIN=y +CONFIG_EXAMPLES_HIDKBD=y +CONFIG_FAT_LCNAMES=y +CONFIG_FAT_LFN=y +CONFIG_FS_FAT=y +CONFIG_INPUT=y +CONFIG_INTELHEX_BINARY=y +CONFIG_LPC17_UART0=y +CONFIG_LPC17_USBHOST=y +CONFIG_LPC17_USBHOST_TDBUFFERS=3 +CONFIG_MAX_TASKS=16 +CONFIG_MAX_WDOGPARMS=2 +CONFIG_MM_REGIONS=2 +CONFIG_NFILE_DESCRIPTORS=8 +CONFIG_NFILE_STREAMS=8 +CONFIG_NSH_ARCHINIT=y +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_LINELEN=64 +CONFIG_NSH_READLINE=y +CONFIG_NXFLAT=y +CONFIG_PREALLOC_MQ_MSGS=4 +CONFIG_PREALLOC_TIMERS=4 +CONFIG_PREALLOC_WDOGS=8 +CONFIG_RAM_SIZE=32768 +CONFIG_RAM_START=0x10000000 +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_HPWORK=y +CONFIG_SCHED_HPWORKPRIORITY=192 +CONFIG_SCHED_WAITPID=y +CONFIG_SDCLONE_DISABLE=y +CONFIG_START_DAY=30 +CONFIG_START_MONTH=12 +CONFIG_START_YEAR=2011 +CONFIG_SYMTAB_ORDEREDBYNAME=y +CONFIG_SYSTEM_NSH=y +CONFIG_TASK_NAME_SIZE=0 +CONFIG_UART0_BAUD=57600 +CONFIG_UART0_SERIAL_CONSOLE=y +CONFIG_USBHOST_HIDKBD=y +CONFIG_USBHOST_ISOC_DISABLE=y +CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_WDOG_INTRESERVE=1