80ce7800a9
Documentation/contributing/coding_style.rst: * Fix repeated words: ("this this"). * Remove trailing spaces. boards/z80/z80/z80sim/README.txt: * Fix repeated words: ("this this") and rewrap lines. graphics/Kconfig, libs/libc/math/Kconfig: * Fix repeated words: ("this this"). arch/arm/src/armv7-a/arm_assert.c, arch/arm/src/armv7-r/arm_assert.c, arch/arm/src/imxrt/imxrt_enet.c, arch/arm/src/kinetis/kinetis_enet.c, arch/arm/src/kinetis/kinetis_flexcan.c, arch/arm/src/s32k1xx/s32k1xx_enet.c, arch/arm/src/s32k1xx/s32k1xx_flexcan.c, arch/arm/src/stm32/stm32_pwm.c, arch/arm/src/stm32h7/stm32_pwm.c, arch/arm/src/stm32l4/stm32l4_pwm.c, arch/renesas/src/rx65n/rx65n_usbdev.c, binfmt/libnxflat/libnxflat_bind.c, drivers/pipes/pipe_common.c, net/igmp/igmp_input.c, net/tcp/tcp_conn.c, sched/sched/sched_roundrobin.c: * Fix typo in comment ("this this"). arch/arm/src/cxd56xx/cxd56_usbdev.c, arch/arm/src/lc823450/lc823450_usbdev.c: * Fix typo in comment and rewrap lines. arch/arm/src/imxrt/imxrt_usbdev.c, arch/arm/src/stm32/stm32_dac.c, arch/arm/src/stm32f0l0g0/stm32_pwm.c, arch/arm/src/stm32f7/stm32_pwm.c, arch/arm/src/tiva/lm/lm4f_gpio.h, fs/nxffs/nxffs_write.c, include/nuttx/analog/pga11x.h, include/nuttx/usb/usbdev.h, net/mld/mld_join.c: * Fix typo in comment ("this this"). * Fix nxstyle issues.
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
#menu "Math Library Support"
|
|
|
|
config LIBM
|
|
bool "Standard Math library"
|
|
default n
|
|
depends on !ARCH_MATH_H
|
|
select ARCH_FLOAT_H
|
|
---help---
|
|
By default, no math library will be provided by NuttX. In this
|
|
case, it is assumed that (1) no math library is required, or (2) you
|
|
will be using the math.h and float.h headers file and the libm
|
|
library provided by your toolchain.
|
|
|
|
This is may be a very good choice is possible because your toolchain
|
|
may have have a highly optimized version of libm.
|
|
|
|
Another possibility is that you have a custom, architecture-specific
|
|
math library and that the corresponding math.h file resides at
|
|
arch/<architecture>/include/math.h. The option is selected via
|
|
CONFIG_ARCH_MATH_H. If ARCH_MATH_H is selected,then the
|
|
include/nuttx/libmath.h header file will be copied to include/math.h
|
|
where it can be used by your applications.
|
|
|
|
If ARCH_MATH_H is not defined, then this option can be selected to
|
|
build a generic, math library built into NuttX. This math library
|
|
comes from the Rhombus OS and was written by Nick Johnson. The
|
|
Rhombus OS math library port was contributed by Darcy Gong.
|
|
|
|
#endmenu # Math Library Support
|