summaryrefslogtreecommitdiff
path: root/apps/interpreters/bas/Kconfig
blob: 27c67ac7095a60ecae5a64b9b2dd43fa9de616e4 (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
70
71
72
73
74
75
76
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

config INTERPRETERS_BAS
	bool "Basic Interpreter support"
	default n
	select SCHED_WAITPID
	select LIBC_EXECFUNCS
	select LIBC_FLOATINGPOINT
	depends on FS_READABLE
	---help---
		This is a Basic interpreter written by Michael Haardt

		NOTE: This interpreter requires a usable math.h header file.  By
		default, the math library (and hence, math.h) are not provided by
		NuttX.  Therefore, when the Basic code includes math.h it will
		either fail to find the math.h header file or, worse, will take an
		incompatible version of math.h from your toolchain.  The toolchain's
		version of math.h will be incompatible because it will have been
		implemented to work with a different version of the C library.

		Normally, developers will use an optimized math library for their
		processor architecture and do the following:

		- Save a customized copy of math.h from your tool chain in
		  nuttx/arch/<arch>/include
		- Set CONFIG_ARCH_MATH_H=y in your .config file to select this
		  architecture-specific math.h header file.

		An option is to use the built-in, generic, unoptimized NuttX math
		library that is selected by simply by:

		- Set CONFIG_LIBM=y in your .config file

if INTERPRETERS_BAS

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 INTERPREPTER_BAS_VT100
	bool "VT100 terminal support"
	default y

config INTERPRETER_BAS_USE_LR0
	bool "LR0 parser"
	default n
	---help---
		Select if you want LR0 parser.

config INTERPRETER_BAS_USE_SELECT
	bool "Use select()"
	default n

config INTERPRETER_BAS_HAVE_FTRUNCATE
	bool
	default n
	---help---
		NuttX does not currently support the ftruncate interface


endif