2014-05-09 16:52:11 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
2015-04-07 21:23:39 +02:00
|
|
|
menuconfig SYSTEM_PRUN
|
2014-05-09 16:52:11 +02:00
|
|
|
bool "Pascal P-Code interpreter"
|
|
|
|
default n
|
|
|
|
depends on INTERPRETERS_PCODE
|
|
|
|
---help---
|
2014-05-09 20:30:07 +02:00
|
|
|
Build the Pascal P-Code interpreter / Virtual machine. This selection
|
|
|
|
just builds a library of P-Code-related functions as described in
|
|
|
|
include/apps/prun.h. This selection is also necessary to enable other
|
|
|
|
P-Code related features.
|
2014-05-09 16:52:11 +02:00
|
|
|
|
2014-05-09 19:09:43 +02:00
|
|
|
if SYSTEM_PRUN
|
|
|
|
|
|
|
|
config SYSTEM_PEXEC
|
|
|
|
bool "Pascal P-Code command"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Generates an NSH built-in task that may be used to execute P-Code
|
2014-05-09 20:30:07 +02:00
|
|
|
files from the NSH command line. For example:
|
2014-05-09 19:09:43 +02:00
|
|
|
|
2014-05-09 20:30:07 +02:00
|
|
|
nsh> pexec /bin/hello.pex
|
|
|
|
Hello, World!
|
|
|
|
|
|
|
|
if SYSTEM_PEXEC
|
|
|
|
|
|
|
|
config SYSTEM_PEXEC_STACKSIZE
|
|
|
|
int "P-code interpreter stack size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
This is the stack size that will be used when starting P-code interpreter.
|
|
|
|
|
|
|
|
config SYSTEM_PEXEC_PRIORITY
|
|
|
|
int "P-code interpreter priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
This is the task_priority that will be used when starting P-code interpreter.
|
|
|
|
|
|
|
|
config SYSTEM_PEXEC_VARSTACKSIZE
|
|
|
|
int "P-code variable stack size (default)"
|
|
|
|
default 1024
|
|
|
|
---help---
|
|
|
|
This default size of the P-Code variable storage area to be allocated by the
|
|
|
|
P-Code runtime.
|
|
|
|
|
|
|
|
config SYSTEM_PEXEC_STRSTACKSIZE
|
|
|
|
int "P-code string stack size (default)"
|
|
|
|
default 128
|
|
|
|
---help---
|
|
|
|
This default size of the P-Code string stack area to be allocated by the
|
|
|
|
P-Code runtime.
|
|
|
|
|
|
|
|
endif
|
2014-05-09 16:52:11 +02:00
|
|
|
endif
|