NuttX Configuration Variables

Last Updated: December 26, 2016



Table of Contents

1 Menu: Main

Overview. The NuttX RTOS is highly configurable. The NuttX configuration files are maintained using the kconfig-frontends tool. That configuration tool uses Kconfig files that can be found through the NuttX source tree. Each Kconfig files contains declarations of configuration variables. Each configuration variable provides one configuration option for the NuttX RTOS. This configurable options are described in this document.

Main Menu. The normal way to start the NuttX configuration is to enter this command line from the NuttX build directory: make menuconfig. Note that NuttX must first be configured before this command so that the configuration file (.config) is present in the top-level build directory. The main menu is the name give to the opening menu display after this command is executed.

Maintenance Note. This documentation was auto-generated using the kconfig2html tool That tool analyzes the NuttX Kconfig files and generates this HTML document. This HTML document file should not be edited manually. In order to make changes to this document, you should instead modify the Kconfig file(s) that were used to generated this document and then execute the kconfig2html again to regenerate the HTML document file.

1.1 Menu: Build Setup

1.1.1 CONFIG_EXPERIMENTAL: Prompt for development and/or incomplete code/drivers

1.1.2 CONFIG_DEFAULT_SMALL: Default to smallest size

1.1.3 Choice: Build Host Platform

Choice Options:

1.1.4 Choice: Windows Build Environment

Choice Options:

1.1.5 CONFIG_WINDOWS_MKLINK: Use mklink

1.1.6 Menu: Build Configuration

1.1.6.1 CONFIG_APPS_DIR: Application directory

1.1.6.2 Choice: Memory organization

Choice Options:

1.1.6.3 CONFIG_BUILD_2PASS: Two pass build

1.1.6.4 CONFIG_PASS1_TARGET: Pass one target

1.1.6.5 CONFIG_PASS1_BUILDIR: Pass one build directory

1.1.6.6 CONFIG_PASS1_OBJECT: Pass one object

1.1.6.7 CONFIG_NUTTX_USERSPACE: Beginning of user-space blob

1.1.7 Menu: Binary Output Formats

1.1.7.1 CONFIG_RRLOAD_BINARY: rrload binary format

1.1.7.2 CONFIG_INTELHEX_BINARY: Intel HEX binary format

1.1.7.3 CONFIG_MOTOROLA_SREC: Motorola S-Record binary format

1.1.7.4 CONFIG_RAW_BINARY: Raw binary format

1.1.7.5 CONFIG_UBOOT_UIMAGE: U-Boot uImage

1.1.7.6 CONFIG_UIMAGE_LOAD_ADDRESS: uImage load address

1.1.7.7 CONFIG_UIMAGE_ENTRY_POINT: uImage entry point

1.1.8 Menu: Customize Header Files

1.1.8.1 CONFIG_ARCH_STDINT_H: stdint.h

1.1.8.2 CONFIG_ARCH_STDBOOL_H: stdbool.h

1.1.8.3 CONFIG_ARCH_MATH_H: math.h

1.1.8.4 CONFIG_ARCH_FLOAT_H: float.h

1.1.8.5 CONFIG_ARCH_STDARG_H: stdarg.h

1.1.8.6 CONFIG_ARCH_DEBUG_H: debug.h

1.1.9 Menu: Debug Options

1.1.9.1 CONFIG_DEBUG_FEATURES: Enable Debug Features

1.1.9.2 CONFIG_DEBUG_ERROR: Enable Error Output

1.1.9.3 CONFIG_DEBUG_WARN: Enable Warnings Output

1.1.9.4 CONFIG_DEBUG_INFO: Enable Informational Debug Output

1.1.9.5 CONFIG_DEBUG_ASSERTIONS: Enable Debug Assertions

1.1.9.6 CONFIG_DEBUG_AUDIO: Audio Device Debug Features

1.1.9.7 CONFIG_DEBUG_AUDIO_ERROR: Audio Device Error Output

