summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/libpcode/Kconfig
blob: b09f6795e28e72e3b274c4291eb5fb8852faef89 (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
58
59
60
61
62
63
64
65
66
67
68
69
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config PCODE_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 PCODE_PRIORITY
	int "P-code interpreter priority"
	default 100
	---help---
		This is the task_priority that will be used when starting P-code interpreter.

config PCODE_VARSTACKSIZE
	int "P-code variable stack size"
	default 1024
	---help---
		This size of the P-Code variable storage area to be allocated by the
		P-Code runtime.

config PCODE_STRSTACKSIZE
	int "P-code string stack size"
	default 128
	---help---
		This size of the P-Code string stack area to be allocated by the
		P-Code runtime.

config PCODE_TEST_FS
	bool "Mount a test file system"
	depends on FS_ROMFS && !DISABLE_MOUNTPOINT
	---help---
		Mount a test file system.  This test file system was used to verify the P-Code binary format.

if PCODE_TEST_FS

config PCODE_TEST_DEVMINOR
	int "Test file system minor device number"
	default 0
	---help---
		The minor device number of the ROMFS block. For example, the N in /dev/ramN.
		Used for registering the RAM block driver that will hold the ROMFS file system
		containing the P-code files to be tested.  Default: 0

config PCODE_TEST_DEVPATH
	string "Test file system device Path"
	default "/dev/ram0"
	---help---
		The path to the ROMFS block driver device.  This must match PCODE_TEST_DEVMINOR.
		Used for registering the RAM block driver that will hold the ROMFS file system
		containing the P-code files to be tested.  Default: "/dev/ram0"

config PCODE_TEST_MOUNTPOINT
	string "Test file system mount point"
	default "/bin"
	---help---
		Location where the test file system will be mounted

endif # PCODE_TEST_FS

config PCODE_DUMPBUFFER
	bool "Dump P-code buffers"
	default n
	depends on DEBUG && DEBUG_VERBOSE
	---help---
		Dump various P-code buffers for debug purposes