diff options
-rw-r--r-- | apps/interpreters/bas/Kconfig | 12 | ||||
-rw-r--r-- | apps/interpreters/bas/Makefile | 9 |
2 files changed, 18 insertions, 3 deletions
diff --git a/apps/interpreters/bas/Kconfig b/apps/interpreters/bas/Kconfig index 12c80828c..f1b8090f0 100644 --- a/apps/interpreters/bas/Kconfig +++ b/apps/interpreters/bas/Kconfig @@ -39,6 +39,18 @@ config INTERPRETER_BAS_VERSION string "Version number" default "2.4" +config INTERPRETER_BAS_PRIORITY + int "Basic interpreter priority" + default 100 + ---help--- + Task priority of the Basic interpreter main task + +config INTERPRETER_BAS_STACKSIZE + int "Basic interpreter stack size" + default 4096 + ---help--- + Size of the stack allocated for the Basic interpreter main task + config INTERPRETER_BAS_USE_LR0 bool "LR0 parser" default n diff --git a/apps/interpreters/bas/Makefile b/apps/interpreters/bas/Makefile index 9382ddfc5..de92992b3 100644 --- a/apps/interpreters/bas/Makefile +++ b/apps/interpreters/bas/Makefile @@ -68,9 +68,12 @@ endif # BAS built-in application info -APPNAME = bas -PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 2048 +CONFIG_INTERPRETER_BAS_PRIORITY ?= 100 +CONFIG_INTERPRETER_BAS_STACKSIZE ?= 4096 + +APPNAME = bas +PRIORITY = $(CONFIG_INTERPRETER_BAS_PRIORITY) +STACKSIZE = $(CONFIG_INTERPRETER_BAS_STACKSIZE) # Build targets |