1.1.9.8 CONFIG_DEBUG_AUDIO_WARN: Audio Device Warnings Output

1.1.9.9 CONFIG_DEBUG_AUDIO_INFO: Audio Device Informational Output

1.1.9.10 CONFIG_DEBUG_BINFMT: Binary Loader Debug Features

1.1.9.11 CONFIG_DEBUG_BINFMT_ERROR: Binary Loader Error Output

1.1.9.12 CONFIG_DEBUG_BINFMT_WARN: Binary Loader Warnings Output

1.1.9.13 CONFIG_DEBUG_BINFMT_INFO: Binary Loader Informational Output

1.1.9.14 CONFIG_DEBUG_CRYPTO: Crypto Debug Features

1.1.9.15 CONFIG_DEBUG_CRYPTO_ERROR: Crypto Error Output

1.1.9.16 CONFIG_DEBUG_CRYPTO_WARN: Crypto Warnings Output

1.1.9.17 CONFIG_DEBUG_CRYPTO_INFO: Crypto Informational Output

1.1.9.18 CONFIG_DEBUG_FS: File System Debug Features

1.1.9.19 CONFIG_DEBUG_FS_ERROR: File System Error Output

1.1.9.20 CONFIG_DEBUG_FS_WARN: File System Warnings Output

1.1.9.21 CONFIG_DEBUG_FS_INFO: File System Informational Output

1.1.9.22 CONFIG_DEBUG_GRAPHICS: Graphics Debug Features

1.1.9.23 CONFIG_DEBUG_GRAPHICS_ERROR: Graphics Error Output

1.1.9.24 CONFIG_DEBUG_GRAPHICS_WARN: Graphics Warnings Output

1.1.9.25 CONFIG_DEBUG_GRAPHICS_INFO: Graphics Informational Output

1.1.9.26 CONFIG_DEBUG_LIB: C Library Debug Features

1.1.9.27 CONFIG_DEBUG_LIB_ERROR: C Library Error Output

1.1.9.28 CONFIG_DEBUG_LIB_WARN: C Library Warnings Output

1.1.9.29 CONFIG_DEBUG_LIB_INFO: C Library Informational Output

1.1.9.30 CONFIG_DEBUG_MM: Memory Manager Debug Features

1.1.9.31 CONFIG_DEBUG_MM_ERROR: Memory Manager Error Output

1.1.9.32 CONFIG_DEBUG_MM_WARN: Memory Manager Warnings Output

1.1.9.33 CONFIG_DEBUG_MM_INFO: Memory Manager Informational Output

1.1.9.34 CONFIG_DEBUG_SHM: Shared Memory Debug Output

1.1.9.35 CONFIG_DEBUG_NET: Network Debug Features

1.1.9.36 CONFIG_DEBUG_NET_ERROR: Network Error Output

1.1.9.37 CONFIG_DEBUG_NET_WARN: Network Warnings Output

1.1.9.38 CONFIG_DEBUG_NET_INFO: Network Informational Output

1.1.9.39 CONFIG_DEBUG_SCHED: Scheduler Debug Features

1.1.9.40 CONFIG_DEBUG_SCHED_ERROR: Scheduler Error Output

1.1.9.41 CONFIG_DEBUG_SCHED_WARN: Scheduler Warnings Output

1.1.9.42 CONFIG_DEBUG_SCHED_INFO: Scheduler Informational Output

1.1.9.43 CONFIG_DEBUG_SYSCALL: SYSCALL Debug Features

1.1.9.44 CONFIG_DEBUG_SYSCALL_ERROR: SYSCALL Error Output

1.1.9.45 CONFIG_DEBUG_SYSCALL_WARN: SYSCALL Warnings Output

1.1.9.46 CONFIG_DEBUG_SYSCALL_INFO: SYSCALL Informational Output

1.1.9.47 CONFIG_DEBUG_WIRELESS: Wireless Device Debug Output

1.1.9.48 CONFIG_DEBUG_DMA: DMA Debug Features

