diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-27 09:24:04 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-27 09:24:04 -0600 |
commit | 77e61188945470982bb00766fbd982ca2f91300f (patch) | |
tree | 26c4d4664d5874756aace272e9e55433a0c916a5 | |
parent | ab6da67a4fa20c5f91d5b7fde189a0157bbcaddc (diff) | |
download | px4-nuttx-77e61188945470982bb00766fbd982ca2f91300f.tar.gz px4-nuttx-77e61188945470982bb00766fbd982ca2f91300f.tar.bz2 px4-nuttx-77e61188945470982bb00766fbd982ca2f91300f.zip |
Add commits to BAS 2.4 Kconfig file
-rw-r--r-- | apps/interpreters/bas/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/interpreters/bas/Kconfig b/apps/interpreters/bas/Kconfig index a02f95469..d47444151 100644 --- a/apps/interpreters/bas/Kconfig +++ b/apps/interpreters/bas/Kconfig @@ -9,5 +9,26 @@ config INTERPRETERS_BAS ---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 endif |