BAS: Support configurable stacksize and priority. Default stacksize boosted to 4096
This commit is contained in:
parent
ce1b820bc5
commit
9301ed8991
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user