diff options
Diffstat (limited to 'apps/examples/serialrx')
-rw-r--r-- | apps/examples/serialrx/Kconfig | 9 | ||||
-rw-r--r-- | apps/examples/serialrx/Makefile | 7 |
2 files changed, 14 insertions, 2 deletions
diff --git a/apps/examples/serialrx/Kconfig b/apps/examples/serialrx/Kconfig index ddced0ee5..25b3f39e1 100644 --- a/apps/examples/serialrx/Kconfig +++ b/apps/examples/serialrx/Kconfig @@ -10,4 +10,13 @@ config EXAMPLES_SERIALRX Enable the serial RX example if EXAMPLES_SERIALRX + +config EXAMPLES_SERIALRX_STACKSIZE + int "Serial Rx stack size" + default 2048 + +config EXAMPLES_SERIALRX_PRIORITY + int "Serial Rx task priority" + default 50 + endif diff --git a/apps/examples/serialrx/Makefile b/apps/examples/serialrx/Makefile index 66d485b8d..f184f3e2e 100644 --- a/apps/examples/serialrx/Makefile +++ b/apps/examples/serialrx/Makefile @@ -62,9 +62,12 @@ ROOTDEPPATH = --dep-path . # Built-in application info +CONFIG_EXAMPLES_SERIALRX_PRIORITY ?= 50 +CONFIG_EXAMPLES_SERIALRX_STACKSIZE ?= 2048 + APPNAME = serialrx -PRIORITY = SCHED_PRIORITY_LOW -STACKSIZE = 2048 +PRIORITY = $(CONFIG_EXAMPLES_SERIALRX_PRIORITY) +STACKSIZE = $(CONFIG_EXAMPLES_SERIALRX_STACKSIZE) # Common build |