2012-04-05 19:44:04 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-05 19:44:04 +02:00
|
|
|
#
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2012-04-05 19:44:04 +02:00
|
|
|
mainmenu "Nuttx/$ARCH Configuration"
|
|
|
|
|
2012-04-11 01:49:13 +02:00
|
|
|
config APPSDIR
|
|
|
|
string
|
2012-12-22 17:51:01 +01:00
|
|
|
option env="APPSDIR"
|
2012-04-11 01:49:13 +02:00
|
|
|
|
2012-04-14 22:22:48 +02: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 16:43:56 +02:00
|
|
|
menu "Build Setup"
|
2014-01-24 14:45:35 +01:00
|
|
|
|
2012-04-05 19:44:04 +02:00
|
|
|
config EXPERIMENTAL
|
|
|
|
bool "Prompt for development and/or incomplete code/drivers"
|
|
|
|
|
2014-02-21 01:49:45 +01:00
|
|
|
config DEFAULT_SMALL
|
|
|
|
bool "Default to smallest size"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When options are present, the default value for certain options will
|
|
|
|
be the one the results in the smallest size (at a loss of featurs).
|
|
|
|
The default is a fuller feature set at a larger size.
|
|
|
|
|
|
|
|
NOTE: This option does not prevent you from overriding the default
|
|
|
|
to select another alternative. Nor does it affect the settings that
|
|
|
|
have already been selected in your configuration file. This applies
|
|
|
|
only to new settings that require a default value.
|
|
|
|
|
2012-11-09 18:37:27 +01:00
|
|
|
choice
|
|
|
|
prompt "Build Host Platform"
|
|
|
|
default HOST_LINUX
|
|
|
|
|
|
|
|
config HOST_LINUX
|
|
|
|
bool "Linux"
|
|
|
|
|
|
|
|
config HOST_OSX
|
|
|
|
bool "OSX"
|
|
|
|
|
|
|
|
config HOST_WINDOWS
|
|
|
|
bool "Windows"
|
|
|
|
|
|
|
|
config HOST_OTHER
|
|
|
|
bool "Other"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Windows Build Environment"
|
|
|
|
default WINDOWS_CYGWIN
|
|
|
|
depends on HOST_WINDOWS
|
|
|
|
|
|
|
|
config WINDOWS_NATIVE
|
|
|
|
bool "Windows Native"
|
2012-11-13 16:50:38 +01:00
|
|
|
---help---
|
|
|
|
Build natively in a CMD.exe environment with Windows style paths (like C:\cgywin\home)
|
2012-11-09 18:37:27 +01:00
|
|
|
|
|
|
|
config WINDOWS_CYGWIN
|
|
|
|
bool "Cygwin"
|
2013-04-21 01:05:45 +02:00
|
|
|
---help---
|
2012-11-13 16:50:38 +01:00
|
|
|
Build natively in a Cygwin environment with POSIX style paths (like /cygdrive/c/cgywin/home)
|
2012-11-09 18:37:27 +01:00
|
|
|
|
|
|
|
config WINDOWS_MSYS
|
|
|
|
bool "MSYS"
|
2012-11-13 16:50:38 +01:00
|
|
|
---help---
|
|
|
|
Build natively in a Cygwin environment with POSIX style paths (like /cygdrive/c/cgywin/home)
|
2012-11-09 18:37:27 +01:00
|
|
|
|
|
|
|
config WINDOWS_OTHER
|
2012-11-13 16:50:38 +01:00
|
|
|
bool "Windows POSIX-like environment"
|
|
|
|
---help---
|
|
|
|
Build natively in another POSIX-like environment. Additional support may be necessary
|
2012-11-09 18:37:27 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2012-11-09 23:37:52 +01:00
|
|
|
config WINDOWS_MKLINK
|
|
|
|
bool "Use mklink"
|
2012-11-21 18:44:14 +01:00
|
|
|
default n
|
2012-11-13 16:50:38 +01:00
|
|
|
depends on WINDOWS_NATIVE
|
2012-11-09 23:37:52 +01:00
|
|
|
---help---
|
|
|
|
Use the mklink command to set up symbolic links when NuttX is
|
|
|
|
configured. Otherwise, configuration directories will be copied to
|
|
|
|
establish the configuration.
|
|
|
|
|
|
|
|
If directories are copied, then some confusion can result ("Which
|
|
|
|
version of the file did I modify?"). In that case, it is recommended
|
|
|
|
that you re-build using 'make clean_context all'. That will cause the
|
|
|
|
configured directories to be recopied on each build.
|
|
|
|
|
|
|
|
NOTE: This option also (1) that you have administrator privileges, (2)
|
|
|
|
that you are using Windows 2000 or better, and (3) that you are using
|
|
|
|
the NTFS file system. Select 'n' is that is not the case.
|
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
menu "Build Configuration"
|
2012-11-09 18:37:27 +01:00
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
config APPS_DIR
|
|
|
|
string "Application directory"
|
2012-11-14 18:04:03 +01:00
|
|
|
default "../apps" if !WINDOWS_NATIVE
|
|
|
|
default "..\apps" if WINDOWS_NATIVE
|
2012-04-11 19:13:04 +02:00
|
|
|
---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
|
2014-02-08 17:46:29 +01:00
|
|
|
the NuttX top build directory. If you had an application
|
2012-04-11 19:13:04 +02:00
|
|
|
directory and the NuttX directory each in separate directory
|
|
|
|
trees like this:
|
2013-04-20 22:18:08 +02:00
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
build
|
|
|
|
|-nuttx
|
|
|
|
| |
|
|
|
|
| `- Makefile
|
|
|
|
`-application
|
|
|
|
|
|
|
|
|
`- Makefile
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2013-04-25 23:52:00 +02:00
|
|
|
Then you would set APPS_DIR=../application.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
|
|
|
The application direction must contain Makefile and this make
|
|
|
|
file must support the following targets:
|
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
1)libapps$(LIBEXT) (usually libapps.a). libapps.a is a static
|
2012-04-11 19:13:04 +02:00
|
|
|
library ( an archive) that contains all of application object
|
|
|
|
files.
|
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
2)clean. Do whatever is appropriate to clean the application
|
2012-04-11 19:13:04 +02:00
|
|
|
directories for a fresh build.
|
|
|
|
|
2014-02-08 17:46:29 +01:00
|
|
|
3)distclean. Clean everything -- auto-generated files, symbolic
|
2012-04-11 19:13:04 +02:00
|
|
|
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.
|
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
4)depend. Make or update the application build dependencies.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
|
|
|
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
|
2013-04-25 23:52:00 +02:00
|
|
|
PASS1_TARGET generates an archive). Pass 1 1ncremental (relative) link
|
2012-04-11 19:13:04 +02:00
|
|
|
objects should be put into the processor-specific source directory (where other
|
2014-02-08 17:46:29 +01:00
|
|
|
link objects will be created). If the pass1 object is an archive, it could
|
2012-04-11 19:13:04 +02:00
|
|
|
go anywhere.
|
|
|
|
|
|
|
|
if BUILD_2PASS
|
2014-01-24 14:45:35 +01:00
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
config PASS1_TARGET
|
|
|
|
string "Pass one target"
|
2013-03-10 20:31:10 +01:00
|
|
|
default "all"
|
2012-04-11 19:13:04 +02:00
|
|
|
---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:
|
2013-04-25 23:52:00 +02:00
|
|
|
The special target PASS1_TARGET (if defined)
|
2012-04-11 19:13:04 +02:00
|
|
|
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
|
2013-04-25 23:52:00 +02:00
|
|
|
from the PASS1_TARGET. It may be available at link time
|
2012-04-11 19:13:04 +02:00
|
|
|
in the arch/<architecture>/src directory.
|
|
|
|
|
|
|
|
config NUTTX_KERNEL
|
|
|
|
bool "NuttX kernel build"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Builds NuttX as a separately compiled kernel.
|
2013-03-11 00:42:49 +01:00
|
|
|
|
|
|
|
config NUTTX_USERSPACE
|
|
|
|
hex "Beginning of user-space blob"
|
|
|
|
default 0x0
|
|
|
|
depends on NUTTX_KERNEL
|
|
|
|
---help---
|
|
|
|
In the kernel build, the NuttX kernel and the user-space blob are
|
|
|
|
built separately linked objects. NUTTX_USERSPACE provides the
|
|
|
|
address where the user-space blob is loaded into memory. NuttX will
|
|
|
|
expect to find and instance of struct userspace_s at this location.
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
endif # Build 2-pass
|
|
|
|
endmenu # Build Setup
|
2012-04-11 19:13:04 +02:00
|
|
|
|
|
|
|
menu "Binary Output Formats"
|
2012-04-05 19:44:04 +02:00
|
|
|
|
|
|
|
config RRLOAD_BINARY
|
|
|
|
bool "rrload binary format"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
2012-04-11 16:47:25 +02: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 19:44:04 +02:00
|
|
|
config INTELHEX_BINARY
|
|
|
|
bool "Intel HEX binary format"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
2012-04-11 16:47:25 +02: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 19:44:04 +02:00
|
|
|
config MOTOROLA_SREC
|
|
|
|
bool "Motorola S-Record binary format"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
2012-04-11 16:47:25 +02: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 19:44:04 +02:00
|
|
|
config RAW_BINARY
|
2012-04-11 16:47:25 +02:00
|
|
|
bool "Raw binary format"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
2012-04-11 16:47:25 +02: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.
|
2014-01-24 14:45:35 +01:00
|
|
|
|
|
|
|
endmenu # Binary Output Formats
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-09-05 19:20:19 +02:00
|
|
|
menu "Customize Header Files"
|
|
|
|
|
2014-03-06 18:19:05 +01:00
|
|
|
config ARCH_STDINT_H
|
|
|
|
bool "stdint.h"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The stdint.h header file can be found at nuttx/include/stdint.h.
|
|
|
|
However, that header includes logic to redirect the inclusion of an
|
|
|
|
architecture specific header file like:
|
|
|
|
|
|
|
|
#ifdef CONFIG_ARCH_STDINT_H
|
|
|
|
# include <arch/stdint.h>
|
|
|
|
#else
|
|
|
|
...
|
|
|
|
#endif
|
|
|
|
|
|
|
|
Recall that that include path, include/arch, is a symbolic link and
|
|
|
|
will refer to a version of stdint.h at nuttx/arch/<architecture>/include/stdint.h.
|
|
|
|
|
2012-09-05 19:20:19 +02:00
|
|
|
config ARCH_STDBOOL_H
|
|
|
|
bool "stdbool.h"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The stdbool.h header file can be found at nuttx/include/stdbool.h.
|
|
|
|
However, that header includes logic to redirect the inclusion of an
|
|
|
|
architecture specific header file like:
|
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
#ifdef CONFIG_ARCH_STDBOOL_H
|
|
|
|
# include <arch/stdbool.h>
|
|
|
|
#else
|
|
|
|
...
|
|
|
|
#endif
|
2012-09-05 19:20:19 +02:00
|
|
|
|
|
|
|
Recall that that include path, include/arch, is a symbolic link and
|
|
|
|
will refer to a version of stdbool.h at nuttx/arch/<architecture>/include/stdbool.h.
|
|
|
|
|
|
|
|
config ARCH_MATH_H
|
|
|
|
bool "math.h"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
There is also a re-directing version of math.h in the source tree.
|
|
|
|
However, it resides out-of-the-way at include/nuttx/math.h because it
|
|
|
|
conflicts too often with the system math.h. If ARCH_MATH_H=y is
|
|
|
|
defined, however, the top-level makefile will copy the redirecting
|
2013-04-22 17:10:58 +02:00
|
|
|
math.h header file from include/nuttx/math.h to include/math.h. math.h
|
2012-09-05 19:20:19 +02:00
|
|
|
will then include the architecture-specific version of math.h that you
|
|
|
|
must provide at nuttx/arch/>architecture</include/math.h.
|
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
#ifdef CONFIG_ARCH_MATH_H
|
|
|
|
# include <arch/math.h>
|
|
|
|
#endif
|
2012-09-05 19:20:19 +02:00
|
|
|
|
|
|
|
So for the architectures that define ARCH_MATH_H=y, include/math.h
|
|
|
|
will be the redirecting math.h header file; for the architectures
|
|
|
|
that don't select ARCH_MATH_H, the redirecting math.h header file
|
|
|
|
will stay out-of-the-way in include/nuttx/.
|
|
|
|
|
2012-10-28 19:42:09 +01:00
|
|
|
config ARCH_FLOAT_H
|
|
|
|
bool "float.h"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The float.h header file defines the properties of your floating
|
|
|
|
point implementation. It would always be best to use your
|
2014-02-08 17:46:29 +01:00
|
|
|
toolchain's float.h header file but if none is available, a default
|
2012-10-28 19:42:09 +01:00
|
|
|
float.h header file will provided if this option is selected. However
|
2013-04-22 17:10:58 +02:00
|
|
|
there is no assurance that the settings in this float.h are actually
|
2012-10-28 19:42:09 +01:00
|
|
|
correct for your platform!
|
|
|
|
|
2012-09-05 19:20:19 +02:00
|
|
|
config ARCH_STDARG_H
|
|
|
|
bool "stdarg.h"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
There is also a redirecting version of stdarg.h in the source tree
|
|
|
|
as well. It also resides out-of-the-way at include/nuttx/stdarg.h.
|
|
|
|
This is because you should normally use your toolchain's stdarg.h
|
|
|
|
file. But sometimes, your toolchain's stdarg.h file may have other
|
|
|
|
header file dependencies and so may not be usable in the NuttX build
|
|
|
|
environment. In those cases, you may have to create a architecture-
|
|
|
|
specific stdarg.h header file at nuttx/arch/<architecture>/include/stdarg.h
|
|
|
|
|
|
|
|
If ARCH_STDARG_H=y is defined, the top-level makefile will copy the
|
|
|
|
re-directing stdarg.h header file from include/nuttx/stdarg.h to
|
|
|
|
include/stdarg.h. So for the architectures that cannot use their
|
|
|
|
toolchain's stdarg.h file, they can use this alternative by defining
|
|
|
|
ARCH_STDARG_H=y and providing. If ARCH_STDARG_H, is not defined, then
|
|
|
|
the stdarg.h header file will stay out-of-the-way in include/nuttx/.
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
endmenu # Customize Header Files
|
2012-09-05 19:20:19 +02:00
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
menu "Debug Options"
|
2012-04-05 19:44:04 +02:00
|
|
|
|
|
|
|
config DEBUG
|
2012-09-26 21:41:54 +02:00
|
|
|
bool "Enable Debug Features"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-09-05 19:20:19 +02:00
|
|
|
Enables built-in debug features. Selecting this option will (1) Enable
|
|
|
|
debug assertions in the code, (2) enable extended parameter testing in
|
2013-01-29 14:30:10 +01:00
|
|
|
many functions, and (3) enable support for debug output to the SYSLOG.
|
|
|
|
Note that enabling this option by itself does not produce debug output.
|
|
|
|
Debug output must also be selected on a subsystem-by-subsystem basis.
|
2012-04-11 01:49:13 +02:00
|
|
|
|
2013-09-24 19:45:13 +02:00
|
|
|
config ARCH_HAVE_STACKCHECK
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2013-11-01 18:16:51 +01:00
|
|
|
config ARCH_HAVE_HEAPCHECK
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if DEBUG
|
2014-01-24 14:45:35 +01:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_VERBOSE
|
2012-09-26 21:41:54 +02:00
|
|
|
bool "Enable Debug Verbose Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2014-02-08 17:46:29 +01:00
|
|
|
Enables verbose debug output (assuming debug features are enabled).
|
2013-01-29 14:30:10 +01:00
|
|
|
As a general rule, when DEBUG is enabled only errors will be
|
|
|
|
reported in the debug SYSLOG output. But if you also enable
|
|
|
|
DEBUG_VERBOSE, then very chatty (and often annoying) output will be
|
|
|
|
generated. This means there are two levels of debug output:
|
|
|
|
errors-only and everything.
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-09-27 00:03:53 +02:00
|
|
|
comment "Subsystem Debug Options"
|
|
|
|
|
2012-10-21 17:47:34 +02:00
|
|
|
config DEBUG_MM
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Memory Manager Debug Output"
|
2012-10-21 17:47:34 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable memory management debug SYSLOG output (disabled by default)
|
2012-10-21 17:47:34 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_SCHED
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Scheduler Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable OS debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-10-21 17:47:34 +02:00
|
|
|
config DEBUG_PAGING
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Demand Paging Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2012-10-21 17:47:34 +02:00
|
|
|
depends on PAGING
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable demand paging debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_NET
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Network Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2013-10-23 19:48:57 +02:00
|
|
|
depends on ARCH_HAVE_NET
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable network debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_USB
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "USB Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2012-09-26 21:41:54 +02:00
|
|
|
depends on USBDEV || USBHOST
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable usb debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_FS
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "File System Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable file system debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_LIB
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "C Library Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable C library debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_BINFMT
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Binary Loader Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable binary loader debug SYSLOG output (disabled by default)
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_GRAPHICS
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Graphics Debug Output"
|
2012-04-11 16:47:25 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2013-01-29 14:30:10 +01:00
|
|
|
Enable NX graphics debug SYSLOG output (disabled by default)
|
2012-04-11 16:47:25 +02:00
|
|
|
|
2013-08-03 16:22:37 +02:00
|
|
|
config DEBUG_IRQ
|
|
|
|
bool "Interrupt Controller Debug Output"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Some (but not all) architectures support debug output to verify
|
|
|
|
interrupt controller logic. If supported, then option will enable
|
|
|
|
that output. This may interfere with normal operations! You
|
|
|
|
should *not* enable interrupt controller debug unless you suspect
|
|
|
|
that here is a problem with that logic. On some platforms, this
|
|
|
|
option may even cause crashes! Use with care!
|
|
|
|
|
2013-03-16 01:34:43 +01:00
|
|
|
config DEBUG_SYSCALL
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "SYSCALL Debug Output"
|
2013-03-16 01:34:43 +01:00
|
|
|
default n
|
|
|
|
depends on NUTTX_KERNEL
|
|
|
|
---help---
|
2013-03-16 02:57:34 +01:00
|
|
|
Enable very low level output related to system calls. This gives
|
|
|
|
you basically a poor man's version of strace.
|
2013-03-16 01:34:43 +01:00
|
|
|
|
2013-09-24 19:45:13 +02:00
|
|
|
config DEBUG_STACK
|
|
|
|
bool "Stack usage debug hooks"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_STACKCHECK
|
|
|
|
---help---
|
|
|
|
Enable hooks to check stack usage. Only supported by a few architectures.
|
|
|
|
|
2013-11-01 18:16:51 +01:00
|
|
|
config DEBUG_HEAP
|
|
|
|
bool "Heap usage debug hooks"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_HEAPCHECK
|
|
|
|
---help---
|
|
|
|
Enable hooks to check heap usage. Only supported by a few architectures.
|
|
|
|
|
2012-09-27 00:03:53 +02:00
|
|
|
comment "Driver Debug Options"
|
|
|
|
|
2012-09-25 23:15:02 +02:00
|
|
|
config DEBUG_LCD
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Low-level LCD Debug Output"
|
2012-09-25 23:15:02 +02:00
|
|
|
default n
|
|
|
|
depends on LCD
|
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable low level debug SYSLOG output from the LCD driver (disabled
|
|
|
|
by default). Support for this debug option is board-specific and
|
|
|
|
may not be available for some boards.
|
2012-09-25 23:15:02 +02:00
|
|
|
|
2013-02-27 16:16:46 +01:00
|
|
|
config DEBUG_LEDS
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Low-level LED Debug Output"
|
2013-02-27 16:16:46 +01:00
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_LEDS
|
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable low level debug from board-specific LED logic. Support for
|
|
|
|
this debug option is board-specific and may not be available for
|
|
|
|
some boards.
|
2013-02-27 16:16:46 +01:00
|
|
|
|
2012-09-26 21:41:54 +02:00
|
|
|
config DEBUG_INPUT
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Input Device Debug Output"
|
2012-09-26 21:41:54 +02:00
|
|
|
default n
|
|
|
|
depends on INPUT
|
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable low level debug SYSLOG output from the input device drivers
|
|
|
|
such as mice and touchscreens (disabled by default). Support for
|
|
|
|
this debug option is board-specific and may not be available for
|
|
|
|
some boards.
|
2012-09-26 21:41:54 +02:00
|
|
|
|
2012-10-21 17:47:34 +02:00
|
|
|
config DEBUG_ANALOG
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Analog Device Debug Output"
|
2012-10-21 17:47:34 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable low level debug SYSLOG output from the analog device drivers
|
|
|
|
such as A/D and D/A converters (disabled by default). Support for
|
2013-10-19 18:35:01 +02:00
|
|
|
this debug option is architecture-specific and may not be available
|
2013-04-05 20:46:53 +02:00
|
|
|
for some MCUs.
|
2012-10-21 17:47:34 +02:00
|
|
|
|
2012-04-11 16:47:25 +02:00
|
|
|
config DEBUG_I2C
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "I2C Debug Output"
|
2012-04-11 16:47:25 +02:00
|
|
|
default n
|
2012-09-26 21:41:54 +02:00
|
|
|
depends on I2C
|
2012-04-11 16:47:25 +02:00
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable I2C driver debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
2012-04-11 16:47:25 +02:00
|
|
|
|
|
|
|
config DEBUG_SPI
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "SPI Debug Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2012-09-26 21:41:54 +02:00
|
|
|
depends on SPI
|
2012-04-05 19:44:04 +02:00
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable I2C driver debug SYSLOG output (disabled by default).
|
2013-11-07 19:26:53 +01:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
config DEBUG_I2S
|
|
|
|
bool "I2S Debug Output"
|
|
|
|
default n
|
|
|
|
depends on I2S
|
|
|
|
---help---
|
|
|
|
Enable I2S driver debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
2012-04-11 16:47:25 +02:00
|
|
|
|
2013-03-04 15:53:41 +01:00
|
|
|
config DEBUG_CAN
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "CAN Debug Output"
|
2013-03-04 15:53:41 +01:00
|
|
|
default n
|
|
|
|
depends on CAN
|
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable CAN driver debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
2013-03-04 15:53:41 +01:00
|
|
|
|
2013-11-06 21:38:19 +01:00
|
|
|
config DEBUG_PWM
|
|
|
|
bool "PWM Debug Output"
|
|
|
|
default n
|
|
|
|
depends on PWM
|
|
|
|
---help---
|
|
|
|
Enable PWM driver debug SYSLOG output (disabled by default).
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
2013-03-30 18:36:46 +01:00
|
|
|
config DEBUG_SDIO
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "SDIO Debug Output"
|
2013-03-30 18:36:46 +01:00
|
|
|
default n
|
|
|
|
depends on MMCSD_SDIO
|
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable SDIO driver debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
config DEBUG_GPIO
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "GPIO Debug Output"
|
2013-04-05 20:46:53 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable GPIO-releated debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
2013-03-30 18:36:46 +01:00
|
|
|
|
2012-10-21 17:47:34 +02:00
|
|
|
config DEBUG_DMA
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "DMA Debug Output"
|
2012-10-21 17:47:34 +02:00
|
|
|
default n
|
2013-03-30 18:36:46 +01:00
|
|
|
depends on ARCH_DMA
|
2012-10-21 17:47:34 +02:00
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable DMA-releated debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
config DEBUG_RTC
|
|
|
|
bool "RTC Debug Output"
|
|
|
|
default n
|
|
|
|
depends on RTC
|
|
|
|
---help---
|
|
|
|
Enable RTC driver debug SYSLOG output (disabled by default).
|
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
2012-10-21 17:47:34 +02:00
|
|
|
|
2012-04-16 19:20:36 +02:00
|
|
|
config DEBUG_WATCHDOG
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Watchdog Timer Debug Output"
|
2012-04-16 19:20:36 +02:00
|
|
|
default n
|
2012-09-26 21:41:54 +02:00
|
|
|
depends on WATCHDOG
|
2012-04-16 19:20:36 +02:00
|
|
|
---help---
|
2013-04-05 20:46:53 +02:00
|
|
|
Enable watchdog timer debug SYSLOG output (disabled by default).
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
2013-04-05 20:46:53 +02:00
|
|
|
be available for some MCUs.
|
2012-04-16 19:20:36 +02:00
|
|
|
|
2013-05-19 23:12:28 +02:00
|
|
|
config DEBUG_AUDIO
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Audio Device Debug Output"
|
2013-05-19 23:12:28 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable low level debug SYSLOG output from the audio subsystem and
|
2013-06-13 01:32:00 +02:00
|
|
|
device drivers. (disabled by default). Support for this debug option
|
2013-10-19 18:35:01 +02:00
|
|
|
is architecture-specific and may not be available for some MCUs.
|
2013-05-19 23:12:28 +02:00
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
endif # DEBUG
|
2012-04-11 16:47:25 +02:00
|
|
|
|
|
|
|
config DEBUG_SYMBOLS
|
2013-08-03 16:22:37 +02:00
|
|
|
bool "Generate Debug Symbols"
|
2012-04-11 16:47:25 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2013-12-20 18:43:02 +01:00
|
|
|
Build with debug symbols (needed for use with a debugger).
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
endmenu # Debug Options
|
|
|
|
|
2014-01-24 15:07:27 +01:00
|
|
|
config ARCH_HAVE_CUSTOMOPT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
choice
|
|
|
|
prompt "Optimization Level"
|
|
|
|
default DEBUG_NOOPT if DEBUG_SYMBOLS
|
|
|
|
default DEBUG_FULLOPT if !DEBUG_SYMBOLS
|
|
|
|
|
2013-12-20 18:43:02 +01:00
|
|
|
config DEBUG_NOOPT
|
2014-01-24 14:45:35 +01:00
|
|
|
bool "Suppress Optimization"
|
2013-12-20 18:43:02 +01:00
|
|
|
---help---
|
|
|
|
Build without optimization. This is often helpful when debugging code.
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
config DEBUG_CUSTOMOPT
|
|
|
|
bool "Custom Optimization"
|
2014-01-24 15:07:27 +01:00
|
|
|
depends on ARCH_HAVE_CUSTOMOPT
|
2014-01-24 14:45:35 +01:00
|
|
|
---help---
|
|
|
|
Select a custom debug level. This is often helpful if you suspect an
|
|
|
|
optimization level error and want to lower the level of optimization.
|
|
|
|
|
|
|
|
config DEBUG_FULLOPT
|
|
|
|
bool "Normal, Full optimization"
|
|
|
|
---help---
|
|
|
|
Build full optimization. This is the normal case for production
|
|
|
|
firmware.
|
|
|
|
|
|
|
|
endchoice # Optimization Level
|
|
|
|
|
|
|
|
config DEBUG_OPTLEVEL
|
|
|
|
string "Custom Optimization Level"
|
|
|
|
default "-O2"
|
|
|
|
depends on DEBUG_CUSTOMOPT
|
|
|
|
---help---
|
|
|
|
This string represents the custom optimization level that will be used if DEBUG_CUSTOMOPT.
|
|
|
|
|
|
|
|
endmenu # Build Setup
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
menu "System Type"
|
2012-04-11 04:04:59 +02:00
|
|
|
source "arch/Kconfig"
|
2012-04-07 16:50:57 +02:00
|
|
|
endmenu
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-04-16 17:45:33 +02:00
|
|
|
menu "Board Selection"
|
|
|
|
source "configs/Kconfig"
|
|
|
|
endmenu
|
|
|
|
|
2012-09-04 16:43:56 +02:00
|
|
|
menu "RTOS Features"
|
2012-04-07 16:50:57 +02:00
|
|
|
source sched/Kconfig
|
2013-03-10 20:31:10 +01:00
|
|
|
if NUTTX_KERNEL
|
|
|
|
source syscall/Kconfig
|
|
|
|
endif
|
2012-04-05 19:44:04 +02:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Device Drivers"
|
2012-04-07 16:50:57 +02:00
|
|
|
source drivers/Kconfig
|
2012-04-05 19:44:04 +02:00
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Networking Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
source net/Kconfig
|
2012-04-12 01:06:30 +02:00
|
|
|
endmenu
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "File Systems"
|
2012-04-07 16:50:57 +02:00
|
|
|
source fs/Kconfig
|
2012-04-05 19:44:04 +02:00
|
|
|
endmenu
|
|
|
|
|
2012-09-25 03:29:27 +02:00
|
|
|
menu "Graphics Support"
|
|
|
|
source graphics/Kconfig
|
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Memory Management"
|
2012-04-11 16:47:25 +02:00
|
|
|
source mm/Kconfig
|
|
|
|
endmenu
|
|
|
|
|
2013-05-19 23:12:28 +02:00
|
|
|
menu "Audio Support"
|
|
|
|
source audio/Kconfig
|
|
|
|
endmenu
|
|
|
|
|
2012-10-24 18:46:12 +02:00
|
|
|
menu "Binary Formats"
|
|
|
|
source binfmt/Kconfig
|
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Library Routines"
|
2012-11-10 16:47:45 +01:00
|
|
|
source libc/Kconfig
|
2012-04-07 16:50:57 +02:00
|
|
|
source libxx/Kconfig
|
2012-04-05 19:44:04 +02:00
|
|
|
endmenu
|
2012-04-11 01:49:13 +02:00
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Application Configuration"
|
2012-04-11 01:49:13 +02:00
|
|
|
source "$APPSDIR/Kconfig"
|
|
|
|
endmenu
|
2012-04-23 21:55:32 +02:00
|
|
|
|