Merged nuttx/apps into master

This commit is contained in:
Masayuki Ishikawa 2017-04-19 16:10:55 +09:00
commit 02f6197c10
2 changed files with 18 additions and 2 deletions

View File

@ -11,6 +11,22 @@ config EXAMPLES_HIDKBD
if EXAMPLES_HIDKBD
config EXAMPLES_HIDKBD_PROGNAME
string "Program name"
default "hidkbd"
depends on BUILD_KERNEL
---help---
This is the name of the program that will be use when the Nettest
program is installed.
config EXAMPLES_HIDKBD_STACKSIZE
int "Task stack size"
default 2048
config EXAMPLES_HIDKBD_DEFPRIO
int "Task priority"
default 100
config EXAMPLES_HIDKBD_DEVNAME
string "Keyboard Device Name"
default "/dev/kbda"

View File

@ -37,11 +37,11 @@
# USB Host HID keyboard Example
CONFIG_EXAMPLES_HIDKBD_PRIORITY ?= SCHED_PRIORITY_DEFAULT
CONFIG_EXAMPLES_HIDKBD_DEFPRIO ?= 100
CONFIG_EXAMPLES_HIDKBD_STACKSIZE ?= 2048
APPNAME = hidkbd
PRIORITY = $(CONFIG_EXAMPLES_HIDKBD_PRIORITY)
PRIORITY = $(CONFIG_EXAMPLES_HIDKBD_DEFPRIO)
STACKSIZE = $(CONFIG_EXAMPLES_HIDKBD_STACKSIZE)
# Hello, World! Example