2012-04-05 14:44:04 -03:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 13:45:52 -03:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-05 14:44:04 -03:00
|
|
|
#
|
2012-04-07 11:50:57 -03:00
|
|
|
|
2012-04-05 14:44:04 -03:00
|
|
|
mainmenu "Nuttx/$ARCH Configuration"
|
|
|
|
|
2012-04-10 20:49:13 -03:00
|
|
|
config APPSDIR
|
|
|
|
string
|
|
|
|
option env="APPSDIR"
|
|
|
|
|
2012-04-14 17:22:48 -03:00
|
|
|
# This is a temporary kludge to let the build system know that we are using the new
|
|
|
|
# configuration system
|
|
|
|
|
|
|
|
config NUTTX_NEWCONFIG
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2012-09-04 11:43:56 -03:00
|
|
|
menu "Build Setup"
|
2012-04-05 14:44:04 -03:00
|
|
|
config EXPERIMENTAL
|
|
|
|
bool "Prompt for development and/or incomplete code/drivers"
|
|
|
|
|
2012-04-11 14:13:04 -03:00
|
|
|
menu "Build Configuration"
|
|
|
|
config APPS_DIR
|
|
|
|
string "Application directory"
|
|
|
|
default "../apps"
|
|
|
|
---help---
|
|
|
|
Identifies the directory that builds the
|
|
|
|
application to link with NuttX. Default: ../apps This symbol must be assigned
|
|
|
|
to the path to the application build directory *relative* to
|
|
|
|
the NuttX top build direcory. If you had an application
|
|
|
|
directory and the NuttX directory each in separate directory
|
|
|
|
trees like this:
|
|
|
|
|
|
|
|
build
|
|
|
|
|-nuttx
|
|
|
|
| |
|
|
|
|
| `- Makefile
|
|
|
|
`-application
|
|
|
|
|
|
|
|
|
`- Makefile
|
|
|
|
|
|
|
|
Then you would set CONFIG_APPS_DIR=../application.
|
|
|
|
|
|
|
|
The application direction must contain Makefile and this make
|
|
|
|
file must support the following targets:
|
|
|
|
|
|
|
|
libapps$(LIBEXT) (usually libapps.a). libapps.a is a static
|
|
|
|
library ( an archive) that contains all of application object
|
|
|
|
files.
|
|
|
|
|
|
|
|
clean. Do whatever is appropriate to clean the application
|
|
|
|
directories for a fresh build.
|
|
|
|
|
|
|
|
distclean. Clean everthing -- auto-generated files, symbolic
|
|
|
|
links etc. -- so that the directory contents are the same as
|
|
|
|
the contents in your configuration management system.
|
|
|
|
This is only done when you change the NuttX configuration.
|
|
|
|
|
|
|
|
depend. Make or update the application build dependencies.
|
|
|
|
|
|
|
|
When this application is invoked it will receive the setting TOPDIR like:
|
|
|
|
|
|
|
|
$(MAKE) -C $(CONFIG_APPS_DIR) TOPDIR="$(TOPDIR)" <target>
|
|
|
|
|
|
|
|
TOPDIR is the full path to the NuttX directory. It can be used, for
|
|
|
|
example, to include makefile fragments (e.g., .config or Make.defs)
|
|
|
|
or to set up include file paths.
|
|
|
|
|
|
|
|
config BUILD_2PASS
|
|
|
|
bool "Two pass build"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables the two pass build options.
|
|
|
|
|
|
|
|
Two-pass build options. If the 2 pass build option is selected, then these
|
|
|
|
options configure the make system build a extra link object. This link object
|
|
|
|
is assumed to be an incremental (relative) link object, but could be a static
|
|
|
|
library (archive) (some modification to this Makefile would be required if
|
|
|
|
CONFIG_PASS1_TARGET generates an archive). Pass 1 1ncremental (relative) link
|
|
|
|
objects should be put into the processor-specific source directory (where other
|
|
|
|
link objects will be created). If the pass1 obect is an archive, it could
|
|
|
|
go anywhere.
|
|
|
|
|
|
|
|
if BUILD_2PASS
|
|
|
|
config PASS1_TARGET
|
|
|
|
string "Pass one target"
|
|
|
|
default ""
|
|
|
|
---help---
|
|
|
|
The name of the first pass build target. This
|
|
|
|
can be specific build target, a special build target (all, default, etc.)
|
|
|
|
or may just be left undefined.
|
|
|
|
|
|
|
|
config PASS1_BUILDIR
|
|
|
|
string "Pass one build directory"
|
|
|
|
default "build"
|
|
|
|
---help---
|
|
|
|
The path, relative to the top NuttX build
|
|
|
|
directory to directory that contains the Makefile to build the
|
|
|
|
first pass object. The Makefile must support the following targets:
|
|
|
|
The special target CONFIG_PASS1_TARGET (if defined)
|
|
|
|
and the usual depend, clean, and distclean targets.
|
|
|
|
|
|
|
|
config PASS1_OBJECT
|
|
|
|
string "Pass one object"
|
|
|
|
default ""
|
|
|
|
---help---
|
|
|
|
May be used to include an extra, pass1 object
|
|
|
|
into the final link. This would probably be the object generated
|
|
|
|
from the CONFIG_PASS1_TARGET. It may be available at link time
|
|
|
|
in the arch/<architecture>/src directory.
|
|
|
|
|
|
|
|
config NUTTX_KERNEL
|
|
|
|
bool "NuttX kernel build"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Builds NuttX as a separately compiled kernel.
|
|
|
|
endif
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Binary Output Formats"
|
2012-04-05 14:44:04 -03:00
|
|
|
|
|
|
|
config RRLOAD_BINARY
|
|
|
|
bool "rrload binary format"
|
2012-04-07 11:50:57 -03:00
|
|
|
default n
|
2012-04-11 11:47:25 -03:00
|
|
|
---help---
|
|
|
|
Create nuttx.rr in the rrload binary format used with
|
|
|
|
BSPs from www.ridgerun.com using the tools/mkimage.sh script.
|
|
|
|
|
2012-04-05 14:44:04 -03:00
|
|
|
config INTELHEX_BINARY
|
|
|
|
bool "Intel HEX binary format"
|
2012-04-07 11:50:57 -03:00
|
|
|
default n
|
2012-04-11 11:47:25 -03:00
|
|
|
---help---
|
|
|
|
Create the nuttx.hex in the Intel HEX binary format that is
|
|
|
|
used with many different loaders. This option will use the GNU objcopy program
|
|
|
|
and should not be selected if you are not using the GNU toolchain.
|
|
|
|
|
2012-04-05 14:44:04 -03:00
|
|
|
config MOTOROLA_SREC
|
|
|
|
bool "Motorola S-Record binary format"
|
2012-04-07 11:50:57 -03:00
|
|
|
default n
|
2012-04-11 11:47:25 -03:00
|
|
|
---help---
|
|
|
|
Create the nuttx.srec in the Motorola S-Record binary format that is
|
|
|
|
used with many different loaders. This option will use the GNU objcopy program
|
|
|
|
and should not be selected if you are not using the GNU toolchain.
|
|
|
|
|
2012-04-05 14:44:04 -03:00
|
|
|
config RAW_BINARY
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Raw binary format"
|
2012-04-07 11:50:57 -03:00
|
|
|
default n
|
2012-04-11 11:47:25 -03:00
|
|
|
---help---
|
|
|
|
Create the nuttx.bin in the raw binary format that is used with many
|
|
|
|
different loaders using the GNU objcopy program. This option
|
|
|
|
should not be selected if you are not using the GNU toolchain.
|
2012-04-11 14:13:04 -03:00
|
|
|
endmenu
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-11 14:13:04 -03:00
|
|
|
menu "Debug Options"
|
2012-04-05 14:44:04 -03:00
|
|
|
|
|
|
|
config DEBUG
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-07 11:50:57 -03:00
|
|
|
enables built-in debug options
|
2012-04-10 20:49:13 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
if DEBUG
|
|
|
|
config DEBUG_VERBOSE
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable debug verbose output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-07 11:50:57 -03:00
|
|
|
enables verbose debug output
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_ENABLE
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable debug controls"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-07 11:50:57 -03:00
|
|
|
Support an interface to enable or disable debug output.
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_SCHED
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable scheduler debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable OS debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_MM
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable memory manager debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
2012-04-07 11:50:57 -03:00
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable memory management debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_NET
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable network debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
2012-04-07 11:50:57 -03:00
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable network debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_USB
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable USB debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
2012-04-07 11:50:57 -03:00
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable usb debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_FS
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable file system debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
2012-04-07 11:50:57 -03:00
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable file system debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_LIB
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable C library debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
2012-04-07 11:50:57 -03:00
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable C library debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_BINFMT
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable binary loader debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
2012-04-07 11:50:57 -03:00
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable binary loader debug output (disabled by default)
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
config DEBUG_GRAPHICS
|
2012-04-11 11:47:25 -03:00
|
|
|
bool "Enable graphics debug output"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable NX graphics debug output (disabled by default)
|
|
|
|
|
|
|
|
config DEBUG_I2C
|
|
|
|
bool "Enable I2C debug output"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable I2C driver debug output (disabled by default)
|
|
|
|
|
|
|
|
config DEBUG_SPI
|
|
|
|
bool "Enable SPI debug output"
|
2012-04-05 14:44:04 -03:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 11:47:25 -03:00
|
|
|
Enable I2C driver debug output (disabled by default)
|
|
|
|
|
2012-04-16 14:20:36 -03:00
|
|
|
config DEBUG_WATCHDOG
|
|
|
|
bool "Enable watchdog timer debug output"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable watchdog timer debug output (disabled by default)
|
|
|
|
|
2012-04-10 20:49:13 -03:00
|
|
|
endif
|
2012-04-11 11:47:25 -03:00
|
|
|
|
|
|
|
config DEBUG_SYMBOLS
|
|
|
|
bool "Enable debug symbols"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Build without optimization and with debug symbols (needed
|
|
|
|
for use with a debugger).
|
2012-04-07 11:50:57 -03:00
|
|
|
endmenu
|
2012-04-11 14:13:04 -03:00
|
|
|
endmenu
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-07 11:50:57 -03:00
|
|
|
menu "System Type"
|
2012-04-10 23:04:59 -03:00
|
|
|
source "arch/Kconfig"
|
2012-04-07 11:50:57 -03:00
|
|
|
endmenu
|
2012-04-05 14:44:04 -03:00
|
|
|
|
2012-04-16 12:45:33 -03:00
|
|
|
menu "Board Selection"
|
|
|
|
source "configs/Kconfig"
|
|
|
|
endmenu
|
|
|
|
|
2012-09-04 11:43:56 -03:00
|
|
|
menu "RTOS Features"
|
2012-04-07 11:50:57 -03:00
|
|
|
source sched/Kconfig
|
2012-04-05 14:44:04 -03:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Device Drivers"
|
2012-04-07 11:50:57 -03:00
|
|
|
source drivers/Kconfig
|
2012-04-05 14:44:04 -03:00
|
|
|
endmenu
|
|
|
|
|
2012-04-11 20:06:30 -03:00
|
|
|
menu "Networking support"
|
2012-04-07 11:50:57 -03:00
|
|
|
source net/Kconfig
|
2012-04-11 20:06:30 -03:00
|
|
|
endmenu
|
2012-04-05 14:44:04 -03:00
|
|
|
|
|
|
|
menu "File systems"
|
2012-04-07 11:50:57 -03:00
|
|
|
source fs/Kconfig
|
2012-04-05 14:44:04 -03:00
|
|
|
endmenu
|
|
|
|
|
2012-04-11 11:47:25 -03:00
|
|
|
menu "Memory management"
|
|
|
|
source mm/Kconfig
|
|
|
|
endmenu
|
|
|
|
|
2012-04-05 14:44:04 -03:00
|
|
|
menu "Library routines"
|
2012-04-07 11:50:57 -03:00
|
|
|
source lib/Kconfig
|
|
|
|
source libxx/Kconfig
|
2012-04-05 14:44:04 -03:00
|
|
|
endmenu
|
2012-04-10 20:49:13 -03:00
|
|
|
|
|
|
|
menu "Application configuration"
|
|
|
|
source "$APPSDIR/Kconfig"
|
|
|
|
endmenu
|
2012-04-23 16:55:32 -03:00
|
|
|
|