1.1.9.49 CONFIG_DEBUG_DMA_ERROR: DMA Error Output

1.1.9.50 CONFIG_DEBUG_DMA_WARN: DMA Warnings Output

1.1.9.51 CONFIG_DEBUG_DMA_INFO: DMA Informational Output

1.1.9.52 CONFIG_DEBUG_IRQ: Interrupt Controller Debug Features

1.1.9.53 CONFIG_DEBUG_IRQ_ERROR: DMA Error Output

1.1.9.54 CONFIG_DEBUG_IRQ_WARN: DMA Warnings Output

1.1.9.55 CONFIG_DEBUG_IRQ_INFO: DMA Informational Output

1.1.9.56 CONFIG_DEBUG_PAGING: Paging Debug Features

1.1.9.57 CONFIG_DEBUG_PAGING_ERROR: Paging Error Output

1.1.9.58 CONFIG_DEBUG_PAGING_WARN: Paging Warnings Output

1.1.9.59 CONFIG_DEBUG_PAGING_INFO: Paging Informational Output

1.1.9.60 CONFIG_DEBUG_LCD: Low-level LCD Debug Features

1.1.9.61 CONFIG_DEBUG_LCD_ERROR: LCD Driver Error Output

1.1.9.62 CONFIG_DEBUG_LCD_WARN: LCD Driver Warnings Output

1.1.9.63 CONFIG_DEBUG_LCD_INFO: LCD Driver Informational Output

1.1.9.64 CONFIG_DEBUG_LEDS: Low-level LED Debug Features

1.1.9.65 CONFIG_DEBUG_LEDS_ERROR: LED Driver Error Output

1.1.9.66 CONFIG_DEBUG_LEDS_WARN: LED Driver Warnings Output

1.1.9.67 CONFIG_DEBUG_LEDS_INFO: LED Driver Informational Output

1.1.9.68 CONFIG_DEBUG_INPUT: Input Device Debug Features

1.1.9.69 CONFIG_DEBUG_INPUT_ERROR: Input Device Error Output

1.1.9.70 CONFIG_DEBUG_INPUT_WARN: Input Device Warnings Output

1.1.9.71 CONFIG_DEBUG_INPUT_INFO: Input Device Informational Output

1.1.9.72 CONFIG_DEBUG_ANALOG: Analog Device Debug Features

1.1.9.73 CONFIG_DEBUG_ANALOG_ERROR: Analog Device Error Output

1.1.9.74 CONFIG_DEBUG_ANALOG_WARN: Analog Device Warnings Output

1.1.9.75 CONFIG_DEBUG_ANALOG_INFO: Analog Device Informational Output

1.1.9.76 CONFIG_DEBUG_CAN: CAN Debug Features

1.1.9.77 CONFIG_DEBUG_CAN_ERROR: CAN Error Output

1.1.9.78 CONFIG_DEBUG_CAN_WARN: CAN Warnings Output

1.1.9.79 CONFIG_DEBUG_CAN_INFO: CAN Informational Output

1.1.9.80 CONFIG_DEBUG_GPIO: GPIO Debug Features

1.1.9.81 CONFIG_DEBUG_GPIO_ERROR: GPIO Error Output

1.1.9.82 CONFIG_DEBUG_GPIO_WARN: GPIO Warnings Output

1.1.9.83 CONFIG_DEBUG_GPIO_INFO: GPIO Informational Output

1.1.9.84 CONFIG_DEBUG_I2C: I2C Debug Features

1.1.9.85 CONFIG_DEBUG_I2C_ERROR: I2C Error Output

1.1.9.86 CONFIG_DEBUG_I2C_WARN: I2C Warnings Output

1.1.9.87 CONFIG_DEBUG_I2C_INFO: I2C Informational Output

1.1.9.88 CONFIG_DEBUG_I2S: I2S Debug Features

1.1.9.89 CONFIG_DEBUG_I2S_ERROR: I2S Error Output

