58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menuconfig SYSTEM_PRUN
|
|
bool "Pascal P-Code interpreter"
|
|
default n
|
|
depends on INTERPRETERS_PCODE
|
|
---help---
|
|
Build the Pascal P-Code interpreter / Virtual machine. This selection
|
|
just builds a library of P-Code-related functions as described in
|
|
include/apps/system/prun.h. This selection is also necessary to enable other
|
|
P-Code related features.
|
|
|
|
if SYSTEM_PRUN
|
|
|
|
config SYSTEM_PEXEC
|
|
tristate "Pascal P-Code command"
|
|
default n
|
|
---help---
|
|
Generates an NSH built-in task that may be used to execute P-Code
|
|
files from the NSH command line. For example:
|
|
|
|
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
|
|
endif
|