From 9a493045271d785dba2d7c5afe3713394a0e393a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 18 Apr 2017 07:24:15 -0600 Subject: [PATCH] examples/hidkbd: Add some missing configuration settings. --- examples/hidkbd/Kconfig | 16 ++++++++++++++++ examples/hidkbd/Makefile | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/examples/hidkbd/Kconfig b/examples/hidkbd/Kconfig index 3f2bc7a5d..c48ca98fe 100644 --- a/examples/hidkbd/Kconfig +++ b/examples/hidkbd/Kconfig @@ -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" diff --git a/examples/hidkbd/Makefile b/examples/hidkbd/Makefile index deed9c074..d49ee2aff 100644 --- a/examples/hidkbd/Makefile +++ b/examples/hidkbd/Makefile @@ -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