1.1.9.90 CONFIG_DEBUG_I2S_WARN: I2S Warnings Output

1.1.9.91 CONFIG_DEBUG_I2S_INFO: I2S Informational Output

1.1.9.92 CONFIG_DEBUG_PWM: PWM Debug Features

1.1.9.93 CONFIG_DEBUG_PWM_ERROR: PWM Error Output

1.1.9.94 CONFIG_DEBUG_PWM_WARN: PWM Warnings Output

1.1.9.95 CONFIG_DEBUG_PWM_INFO: PWM Informational Output

1.1.9.96 CONFIG_DEBUG_RTC: RTC Debug Features

1.1.9.97 CONFIG_DEBUG_RTC_ERROR: RTC Error Output

1.1.9.98 CONFIG_DEBUG_RTC_WARN: RTC Warnings Output

1.1.9.99 CONFIG_DEBUG_RTC_INFO: RTC Informational Output

1.1.9.100 CONFIG_DEBUG_MEMCARD: Memory Card Driver Debug Features

1.1.9.101 CONFIG_DEBUG_MEMCARD_ERROR: Memory Card Driver Error Output

1.1.9.102 CONFIG_DEBUG_MEMCARD_WARN: Memory Card Driver Warnings Output

1.1.9.103 CONFIG_DEBUG_MEMCARD_INFO: Memory Card Driver Informational Output

1.1.9.104 CONFIG_DEBUG_SENSORS: Sensor Debug Features

1.1.9.105 CONFIG_DEBUG_SENSORS_ERROR: Sensor Error Output

1.1.9.106 CONFIG_DEBUG_SENSORS_WARN: Sensor Warnings Output

1.1.9.107 CONFIG_DEBUG_SENSORS_INFO: Sensor Informational Output

1.1.9.108 CONFIG_DEBUG_SPI: SPI Debug Features

1.1.9.109 CONFIG_DEBUG_SPI_ERROR: SPI Error Output

1.1.9.110 CONFIG_DEBUG_SPI_WARN: SPI Warnings Output

1.1.9.111 CONFIG_DEBUG_SPI_INFO: SPI Informational Output

1.1.9.112 CONFIG_DEBUG_TIMER: Timer Debug Features

1.1.9.113 CONFIG_DEBUG_TIMER_ERROR: Timer Error Output

1.1.9.114 CONFIG_DEBUG_TIMER_WARN: Timer Warnings Output

1.1.9.115 CONFIG_DEBUG_TIMER_INFO: Timer Informational Output

1.1.9.116 CONFIG_DEBUG_USB: USB Debug Features

1.1.9.117 CONFIG_DEBUG_USB_ERROR: USB Error Output

1.1.9.118 CONFIG_DEBUG_USB_WARN: USB Warnings Output

1.1.9.119 CONFIG_DEBUG_USB_INFO: USB Informational Output

1.1.9.120 CONFIG_DEBUG_WATCHDOG: Watchdog Timer Debug Features

1.1.9.121 CONFIG_DEBUG_WATCHDOG_ERROR: Watchdog Timer Error Output

1.1.9.122 CONFIG_DEBUG_WATCHDOG_WARN: Watchdog Timer Warnings Output

1.1.9.123 CONFIG_DEBUG_WATCHDOG_INFO: Watchdog Timer Informational Output

1.1.9.124 CONFIG_STACK_COLORATION: Stack coloration

1.1.9.125 CONFIG_HEAP_COLORATION: Heap coloration

1.1.9.126 CONFIG_DEBUG_SYMBOLS: Generate Debug Symbols

1.1.10 Choice: Optimization Level

Choice Options:

1.1.11 CONFIG_DEBUG_OPTLEVEL: Custom Optimization Level

1.2 Menu: System Type

1.2.1 Choice: CPU Architecture

Choice Options:

1.2.2 Choice: ARM chip selection

Choice Options:

1.2.3 CONFIG_ARMV7M_USEBASEPRI: Use BASEPRI Register

