67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
#
|
|
# 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
|
|
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_HAVE_ENVIRON
|
|
bool
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
---help---
|
|
NuttX does not support the environ variable
|
|
|
|
config INTERPRETER_BAS_HAVE_SYSCFG
|
|
bool
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
---help---
|
|
NuttX does not support the syscfg() function
|
|
|
|
config INTERPRETER_BAS_HAVE_SIGINT
|
|
bool
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
---help---
|
|
NuttX does not support the SIGINT signal
|
|
|
|
config INTERPRETER_BAS_HAVE_SIGQUIT
|
|
bool
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
---help---
|
|
NuttX does not support the SIGQUIT signal
|
|
|
|
endif
|