summaryrefslogtreecommitdiff
path: root/apps/system/prun/Kconfig
blob: 61ce1bcd94333d9f3e96ff41edfd667dd191b99b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config 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/prun.h.  This selection is also necessary to enable other
		P-Code related features.

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
		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