1.2.4 CONFIG_ARMV7M_CMNVECTOR: Use common ARMv7-M vectors

1.2.5 CONFIG_ARMV7M_LAZYFPU: Lazy FPU storage

1.2.6 CONFIG_ARCH_FPU: FPU support

1.2.7 CONFIG_ARCH_DPFPU: Double precision FPU support

1.2.8 Choice: TrustZone Configuration

Choice Options:

1.2.9 CONFIG_ARM_MPU: MPU support

1.2.10 CONFIG_ARM_MPU_NREGIONS: Number of MPU regions

1.2.11 CONFIG_ARCH_LOWVECTORS: Vectors in low memory

1.2.12 CONFIG_ARCH_ROMPGTABLE: ROM page table

1.2.13 CONFIG_DEBUG_HARDFAULT: Verbose Hard-Fault Debug

1.2.14 Choice: Toolchain Selection

Choice Options:

1.2.15 Menu: L2 Cache Configuration

1.2.15.1 CONFIG_ARMV7A_L2CC_PL310: ARMv7-A L2CC P310 Support

1.2.15.2 CONFIG_PL310_LOCKDOWN_BY_MASTER: PL310 Lockdown by Master

1.2.15.3 CONFIG_PL310_LOCKDOWN_BY_LINE: PL310 Lockdown by Line

1.2.15.4 CONFIG_PL310_ADDRESS_FILTERING: PL310 Address Filtering by Line

1.2.15.5 Choice: L2 Cache Associativity

Choice Options:

1.2.15.6 Choice: L2 Cache Way Size

Choice Options:

1.2.16 Choice: Toolchain Selection

Choice Options:

1.2.17 CONFIG_ARMV7A_OABI_TOOLCHAIN: OABI (vs EABI)

1.2.18 CONFIG_ARMV7A_DECODEFIQ: FIQ Handler

1.2.19 CONFIG_ARMV7M_ICACHE: Use I-Cache

1.2.20 CONFIG_ARMV7M_DCACHE: Use D-Cache

1.2.21 CONFIG_ARMV7M_DCACHE_WRITETHROUGH: D-Cache Write-Through

1.2.22 CONFIG_ARMV7M_ITCM: Use ITCM

1.2.23 CONFIG_ARMV7M_DTCM: Use DTCM

1.2.24 Choice: Toolchain Selection

Choice Options:

1.2.25 CONFIG_ARMV7M_OABI_TOOLCHAIN: OABI (vs EABI)

1.2.26 CONFIG_ARMV7M_TARGET2_PREL: R_ARM_TARGET2 is PC relative

1.2.27 CONFIG_ARMV7M_STACKCHECK: Check for stack overflow on each function call

1.2.28 CONFIG_ARMV7M_ITMSYSLOG: ITM SYSLOG support

1.2.29 CONFIG_ARMV7M_ITMSYSLOG_PORT: ITM SYSLOG Port

1.2.30 CONFIG_ARMV7M_ITMSYSLOG_SWODIV: ITM SYSLOG SWO divider

1.2.31 CONFIG_ARMV7R_ICACHE: Use I-Cache

1.2.32 CONFIG_ARMV7R_DCACHE: Use D-Cache

1.2.33 CONFIG_ARMV7R_DCACHE_WRITETHROUGH: D-Cache Write-Through

1.2.34 Menu: L2 Cache Configuration

1.2.34.1 CONFIG_ARMV7R_L2CC_PL310: ARMv7-A L2CC P310 Support

1.2.34.2 CONFIG_PL310_LOCKDOWN_BY_MASTER: PL310 Lockdown by Master

1.2.34.3 CONFIG_PL310_LOCKDOWN_BY_LINE: PL310 Lockdown by Line

1.2.34.4 CONFIG_PL310_ADDRESS_FILTERING: PL310 Address Filtering by Line

1.2.34.5 Choice: L2 Cache Associativity

Choice Options:

1.2.34.6 Choice: L2 Cache Way Size

Choice Options: