2012-04-05 19:44:04 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-05 19:44:04 +02:00
|
|
|
#
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2020-10-19 06:09:06 +02:00
|
|
|
mainmenu "NuttX/$ARCH Configuration"
|
2012-04-05 19:44:04 +02:00
|
|
|
|
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
|
|
|
|
2023-02-07 06:56:13 +01:00
|
|
|
config APPSBINDIR
|
|
|
|
string
|
|
|
|
option env="APPSBINDIR"
|
|
|
|
---help---
|
|
|
|
Output path of Kconfig which dynamically generated by NuttX Apps
|
|
|
|
This option is consistent with the APPSDIR by default, and will
|
|
|
|
be changed when out-of-tree compilation is supported
|
|
|
|
|
|
|
|
config BINDIR
|
|
|
|
string
|
|
|
|
option env="BINDIR"
|
|
|
|
---help---
|
|
|
|
Output path of Kconfig which dynamically generated by NuttX Kernel
|
|
|
|
This option is consistent with the TOPDIR by default, and will
|
|
|
|
be changed when out-of-tree compilation is supported
|
|
|
|
|
2021-08-16 09:22:38 +02:00
|
|
|
menu "License Setup"
|
2021-08-19 21:02:15 +02:00
|
|
|
config ALLOW_BSD_COMPONENTS
|
|
|
|
bool "Use components that have BSD licenses"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When this option is enabled the project will allow the use
|
|
|
|
of components that have BSD licenses.
|
|
|
|
|
|
|
|
NOTE: Please check that the license for each enabled
|
|
|
|
component matches your project license.
|
|
|
|
|
2021-08-26 11:09:48 +02:00
|
|
|
NOTE: If this option is not set the following components
|
|
|
|
are not included in the setup menu:
|
2021-09-03 10:37:33 +02:00
|
|
|
Crypto
|
|
|
|
AES cypher support
|
2021-08-30 12:05:40 +02:00
|
|
|
FS
|
|
|
|
NFS client file system
|
2021-08-30 12:13:57 +02:00
|
|
|
SPIFFS File System
|
2021-08-30 12:05:40 +02:00
|
|
|
Wireless
|
2021-08-26 11:09:48 +02:00
|
|
|
Bluetooth LE support
|
|
|
|
|
2021-08-16 09:22:38 +02:00
|
|
|
config ALLOW_GPL_COMPONENTS
|
|
|
|
bool "Use components that have GPL/LGPL licenses"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When this option is enabled the project will allow the use
|
|
|
|
of components that have GPL/LGPL licenses.
|
|
|
|
|
|
|
|
NOTE: Please check that the license for each enabled
|
|
|
|
component matches your project license.
|
|
|
|
|
2022-08-01 15:05:06 +02:00
|
|
|
config ALLOW_MIT_COMPONENTS
|
|
|
|
bool "Use components that have MIT licenses"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When this option is enabled the project will allow the use
|
|
|
|
of components that have MIT licenses.
|
|
|
|
|
|
|
|
NOTE: Please check that the license for each enabled
|
|
|
|
component matches your project license.
|
|
|
|
|
2021-12-17 17:03:01 +01:00
|
|
|
config ALLOW_BSDNORDIC_COMPONENTS
|
|
|
|
bool "Use components that have 5-Clause Nordic licenses"
|
2023-07-01 11:11:05 +02:00
|
|
|
depends on ARCH_CHIP_NRF52 || ARCH_CHIP_NRF53 || ARCH_CHIP_NRF91
|
2021-12-17 17:03:01 +01:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When this option is enabled the project will allow the use
|
|
|
|
of components that have 5-Clause Nordic licenses.
|
|
|
|
|
|
|
|
NOTE: Please check that the license for each enabled
|
|
|
|
component matches your project license.
|
|
|
|
|
2023-07-25 14:20:58 +02:00
|
|
|
config ALLOW_ECLIPSE_COMPONENTS
|
|
|
|
bool "Use components that have Eclipse Public Licenses"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When this option is enabled the project will allow the use
|
|
|
|
of components that have EPL licenses.
|
|
|
|
|
|
|
|
NOTE: Please check that the license for each enabled
|
|
|
|
component matches your project license.
|
|
|
|
|
2023-09-22 12:06:18 +02:00
|
|
|
config ALLOW_ICS_COMPONENTS
|
|
|
|
bool "Use components that have ICS license"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When this option is enabled the project will allow the use
|
|
|
|
of components that have ICS licenses.
|
|
|
|
|
|
|
|
NOTE: Please check that the license for each enabled
|
|
|
|
component matches your project license.
|
|
|
|
|
2021-08-16 09:22:38 +02:00
|
|
|
endmenu # License Setup
|
|
|
|
|
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
|
2022-09-08 15:25:48 +02:00
|
|
|
bool "Show experimental options"
|
|
|
|
---help---
|
|
|
|
Some features and drivers are considered "experimental" or
|
|
|
|
development/work-in-progress status. By default, these options are
|
|
|
|
hidden in the Kconfig menus. Enabling "Show experimental options"
|
|
|
|
makes these options visible and makes it possible to enable them.
|
2012-04-05 19:44:04 +02:00
|
|
|
|
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
|
2018-07-09 02:24:45 +02:00
|
|
|
be the one the results in the smallest size (at a loss of features).
|
2014-02-21 01:49:45 +01:00
|
|
|
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"
|
|
|
|
|
2018-06-01 21:25:50 +02:00
|
|
|
config HOST_MACOS
|
|
|
|
bool "macOS"
|
2012-11-09 18:37:27 +01:00
|
|
|
|
|
|
|
config HOST_WINDOWS
|
|
|
|
bool "Windows"
|
|
|
|
|
|
|
|
config HOST_OTHER
|
|
|
|
bool "Other"
|
|
|
|
|
2023-06-20 15:25:59 +02:00
|
|
|
endchoice # Build Host Platform
|
2012-11-09 18:37:27 +01:00
|
|
|
|
2017-01-02 14:16:47 +01:00
|
|
|
config TOOLCHAIN_WINDOWS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on HOST_WINDOWS
|
|
|
|
---help---
|
|
|
|
Selected internally if the selected Windows environment is compatible
|
|
|
|
with the use of Windows native toolchains.
|
|
|
|
|
2020-05-18 16:18:15 +02:00
|
|
|
config CYGWIN_WINTOOL
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on WINDOWS_CYGWIN
|
|
|
|
---help---
|
|
|
|
Selected internally if Cygwin environment with the use of Windows
|
|
|
|
native toolchains.
|
|
|
|
|
2012-11-09 18:37:27 +01:00
|
|
|
choice
|
|
|
|
prompt "Windows Build Environment"
|
|
|
|
default WINDOWS_CYGWIN
|
|
|
|
depends on HOST_WINDOWS
|
|
|
|
|
|
|
|
config WINDOWS_NATIVE
|
|
|
|
bool "Windows Native"
|
2017-01-02 14:16:47 +01:00
|
|
|
select TOOLCHAIN_WINDOWS
|
2020-01-22 16:22:59 +01:00
|
|
|
depends on EXPERIMENTAL
|
2012-11-13 16:50:38 +01:00
|
|
|
---help---
|
2016-03-19 15:08:18 +01:00
|
|
|
Build natively in a CMD.exe environment with Windows style paths
|
2020-02-23 09:50:23 +01:00
|
|
|
(like C:\cygwin\home)
|
2012-11-09 18:37:27 +01:00
|
|
|
|
2020-01-22 16:29:26 +01:00
|
|
|
The Windows native build is complete and available, but not often
|
2020-01-22 16:22:59 +01:00
|
|
|
used or verified. As a consequence, it cannot be assured to be
|
|
|
|
fully functional at any given time. Hence, it is marked here as
|
|
|
|
EXPERIMENTAL so that the end user will be aware of this state.
|
|
|
|
|
2012-11-09 18:37:27 +01:00
|
|
|
config WINDOWS_CYGWIN
|
|
|
|
bool "Cygwin"
|
2017-01-02 14:16:47 +01:00
|
|
|
select TOOLCHAIN_WINDOWS
|
2013-04-21 01:05:45 +02:00
|
|
|
---help---
|
2016-03-19 15:08:18 +01:00
|
|
|
Build natively in a Cygwin environment with POSIX style paths (like
|
2017-01-01 22:34:23 +01:00
|
|
|
/cygdrive/c/Program Files)
|
|
|
|
|
2012-11-09 18:37:27 +01:00
|
|
|
config WINDOWS_MSYS
|
2018-05-31 15:35:56 +02:00
|
|
|
bool "MSYS or MSYS2"
|
2017-01-02 14:16:47 +01:00
|
|
|
select TOOLCHAIN_WINDOWS
|
2012-11-13 16:50:38 +01:00
|
|
|
---help---
|
2016-03-19 15:08:18 +01:00
|
|
|
Build natively in a Cygwin environment with POSIX style paths (like
|
2020-02-23 09:50:23 +01:00
|
|
|
/cygdrive/c/cygwin/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"
|
2017-01-02 14:16:47 +01:00
|
|
|
select TOOLCHAIN_WINDOWS
|
2012-11-13 16:50:38 +01:00
|
|
|
---help---
|
2016-03-19 15:08:18 +01:00
|
|
|
Build natively in another POSIX-like environment. Additional
|
|
|
|
support may be necessary
|
2012-11-09 18:37:27 +01:00
|
|
|
|
2023-06-20 15:25:59 +02:00
|
|
|
endchoice # Windows Build Environment
|
2012-11-09 18:37:27 +01:00
|
|
|
|
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
|
2016-03-19 15:08:18 +01:00
|
|
|
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 directory. If you had an
|
|
|
|
application 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
|
2014-08-29 22:47:22 +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:
|
2014-08-29 22:47:22 +02:00
|
|
|
|
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.
|
2014-08-29 22:47:22 +02:00
|
|
|
|
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-08-29 22:47:22 +02:00
|
|
|
|
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.
|
2014-08-29 22:47:22 +02:00
|
|
|
|
2013-04-22 17:10:58 +02:00
|
|
|
4)depend. Make or update the application build dependencies.
|
2014-08-29 22:47:22 +02:00
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
When this application is invoked it will receive the setting TOPDIR like:
|
2014-08-29 22:47:22 +02:00
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
$(MAKE) -C $(CONFIG_APPS_DIR) TOPDIR="$(TOPDIR)" <target>
|
2014-08-29 22:47:22 +02:00
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
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.
|
|
|
|
|
2023-06-01 23:43:48 +02:00
|
|
|
config BASE_DEFCONFIG
|
2023-06-20 15:25:59 +02:00
|
|
|
string "Base Configuration"
|
|
|
|
default ""
|
|
|
|
---help---
|
|
|
|
This will be automatically be updated by the configuration
|
|
|
|
script. This is the base configuration file that was used to create the
|
|
|
|
current configuration. It is useful for getting the current configuration
|
|
|
|
on runtime.
|
2023-06-01 23:43:48 +02:00
|
|
|
|
2018-08-23 19:08:22 +02:00
|
|
|
config BUILD_LOADABLE
|
2019-09-30 14:57:16 +02:00
|
|
|
bool
|
2018-08-27 15:06:57 +02:00
|
|
|
option modules
|
2018-08-23 19:08:22 +02:00
|
|
|
---help---
|
|
|
|
Automatically selected if KERNEL build is selected.
|
|
|
|
This selection only effects the behavior of the 'make export'
|
|
|
|
target and currently has no effect unless you wish to build
|
|
|
|
loadable applications in a FLAT build.
|
|
|
|
|
2014-08-29 22:47:22 +02:00
|
|
|
choice
|
|
|
|
prompt "Memory organization"
|
|
|
|
default BUILD_FLAT
|
|
|
|
|
|
|
|
config BUILD_FLAT
|
|
|
|
bool "Flat address space"
|
|
|
|
---help---
|
|
|
|
Build NuttX as one large, executable "blob". All of the code
|
|
|
|
within the blob can interrupt with all of the other code within
|
|
|
|
the blob. There are no special privileges, protections, or
|
|
|
|
restraints.
|
|
|
|
|
|
|
|
config BUILD_PROTECTED
|
|
|
|
bool "NuttX protected build"
|
|
|
|
depends on ARCH_USE_MPU
|
|
|
|
select LIB_SYSCALL
|
|
|
|
select BUILD_2PASS
|
|
|
|
---help---
|
2016-03-19 15:08:18 +01:00
|
|
|
Builds NuttX and selected applications as two "blobs": A protected,
|
|
|
|
privileged kernel blob and a separate unprivileged, user blob. This
|
|
|
|
requires use of the two pass build with each blob being build on
|
|
|
|
each pass.
|
2014-08-29 22:47:22 +02:00
|
|
|
|
|
|
|
NOTE: This build configuration requires that the platform support
|
|
|
|
a memory protection unit (MPU). Support, however, may not be
|
|
|
|
implemented on all platforms.
|
|
|
|
|
|
|
|
config BUILD_KERNEL
|
|
|
|
bool "NuttX kernel build"
|
2015-12-21 17:58:59 +01:00
|
|
|
depends on ARCH_USE_MMU && ARCH_ADDRENV
|
2019-09-30 14:57:16 +02:00
|
|
|
select BUILD_LOADABLE
|
2014-08-29 22:47:22 +02:00
|
|
|
select LIB_SYSCALL
|
|
|
|
---help---
|
|
|
|
Builds NuttX as a separately compiled kernel. No applications are
|
|
|
|
built. All user applications must reside in a file system where
|
|
|
|
they can be loaded into memory for execution.
|
|
|
|
|
|
|
|
NOTE: This build configuration requires that the platform support
|
2021-02-06 10:22:35 +01:00
|
|
|
a memory management unit (MMU) and address environments. Support,
|
2014-08-29 22:47:22 +02:00
|
|
|
however, may not be implemented on all platforms.
|
|
|
|
|
|
|
|
endchoice # Build configuration
|
|
|
|
|
2012-04-11 19:13:04 +02:00
|
|
|
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.
|
|
|
|
|
2013-03-11 00:42:49 +01:00
|
|
|
config NUTTX_USERSPACE
|
|
|
|
hex "Beginning of user-space blob"
|
|
|
|
default 0x0
|
2014-08-29 22:47:22 +02:00
|
|
|
depends on BUILD_PROTECTED
|
2013-03-11 00:42:49 +01:00
|
|
|
---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 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
|
2016-03-19 15:08:18 +01:00
|
|
|
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-11 16:47:25 +02:00
|
|
|
|
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
|
2016-03-19 15:08:18 +01:00
|
|
|
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-11 16:47:25 +02:00
|
|
|
|
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
|
|
|
|
2014-04-01 19:56:58 +02:00
|
|
|
menuconfig UBOOT_UIMAGE
|
|
|
|
bool "U-Boot uImage"
|
|
|
|
select RAW_BINARY
|
|
|
|
depends on !WINDOWS_NATIVE
|
|
|
|
---help---
|
|
|
|
Create the uImage binary used with U-Boot.
|
|
|
|
|
|
|
|
if UBOOT_UIMAGE
|
|
|
|
|
|
|
|
config UIMAGE_LOAD_ADDRESS
|
|
|
|
hex "uImage load address"
|
|
|
|
default 0x0
|
|
|
|
|
|
|
|
config UIMAGE_ENTRY_POINT
|
|
|
|
hex "uImage entry point"
|
|
|
|
default 0x0
|
|
|
|
|
2023-06-20 15:25:59 +02:00
|
|
|
endif # UBOOT_UIMAGE
|
2017-04-23 12:26:52 +02:00
|
|
|
|
|
|
|
menuconfig DFU_BINARY
|
|
|
|
bool "DFU binary format"
|
|
|
|
select RAW_BINARY
|
|
|
|
---help---
|
2023-08-31 13:01:07 +02:00
|
|
|
Create the dfu binary used with dfu-utils.
|
2017-04-23 12:26:52 +02:00
|
|
|
|
|
|
|
if DFU_BINARY
|
|
|
|
|
|
|
|
config DFU_BASE
|
|
|
|
hex "Address DFU image is loaded to"
|
|
|
|
|
|
|
|
config DFU_VID
|
|
|
|
hex "VID to use for DFU image"
|
|
|
|
|
|
|
|
config DFU_PID
|
|
|
|
hex "PID to use for DFU image"
|
|
|
|
|
2023-06-20 15:25:59 +02:00
|
|
|
endif # DFU_BINARY
|
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"
|
|
|
|
|
2019-09-16 19:47:26 +02:00
|
|
|
config ARCH_HAVE_STDINT_H
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Selected by architecture specific logic if the architecture provides
|
|
|
|
a stdint.h header file.
|
|
|
|
|
2014-03-06 18:19:05 +01:00
|
|
|
config ARCH_STDINT_H
|
|
|
|
bool "stdint.h"
|
|
|
|
default n
|
2019-09-16 19:47:26 +02:00
|
|
|
depends on ARCH_HAVE_STDINT_H
|
2014-03-06 18:19:05 +01:00
|
|
|
---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.
|
|
|
|
|
2019-09-16 19:47:26 +02:00
|
|
|
config ARCH_HAVE_STDBOOL_H
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Selected by architecture specific logic if the architecture provides
|
|
|
|
a stdbool.h header file.
|
|
|
|
|
2012-09-05 19:20:19 +02:00
|
|
|
config ARCH_STDBOOL_H
|
|
|
|
bool "stdbool.h"
|
|
|
|
default n
|
2019-09-16 19:47:26 +02:00
|
|
|
depends on ARCH_HAVE_STDBOOL_H
|
2012-09-05 19:20:19 +02:00
|
|
|
---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.
|
|
|
|
|
2019-09-16 19:47:26 +02:00
|
|
|
config ARCH_HAVE_MATH_H
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Selected by architecture specific logic if the architecture provides
|
|
|
|
a math.h header file.
|
|
|
|
|
2012-09-05 19:20:19 +02:00
|
|
|
config ARCH_MATH_H
|
|
|
|
bool "math.h"
|
2019-09-16 19:47:26 +02:00
|
|
|
depends on ARCH_HAVE_MATH_H
|
2012-09-05 19:20:19 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
There is also a re-directing version of math.h in the source tree.
|
2016-07-21 21:58:09 +02:00
|
|
|
However, it resides out-of-the-way at include/nuttx/lib/math.h because it
|
2012-09-05 19:20:19 +02:00
|
|
|
conflicts too often with the system math.h. If ARCH_MATH_H=y is
|
|
|
|
defined, however, the top-level makefile will copy the redirecting
|
2016-07-21 21:58:09 +02:00
|
|
|
math.h header file from include/nuttx/lib/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!
|
|
|
|
|
2019-09-16 19:47:26 +02:00
|
|
|
config ARCH_HAVE_STDARG_H
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Selected by architecture specific logic if the architecture provides
|
|
|
|
a math.h header file.
|
|
|
|
|
2012-09-05 19:20:19 +02:00
|
|
|
config ARCH_STDARG_H
|
|
|
|
bool "stdarg.h"
|
2019-09-16 19:47:26 +02:00
|
|
|
depends on ARCH_HAVE_STDARG_H
|
2012-09-05 19:20:19 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2019-08-06 23:59:19 +02:00
|
|
|
There is a redirecting version of stdarg.h in the source tree. It
|
|
|
|
resides out-of-the-way at include/nuttx/lib/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
|
2012-09-05 19:20:19 +02:00
|
|
|
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
|
2016-07-21 21:48:20 +02:00
|
|
|
re-directing stdarg.h header file from include/nuttx/lib/stdarg.h to
|
2012-09-05 19:20:19 +02:00
|
|
|
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/.
|
|
|
|
|
2019-08-06 23:59:19 +02:00
|
|
|
config ARCH_HAVE_SETJMP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_SETJMP_H
|
|
|
|
bool "setjmp.h"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_SETJMP
|
|
|
|
---help---
|
|
|
|
There is a redirecting version of setjmp.h in the source tree. It
|
|
|
|
resides out-of-the-way at include/nuttx/lib/setjmp.h. This is
|
|
|
|
because you should normally use your toolchain's setjmp.h file. But
|
|
|
|
sometimes, your toolchain's setjmp.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 setjmp.h header file at nuttx/arch/<architecture>/include/setjmp.h
|
|
|
|
|
|
|
|
If ARCH_SETJMP_H=y is defined, the top-level makefile will copy the
|
|
|
|
re-directing setjmp.h header file from include/nuttx/lib/setjmp.h to
|
|
|
|
include/setjmp.h. So for the architectures that cannot use their
|
|
|
|
toolchain's setjmp.h file, they can use this alternative by defining
|
|
|
|
ARCH_SETJMP_H=y and providing. If ARCH_SETJMP_H, is not defined, then
|
|
|
|
the setjmp.h header file will stay out-of-the-way in include/nuttx/.
|
|
|
|
|
2020-11-04 13:55:21 +01:00
|
|
|
choice
|
|
|
|
prompt "debug.h selection"
|
|
|
|
default ARCH_NONE_DEBUG_H
|
|
|
|
|
|
|
|
config ARCH_NONE_DEBUG_H
|
|
|
|
bool "None"
|
|
|
|
---help---
|
|
|
|
No debug.h under include/arch/ and include/arch/chip.
|
|
|
|
|
2016-01-09 13:28:12 +01:00
|
|
|
config ARCH_DEBUG_H
|
|
|
|
bool "debug.h"
|
|
|
|
---help---
|
2020-11-04 13:55:21 +01:00
|
|
|
The debug.h under include/arch contains architecture dependent debugging primitives
|
|
|
|
|
|
|
|
config ARCH_CHIP_DEBUG_H
|
|
|
|
bool "chip debug.h"
|
|
|
|
---help---
|
|
|
|
The debug.h under include/arch/chip contains architecture dependent debugging primitives
|
|
|
|
|
2023-08-24 03:11:05 +02:00
|
|
|
config ARCH_BOARD_DEBUG_H
|
|
|
|
bool "board debug.h"
|
|
|
|
---help---
|
|
|
|
The debug.h under include/arch/board contains board dependent debugging primitives
|
|
|
|
|
2020-11-04 13:55:21 +01:00
|
|
|
endchoice # debug.h selection
|
2016-01-09 13:28:12 +01:00
|
|
|
|
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
|
|
|
|
2023-05-23 00:46:19 +02:00
|
|
|
config FORTIFY_SOURCE
|
|
|
|
int "Fortify Source"
|
|
|
|
default 0
|
|
|
|
range 0 3
|
|
|
|
---help---
|
|
|
|
Detect overflows of buffers in common string and memory functions
|
|
|
|
where the compiler can determine and validate the buffer sizes.
|
|
|
|
0 does not have any checks.
|
|
|
|
1 will only check for out-of-bounds at compile time.
|
|
|
|
2 will only perform out-of-bounds checks on stack variables.
|
|
|
|
3 On the basis of 2, add an out-of-bounds check for dynamically allocated variables.
|
|
|
|
|
2022-02-02 20:47:49 +01:00
|
|
|
config NDEBUG
|
|
|
|
bool "Define NDEBUG globally"
|
2022-04-30 14:51:41 +02:00
|
|
|
default !DEBUG_ASSERTIONS
|
2022-02-02 20:47:49 +01:00
|
|
|
|
2023-10-19 08:37:48 +02:00
|
|
|
config ASSERTIONS_FILENAME
|
|
|
|
bool "Enable library call assert(3) show the file name"
|
|
|
|
default DEBUG_ASSERTIONS_FILENAME || !DEFAULT_SMALL
|
|
|
|
depends on !NDEBUG
|
|
|
|
---help---
|
|
|
|
This option can display the file information of the library call assert(3)
|
|
|
|
function when it is enabled. This option maybe will take up a lot
|
|
|
|
of space from applications.
|
|
|
|
|
2016-06-21 13:26:08 +02:00
|
|
|
config DEBUG_ALERT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2016-06-11 22:14:08 +02:00
|
|
|
config DEBUG_FEATURES
|
2012-09-26 21:41:54 +02:00
|
|
|
bool "Enable Debug Features"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2016-06-21 13:26:08 +02:00
|
|
|
select DEBUG_ALERT
|
2012-04-05 19:44:04 +02:00
|
|
|
---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
|
|
|
|
2016-06-11 22:14:08 +02:00
|
|
|
if DEBUG_FEATURES
|
2014-01-24 14:45:35 +01:00
|
|
|
|
2016-06-11 19:50:18 +02:00
|
|
|
comment "Debug SYSLOG Output Controls"
|
|
|
|
|
2016-06-11 23:50:49 +02:00
|
|
|
config DEBUG_ERROR
|
|
|
|
bool "Enable Error Output"
|
2023-09-01 12:48:40 +02:00
|
|
|
default y
|
2016-06-11 23:50:49 +02:00
|
|
|
---help---
|
2016-06-16 20:33:32 +02:00
|
|
|
Enables output from [a-z]err() statements. Errors are significant system
|
2016-06-11 23:50:49 +02:00
|
|
|
exceptions that require immediate attention.
|
|
|
|
|
2016-06-11 20:49:21 +02:00
|
|
|
config DEBUG_WARN
|
2016-06-11 20:38:37 +02:00
|
|
|
bool "Enable Warnings Output"
|
2023-09-01 12:48:40 +02:00
|
|
|
default y
|
2016-06-11 23:50:49 +02:00
|
|
|
depends on DEBUG_ERROR
|
2016-06-11 20:38:37 +02:00
|
|
|
---help---
|
2016-06-16 20:33:32 +02:00
|
|
|
Enables output from [a-z]warn() statements. Warnings are considered to
|
2016-06-11 23:50:49 +02:00
|
|
|
be various unexpected conditions, potential errors or errors that will
|
|
|
|
not have serious consequences.
|
2016-06-11 20:38:37 +02:00
|
|
|
|
|
|
|
config DEBUG_INFO
|
2016-06-11 19:50:18 +02:00
|
|
|
bool "Enable Informational Debug Output"
|
2023-09-01 12:48:40 +02:00
|
|
|
default y
|
2016-06-11 20:49:21 +02:00
|
|
|
depends on DEBUG_WARN
|
2012-04-05 19:44:04 +02:00
|
|
|
---help---
|
2016-06-11 19:50:18 +02:00
|
|
|
Enables verbose "informational" debug output. If you enable
|
|
|
|
CONFIG_DEBUG_INFO, then very chatty (and often annoying) output
|
|
|
|
will be generated.
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2016-06-11 20:49:21 +02:00
|
|
|
config DEBUG_ASSERTIONS
|
|
|
|
bool "Enable Debug Assertions"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables the DEBUGASSERT() macro. When CONFIG_DEBUG_ASSERTIONS is
|
|
|
|
defined, DEBUGASSERT() will cause the system to halt if the
|
|
|
|
assertion fails. If CONFIG_DEBUG_ASSERTIONS is not defined
|
|
|
|
DEBUGASSERT() compiled out of the system. In general, you would
|
|
|
|
set CONFIG_DEBUG_ASSERTIONS=y during debug, but disable the
|
|
|
|
assertions on a final, buckled up system.
|
|
|
|
|
2023-01-31 12:50:22 +01:00
|
|
|
config DEBUG_ASSERTIONS_EXPRESSION
|
|
|
|
bool "Enable Debug Assertions show expression"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ASSERTIONS
|
|
|
|
---help---
|
|
|
|
This option can display the content information of the ASSERT()
|
|
|
|
function when it is triggered. This option maybe will take up a lot
|
|
|
|
of space.
|
|
|
|
|
2023-06-08 16:08:23 +02:00
|
|
|
config DEBUG_ASSERTIONS_FILENAME
|
|
|
|
bool "Enable Debug Assertions show file name"
|
|
|
|
default !DEFAULT_SMALL
|
|
|
|
depends on DEBUG_ASSERTIONS
|
|
|
|
---help---
|
|
|
|
This option can display the file information of the ASSERT()
|
|
|
|
function when it is enabled. This option maybe will take up a lot
|
|
|
|
of space.
|
|
|
|
|
2012-09-27 00:03:53 +02:00
|
|
|
comment "Subsystem Debug Options"
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_AUDIO
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Audio Device Debug Features"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2016-02-27 00:07:04 +01:00
|
|
|
depends on AUDIO
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable audio device debug features.
|
2018-07-09 02:24:45 +02:00
|
|
|
Enable low level debug features for the audio subsystem and for audio
|
2014-07-20 17:17:36 +02:00
|
|
|
device drivers. (disabled by default). Support for this debug option
|
|
|
|
is architecture-specific and may not be available for some MCUs.
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2016-06-12 21:08:23 +02:00
|
|
|
if DEBUG_AUDIO
|
|
|
|
|
|
|
|
config DEBUG_AUDIO_ERROR
|
|
|
|
bool "Audio Device Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable audio device error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_AUDIO_WARN
|
|
|
|
bool "Audio Device Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable audio device warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_AUDIO_INFO
|
|
|
|
bool "Audio Device Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable audio device informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_AUDIO
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_BINFMT
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Binary Loader Debug Features"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2020-03-05 03:42:48 +01:00
|
|
|
depends on !BINFMT_DISABLE || LIBC_MODLIB
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable binary loader debug features.
|
|
|
|
|
|
|
|
if DEBUG_BINFMT
|
|
|
|
|
|
|
|
config DEBUG_BINFMT_ERROR
|
|
|
|
bool "Binary Loader Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable binary loader error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_BINFMT_WARN
|
|
|
|
bool "Binary Loader Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable binary loader warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_BINFMT_INFO
|
|
|
|
bool "Binary Loader Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable binary loader informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_BINFMT
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2019-08-19 19:27:23 +02:00
|
|
|
config DEBUG_CONTACTLESS
|
|
|
|
bool "Contactless Debug Features"
|
|
|
|
default n
|
|
|
|
depends on DRIVERS_CONTACTLESS
|
|
|
|
---help---
|
|
|
|
Enable debug features for contactless (aka RFID) subsystem.
|
|
|
|
|
|
|
|
if DEBUG_CONTACTLESS
|
|
|
|
|
|
|
|
config DEBUG_CONTACTLESS_ERROR
|
|
|
|
bool "Contactless Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable contactless (aka RFID) subsystem error output to
|
|
|
|
SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CONTACTLESS_WARN
|
|
|
|
bool "Contactless Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable contactless (aka RFID) subsystem warning output to
|
|
|
|
SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CONTACTLESS_INFO
|
|
|
|
bool "Contactless Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable contactless (aka RFID) subsystem informational output
|
|
|
|
to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_CONTACTLESS
|
|
|
|
|
2014-07-03 15:42:44 +02:00
|
|
|
config DEBUG_CRYPTO
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Crypto Debug Features"
|
2014-07-03 15:42:44 +02:00
|
|
|
default n
|
|
|
|
depends on CRYPTO
|
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable cryptographic debug features.
|
|
|
|
|
|
|
|
if DEBUG_CRYPTO
|
|
|
|
|
|
|
|
config DEBUG_CRYPTO_ERROR
|
|
|
|
bool "Crypto Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable cryptographic error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CRYPTO_WARN
|
|
|
|
bool "Crypto Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable cryptographic warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CRYPTO_INFO
|
|
|
|
bool "Crypto Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable cryptographic informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_CRYPTO
|
2014-07-03 15:42:44 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_FS
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "File System Debug Features"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable file system debug features.
|
|
|
|
|
|
|
|
if DEBUG_FS
|
|
|
|
|
|
|
|
config DEBUG_FS_ERROR
|
|
|
|
bool "File System Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable file system error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_FS_WARN
|
|
|
|
bool "File System Warnings Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2016-06-12 21:08:23 +02:00
|
|
|
depends on DEBUG_WARN
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable file system warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_FS_INFO
|
|
|
|
bool "File System Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable file system informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_FS
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_GRAPHICS
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Graphics Debug Features"
|
2014-07-20 17:17:36 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable NX graphics subsystem debug features.
|
|
|
|
|
|
|
|
if DEBUG_GRAPHICS
|
|
|
|
|
|
|
|
config DEBUG_GRAPHICS_ERROR
|
|
|
|
bool "Graphics Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable NX graphics subsystem error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_GRAPHICS_WARN
|
|
|
|
bool "Graphics Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable NX graphics subsystem warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_GRAPHICS_INFO
|
|
|
|
bool "Graphics Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable NX graphics subsystem informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_GRAPHICS
|
2014-07-20 17:17:36 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEBUG_LIB
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "C Library Debug Features"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable C library debug features.
|
|
|
|
|
|
|
|
if DEBUG_LIB
|
|
|
|
|
|
|
|
config DEBUG_LIB_ERROR
|
|
|
|
bool "C Library Error Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2016-06-12 21:08:23 +02:00
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable C library error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_LIB_WARN
|
|
|
|
bool "C Library Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable C library warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_LIB_INFO
|
|
|
|
bool "C Library Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable C library informational output to SYSLOG.
|
|
|
|
|
2022-08-09 09:36:26 +02:00
|
|
|
config DEBUG_SYS_QUEUE
|
|
|
|
bool "Queue Debug option"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable sys queue debug.
|
|
|
|
|
2016-06-12 21:08:23 +02:00
|
|
|
endif # DEBUG_LIB
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_MM
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Memory Manager Debug Features"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable memory management debug features.
|
|
|
|
|
|
|
|
if DEBUG_MM
|
|
|
|
|
|
|
|
config DEBUG_MM_ERROR
|
|
|
|
bool "Memory Manager Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable memory management error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_MM_WARN
|
|
|
|
bool "Memory Manager Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable memory management warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_MM_INFO
|
|
|
|
bool "Memory Manager Informational Output"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2016-06-12 21:08:23 +02:00
|
|
|
depends on DEBUG_INFO
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable memory management informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_MM
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2014-09-23 16:46:31 +02:00
|
|
|
config DEBUG_SHM
|
|
|
|
bool "Shared Memory Debug Output"
|
|
|
|
default n
|
|
|
|
depends on MM_SHM
|
|
|
|
---help---
|
|
|
|
Enable shared memory management debug SYSLOG output (disabled by default)
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_NET
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Network Debug Features"
|
2012-04-11 16:47:25 +02:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on ARCH_HAVE_NET
|
2012-04-11 16:47:25 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable network debug features.
|
|
|
|
|
|
|
|
if DEBUG_NET
|
|
|
|
|
|
|
|
config DEBUG_NET_ERROR
|
|
|
|
bool "Network Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable network error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_NET_WARN
|
|
|
|
bool "Network Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable network warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_NET_INFO
|
|
|
|
bool "Network Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable network informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_NET
|
2012-04-11 16:47:25 +02:00
|
|
|
|
2017-07-23 15:17:56 +02:00
|
|
|
config DEBUG_POWER
|
|
|
|
bool "Power-related Debug Features"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable power-related debug features.
|
|
|
|
|
|
|
|
if DEBUG_POWER
|
|
|
|
|
|
|
|
config DEBUG_POWER_ERROR
|
|
|
|
bool "Power-related Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable power-related error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_POWER_WARN
|
|
|
|
bool "Power-related Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable power-related warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_POWER_INFO
|
|
|
|
bool "Power-related Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable power-related informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_POWER
|
|
|
|
|
2021-10-25 16:43:10 +02:00
|
|
|
config DEBUG_BATTERY
|
|
|
|
bool "Battery-related Debug Features"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable Battery-related debug features.
|
|
|
|
|
|
|
|
if DEBUG_BATTERY
|
|
|
|
|
|
|
|
config DEBUG_BATTERY_ERROR
|
|
|
|
bool "Battery-related Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable battery-related error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_BATTERY_WARN
|
|
|
|
bool "Battery-related Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable battery-related warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_BATTERY_INFO
|
|
|
|
bool "Battery-related Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable battery-related informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_BATTERY
|
|
|
|
|
2017-03-15 21:30:24 +01:00
|
|
|
config DEBUG_WIRELESS
|
|
|
|
bool "Wireless Debug Features"
|
|
|
|
default n
|
2017-03-15 22:16:16 +01:00
|
|
|
depends on WIRELESS || DRIVERS_WIRELESS
|
2017-03-15 21:30:24 +01:00
|
|
|
---help---
|
2017-03-15 22:47:26 +01:00
|
|
|
Enable wireless debug features.
|
2017-03-15 21:30:24 +01:00
|
|
|
|
|
|
|
if DEBUG_WIRELESS
|
|
|
|
|
|
|
|
config DEBUG_WIRELESS_ERROR
|
|
|
|
bool "Wireless Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable wireless error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_WIRELESS_WARN
|
|
|
|
bool "Wireless Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable wireless warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_WIRELESS_INFO
|
|
|
|
bool "Wireless Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable wireless informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_WIRELESS
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_SCHED
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Scheduler Debug Features"
|
2013-08-03 16:22:37 +02:00
|
|
|
default n
|
2023-02-22 07:19:33 +01:00
|
|
|
depends on !SYSLOG_TIMESTAMP
|
2013-08-03 16:22:37 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable OS scheduler debug features.
|
|
|
|
|
|
|
|
if DEBUG_SCHED
|
|
|
|
|
|
|
|
config DEBUG_SCHED_ERROR
|
|
|
|
bool "Scheduler Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable OS scheduler error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SCHED_WARN
|
|
|
|
bool "Scheduler Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable OS scheduler warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SCHED_INFO
|
|
|
|
bool "Scheduler Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable OS scheduler informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_SCHED
|
2013-08-03 16:22:37 +02:00
|
|
|
|
2013-03-16 01:34:43 +01:00
|
|
|
config DEBUG_SYSCALL
|
2016-06-16 16:12:38 +02:00
|
|
|
bool "SYSCALL Debug Features"
|
2013-03-16 01:34:43 +01:00
|
|
|
default n
|
2014-08-29 15:26:30 +02:00
|
|
|
depends on LIB_SYSCALL
|
2013-03-16 01:34:43 +01:00
|
|
|
---help---
|
2016-06-16 16:12:38 +02:00
|
|
|
Enable very low level features related to system calls. If SYSCAL
|
|
|
|
output is enabled, this gives you basically a poor man's version of
|
|
|
|
strace.
|
|
|
|
|
|
|
|
if DEBUG_SYSCALL
|
|
|
|
|
|
|
|
config DEBUG_SYSCALL_ERROR
|
|
|
|
bool "SYSCALL Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable OS SYSCALL error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SYSCALL_WARN
|
|
|
|
bool "SYSCALL Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable OS SYSCALL warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SYSCALL_INFO
|
|
|
|
bool "SYSCALL Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable OS SYSCALL informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_SYSCALL
|
2013-03-16 01:34:43 +01:00
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
comment "OS Function Debug Options"
|
|
|
|
|
|
|
|
config DEBUG_DMA
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "DMA Debug Features"
|
2013-09-24 19:45:13 +02:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on ARCH_DMA
|
2013-09-24 19:45:13 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable DMA debug features.
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
2013-09-24 19:45:13 +02:00
|
|
|
|
2016-06-12 21:08:23 +02:00
|
|
|
if DEBUG_DMA
|
|
|
|
|
|
|
|
config DEBUG_DMA_ERROR
|
|
|
|
bool "DMA Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable DMA error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_DMA_WARN
|
|
|
|
bool "DMA Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable DMA warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_DMA_INFO
|
|
|
|
bool "DMA Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable DMA informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_DMA
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_IRQ
|
2016-06-15 16:35:22 +02:00
|
|
|
bool "Interrupt Controller Debug Features"
|
2014-07-20 17:17:36 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2016-06-15 16:35:22 +02:00
|
|
|
Enable interrupt controller debug features.
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
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!
|
|
|
|
|
2016-06-15 16:35:22 +02:00
|
|
|
if DEBUG_IRQ
|
|
|
|
|
|
|
|
config DEBUG_IRQ_ERROR
|
2017-02-27 09:26:00 +01:00
|
|
|
bool "Interrupt Controller Error Output"
|
2016-06-15 16:35:22 +02:00
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable interrupt controller error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_IRQ_WARN
|
2017-02-27 09:26:00 +01:00
|
|
|
bool "Interrupt Controller Warnings Output"
|
2016-06-15 16:35:22 +02:00
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable interrupt controller warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_IRQ_INFO
|
2017-02-27 09:26:00 +01:00
|
|
|
bool "Interrupt Controller Informational Output"
|
2016-06-15 16:35:22 +02:00
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable interrupt controller informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_IRQ
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_PAGING
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Paging Debug Features"
|
2014-07-20 17:17:36 +02:00
|
|
|
default n
|
|
|
|
depends on PAGING
|
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable OS demand paging debug features.
|
|
|
|
|
|
|
|
if DEBUG_PAGING
|
|
|
|
|
|
|
|
config DEBUG_PAGING_ERROR
|
|
|
|
bool "Paging Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable OS demand paging error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_PAGING_WARN
|
|
|
|
bool "Paging Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable OS demand paging warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_PAGING_INFO
|
|
|
|
bool "Paging Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable OS demand paging informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_PAGING
|
2014-07-20 17:17:36 +02:00
|
|
|
|
2012-09-27 00:03:53 +02:00
|
|
|
comment "Driver Debug Options"
|
|
|
|
|
2012-09-25 23:15:02 +02:00
|
|
|
config DEBUG_LCD
|
2016-06-15 22:12:19 +02:00
|
|
|
bool "Low-level LCD Debug Features"
|
2012-09-25 23:15:02 +02:00
|
|
|
default n
|
2021-09-15 22:02:55 +02:00
|
|
|
depends on LCD || SLCD
|
2012-09-25 23:15:02 +02:00
|
|
|
---help---
|
2016-06-15 19:40:33 +02:00
|
|
|
Enable LCD driver debug features.
|
|
|
|
|
|
|
|
Support for this debug option is board-specific and may not
|
|
|
|
be available for some boards.
|
|
|
|
if DEBUG_LCD
|
|
|
|
|
|
|
|
config DEBUG_LCD_ERROR
|
|
|
|
bool "LCD Driver Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable LCD driver error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_LCD_WARN
|
|
|
|
bool "LCD Driver Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable LCD driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_LCD_INFO
|
|
|
|
bool "LCD Driver Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable LCD driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_LCD
|
2012-09-25 23:15:02 +02:00
|
|
|
|
2013-02-27 16:16:46 +01:00
|
|
|
config DEBUG_LEDS
|
2016-06-15 22:12:19 +02:00
|
|
|
bool "Low-level LED Debug Features"
|
2013-02-27 16:16:46 +01:00
|
|
|
default n
|
2022-06-30 04:28:04 +02:00
|
|
|
depends on ARCH_HAVE_LEDS || WS2812
|
2013-02-27 16:16:46 +01:00
|
|
|
---help---
|
2016-06-15 22:12:19 +02:00
|
|
|
Enable LED driver debug features.
|
|
|
|
|
|
|
|
Support for this debug option is board-specific and may not
|
|
|
|
be available for some boards.
|
|
|
|
|
|
|
|
if DEBUG_LEDS
|
|
|
|
|
|
|
|
config DEBUG_LEDS_ERROR
|
|
|
|
bool "LED Driver Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable LED driver error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_LEDS_WARN
|
|
|
|
bool "LED Driver Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable LED driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_LEDS_INFO
|
|
|
|
bool "LED Driver Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable LED driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_LEDS
|
2013-02-27 16:16:46 +01:00
|
|
|
|
2012-09-26 21:41:54 +02:00
|
|
|
config DEBUG_INPUT
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Input Device Debug Features"
|
2012-09-26 21:41:54 +02:00
|
|
|
default n
|
|
|
|
depends on INPUT
|
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable input d.
|
2018-07-09 02:24:45 +02:00
|
|
|
Enable low level device debug features for the input device drivers
|
2013-04-05 20:46:53 +02:00
|
|
|
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
|
|
|
|
2016-06-12 21:08:23 +02:00
|
|
|
if DEBUG_INPUT
|
|
|
|
|
|
|
|
config DEBUG_INPUT_ERROR
|
|
|
|
bool "Input Device Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable input device error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_INPUT_WARN
|
|
|
|
bool "Input Device Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable input device warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_INPUT_INFO
|
|
|
|
bool "Input Device Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable input device informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_INPUT
|
|
|
|
|
2012-10-21 17:47:34 +02:00
|
|
|
config DEBUG_ANALOG
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Analog Device Debug Features"
|
2012-10-21 17:47:34 +02:00
|
|
|
default n
|
2016-06-12 21:08:23 +02:00
|
|
|
depends on ANALOG
|
2012-10-21 17:47:34 +02:00
|
|
|
---help---
|
2016-06-15 23:45:27 +02:00
|
|
|
Enable analog device debug features.
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable low level debug features the analog device drivers such as
|
|
|
|
A/D and D/A converters (disabled by default). Support for this
|
|
|
|
debug option is architecture-specific and may not be available for
|
|
|
|
some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_ANALOG
|
|
|
|
|
|
|
|
config DEBUG_ANALOG_ERROR
|
|
|
|
bool "Analog Device Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable analog device error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_ANALOG_WARN
|
|
|
|
bool "Analog Device Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable analog device warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_ANALOG_INFO
|
|
|
|
bool "Analog Device Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
2016-06-15 23:45:27 +02:00
|
|
|
Enable CAN driver informational output to SYSLOG.
|
2016-06-12 21:08:23 +02:00
|
|
|
|
|
|
|
endif # DEBUG_ANALOG
|
2012-10-21 17:47:34 +02:00
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_CAN
|
2016-06-15 23:45:27 +02:00
|
|
|
bool "CAN Debug Features"
|
2012-04-11 16:47:25 +02:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on CAN
|
2012-04-11 16:47:25 +02:00
|
|
|
---help---
|
2016-06-15 23:45:27 +02:00
|
|
|
Enable CAN driver debug features.
|
|
|
|
|
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
|
|
|
|
2016-06-15 23:45:27 +02:00
|
|
|
if DEBUG_CAN
|
|
|
|
|
|
|
|
config DEBUG_CAN_ERROR
|
|
|
|
bool "CAN Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable CAN driver error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CAN_WARN
|
|
|
|
bool "CAN Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable CAN driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CAN_INFO
|
|
|
|
bool "CAN Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable CAN driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_CAN
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_GPIO
|
2016-06-15 17:20:23 +02:00
|
|
|
bool "GPIO Debug Features"
|
2012-04-05 19:44:04 +02:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
---help---
|
2016-06-15 17:20:23 +02:00
|
|
|
Enable GPIO debug features.
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
2016-06-15 17:20:23 +02:00
|
|
|
if DEBUG_GPIO
|
|
|
|
|
|
|
|
config DEBUG_GPIO_ERROR
|
|
|
|
bool "GPIO Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable GPIO error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_GPIO_WARN
|
|
|
|
bool "GPIO Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable GPIO warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_GPIO_INFO
|
|
|
|
bool "GPIO Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable GPIO informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_GPIO
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_I2C
|
2016-06-16 00:30:12 +02:00
|
|
|
bool "I2C Debug Features"
|
2014-07-20 17:17:36 +02:00
|
|
|
default n
|
|
|
|
depends on I2C
|
2012-04-05 19:44:04 +02:00
|
|
|
---help---
|
2016-06-16 00:30:12 +02:00
|
|
|
Enable I2C debug features.
|
|
|
|
|
2013-11-07 19:26:53 +01:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
2016-06-16 00:30:12 +02:00
|
|
|
if DEBUG_I2C
|
|
|
|
|
|
|
|
config DEBUG_I2C_ERROR
|
|
|
|
bool "I2C Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable I2C driver error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_I2C_WARN
|
|
|
|
bool "I2C Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
2016-06-16 01:23:56 +02:00
|
|
|
Enable I2C driver warning output to SYSLOG.
|
2016-06-16 00:30:12 +02:00
|
|
|
|
|
|
|
config DEBUG_I2C_INFO
|
|
|
|
bool "I2C Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
2016-06-16 01:23:56 +02:00
|
|
|
Enable I2C driver informational output to SYSLOG.
|
2016-06-16 00:30:12 +02:00
|
|
|
|
|
|
|
endif # DEBUG_I2C
|
|
|
|
|
2013-11-07 19:26:53 +01:00
|
|
|
config DEBUG_I2S
|
2016-06-16 00:54:01 +02:00
|
|
|
bool "I2S Debug Features"
|
2013-11-07 19:26:53 +01:00
|
|
|
default n
|
|
|
|
depends on I2S
|
|
|
|
---help---
|
2016-06-16 00:54:01 +02:00
|
|
|
Enable I2S debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_I2S
|
|
|
|
|
|
|
|
config DEBUG_I2S_ERROR
|
|
|
|
bool "I2S Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable I2S driver error output to SYSLOG.
|
|
|
|
|
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
|
|
|
|
2016-06-16 00:54:01 +02:00
|
|
|
config DEBUG_I2S_WARN
|
|
|
|
bool "I2S Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable I2S driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_I2S_INFO
|
|
|
|
bool "I2S Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable I2S driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_I2S
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_PWM
|
2016-06-16 01:23:56 +02:00
|
|
|
bool "PWM Debug Features"
|
2013-03-04 15:53:41 +01:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on PWM
|
2013-03-04 15:53:41 +01:00
|
|
|
---help---
|
2016-06-16 01:23:56 +02:00
|
|
|
Enable PWM debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_PWM
|
|
|
|
|
|
|
|
config DEBUG_PWM_ERROR
|
|
|
|
bool "PWM Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable PWM driver error output to SYSLOG.
|
|
|
|
|
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
|
|
|
|
2016-06-16 01:23:56 +02:00
|
|
|
config DEBUG_PWM_WARN
|
|
|
|
bool "PWM Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable PWM driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_PWM_INFO
|
|
|
|
bool "PWM Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable PWM driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_PWM
|
|
|
|
|
2023-08-08 04:37:26 +02:00
|
|
|
config DEBUG_CAPTURE
|
|
|
|
bool "CAPTURE Debug Features"
|
|
|
|
default n
|
|
|
|
depends on CAPTURE
|
|
|
|
---help---
|
|
|
|
Enable CAPTURE debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_CAPTURE
|
|
|
|
|
|
|
|
config DEBUG_CAPTURE_ERROR
|
|
|
|
bool "CAPTURE Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable CAPTURE driver error output to SYSLOG.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
config DEBUG_CAPTURE_WARN
|
|
|
|
bool "CAPTURE Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable CAPTURE driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_CAPTURE_INFO
|
|
|
|
bool "CAPTURE Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable CAPTURE driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_CAPTURE
|
|
|
|
|
2020-10-23 10:36:11 +02:00
|
|
|
config DEBUG_RC
|
|
|
|
bool "RC Debug Features"
|
|
|
|
default n
|
|
|
|
depends on DRIVERS_RC
|
|
|
|
---help---
|
|
|
|
Enable RC debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_RC
|
|
|
|
|
|
|
|
config DEBUG_RC_ERROR
|
|
|
|
bool "RC Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable RC driver error output to SYSLOG.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
config DEBUG_RC_WARN
|
|
|
|
bool "RC Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable RC driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_RC_INFO
|
|
|
|
bool "RC Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable RC driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_RC
|
|
|
|
|
2023-07-19 14:17:15 +02:00
|
|
|
config DEBUG_REGMAP
|
|
|
|
bool "REGMAP Debug Features"
|
|
|
|
default n
|
|
|
|
depends on REGMAP
|
|
|
|
---help---
|
|
|
|
Enable REGMAP debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_REGMAP
|
|
|
|
|
|
|
|
config DEBUG_REGMAP_ERROR
|
|
|
|
bool "Regmap Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable regmap subsystems error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_REGMAP_WARN
|
|
|
|
bool "Regmap Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable regmap subsystems warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_REGMAP_INFO
|
|
|
|
bool "Regmap Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable regmap subsystems informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_REGMAP
|
|
|
|
|
2023-07-01 17:18:07 +02:00
|
|
|
config DEBUG_RMT
|
|
|
|
bool "RMT Debug Features"
|
|
|
|
default n
|
2023-12-15 14:19:01 +01:00
|
|
|
depends on RMT
|
2023-07-01 17:18:07 +02:00
|
|
|
---help---
|
|
|
|
Enable RMT debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_RMT
|
|
|
|
|
|
|
|
config DEBUG_RMT_ERROR
|
|
|
|
bool "RMT Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable RMT driver error output to SYSLOG.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
config DEBUG_RMT_WARN
|
|
|
|
bool "RMT Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable RMT driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_RMT_INFO
|
|
|
|
bool "RMT Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable RMT driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_RMT
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_RTC
|
2016-06-16 15:39:23 +02:00
|
|
|
bool "RTC Debug Features"
|
2013-11-06 21:38:19 +01:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on RTC
|
2013-11-06 21:38:19 +01:00
|
|
|
---help---
|
2016-06-16 15:39:23 +02:00
|
|
|
Enable RTC debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_RTC
|
|
|
|
|
|
|
|
config DEBUG_RTC_ERROR
|
|
|
|
bool "RTC Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable RTC driver error output to SYSLOG.
|
|
|
|
|
2013-11-06 21:38:19 +01:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
2016-06-16 15:39:23 +02:00
|
|
|
config DEBUG_RTC_WARN
|
|
|
|
bool "RTC Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable RTC driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_RTC_INFO
|
|
|
|
bool "RTC Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable RTC driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_RTC
|
|
|
|
|
2016-06-16 15:50:54 +02:00
|
|
|
config DEBUG_MEMCARD
|
|
|
|
bool "Memory Card Driver Debug Features"
|
2013-03-30 18:36:46 +01:00
|
|
|
default n
|
2017-02-27 09:26:00 +01:00
|
|
|
depends on MMCSD
|
2013-03-30 18:36:46 +01:00
|
|
|
---help---
|
2016-06-16 15:50:54 +02:00
|
|
|
Enable MMC/SD memory card Driver debug features.
|
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
|
|
|
if DEBUG_MEMCARD
|
|
|
|
|
|
|
|
config DEBUG_MEMCARD_ERROR
|
|
|
|
bool "Memory Card Driver Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable MMC/SD memory card driver error output to SYSLOG.
|
|
|
|
|
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.
|
|
|
|
|
2016-06-16 15:50:54 +02:00
|
|
|
config DEBUG_MEMCARD_WARN
|
|
|
|
bool "Memory Card Driver Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable MMC/SD memory card driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_MEMCARD_INFO
|
|
|
|
bool "Memory Card Driver Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable MMC/SD memory card driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_MEMCARD
|
|
|
|
|
2014-12-16 16:54:32 +01:00
|
|
|
config DEBUG_SENSORS
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "Sensor Debug Features"
|
2014-12-16 16:54:32 +01:00
|
|
|
default n
|
|
|
|
depends on SENSORS
|
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable sensor driver debug features.
|
|
|
|
|
2014-12-16 16:54:32 +01:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
2016-06-12 21:08:23 +02:00
|
|
|
if DEBUG_SENSORS
|
|
|
|
|
|
|
|
config DEBUG_SENSORS_ERROR
|
|
|
|
bool "Sensor Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable sensor driver error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SENSORS_WARN
|
|
|
|
bool "Sensor Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable sensor driver warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SENSORS_INFO
|
|
|
|
bool "Sensor Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable sensor driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_SENSORS
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_SPI
|
2016-06-15 18:41:13 +02:00
|
|
|
bool "SPI Debug Features"
|
2013-04-05 20:46:53 +02:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on SPI
|
2013-04-05 20:46:53 +02:00
|
|
|
---help---
|
2016-06-15 18:41:13 +02:00
|
|
|
Enable SPI debug features.
|
|
|
|
|
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
|
|
|
|
2016-06-15 18:41:13 +02:00
|
|
|
if DEBUG_SPI
|
|
|
|
|
|
|
|
config DEBUG_SPI_ERROR
|
|
|
|
bool "SPI Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable SPI error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SPI_WARN
|
|
|
|
bool "SPI Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable SPI warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_SPI_INFO
|
|
|
|
bool "SPI Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable SPI informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_SPI
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_TIMER
|
2016-06-16 15:16:25 +02:00
|
|
|
bool "Timer Debug Features"
|
2012-10-21 17:47:34 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2016-06-16 15:16:25 +02:00
|
|
|
Enable timer debug features.
|
|
|
|
|
2013-10-19 18:35:01 +02:00
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
2016-06-16 15:16:25 +02:00
|
|
|
if DEBUG_TIMER
|
|
|
|
|
|
|
|
config DEBUG_TIMER_ERROR
|
|
|
|
bool "Timer Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable timer error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_TIMER_WARN
|
|
|
|
bool "Timer Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable timer warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_TIMER_INFO
|
|
|
|
bool "Timer Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable timer informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_TIMER
|
|
|
|
|
2014-07-20 17:17:36 +02:00
|
|
|
config DEBUG_USB
|
2016-06-12 21:08:23 +02:00
|
|
|
bool "USB Debug Features"
|
2013-10-19 18:35:01 +02:00
|
|
|
default n
|
2014-07-20 17:17:36 +02:00
|
|
|
depends on USBDEV || USBHOST
|
2013-10-19 18:35:01 +02:00
|
|
|
---help---
|
2016-06-12 21:08:23 +02:00
|
|
|
Enable USB debug features.
|
|
|
|
|
|
|
|
if DEBUG_USB
|
|
|
|
|
|
|
|
config DEBUG_USB_ERROR
|
|
|
|
bool "USB Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable USB error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_USB_WARN
|
|
|
|
bool "USB Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable USB warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_USB_INFO
|
|
|
|
bool "USB Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable USB informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_USB
|
2012-10-21 17:47:34 +02:00
|
|
|
|
2012-04-16 19:20:36 +02:00
|
|
|
config DEBUG_WATCHDOG
|
2016-06-16 14:28:04 +02:00
|
|
|
bool "Watchdog Timer Debug Features"
|
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---
|
2016-06-16 14:28:04 +02:00
|
|
|
Enable watchdog timer debug features.
|
|
|
|
|
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
|
|
|
|
2016-06-16 14:28:04 +02:00
|
|
|
if DEBUG_WATCHDOG
|
|
|
|
|
|
|
|
config DEBUG_WATCHDOG_ERROR
|
|
|
|
bool "Watchdog Timer Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable watchdog time error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_WATCHDOG_WARN
|
|
|
|
bool "Watchdog Timer Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable watchdog time warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_WATCHDOG_INFO
|
|
|
|
bool "Watchdog Timer Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable watchdog time informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_WATCHDOG
|
2021-04-01 08:56:42 +02:00
|
|
|
|
2021-04-15 10:44:01 +02:00
|
|
|
config DEBUG_MOTOR
|
|
|
|
bool "Motor Debug Features"
|
|
|
|
default n
|
|
|
|
depends on MOTOR
|
|
|
|
---help---
|
|
|
|
Enable motor debug features.
|
|
|
|
|
2021-04-01 08:56:42 +02:00
|
|
|
if DEBUG_MOTOR
|
|
|
|
|
|
|
|
config DEBUG_MOTOR_ERROR
|
|
|
|
bool "Motor Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable motor error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_MOTOR_WARN
|
|
|
|
bool "Motor Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable motor warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_MOTOR_INFO
|
|
|
|
bool "Motor Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable motor informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_MOTOR
|
2021-09-15 05:06:31 +02:00
|
|
|
|
2023-10-11 09:46:50 +02:00
|
|
|
config DEBUG_STEPPER
|
|
|
|
bool "Stepper Motor Debug Features"
|
|
|
|
default n
|
|
|
|
depends on STEPPER
|
|
|
|
---help---
|
|
|
|
Enable motor debug features.
|
|
|
|
|
|
|
|
if DEBUG_STEPPER
|
|
|
|
|
|
|
|
config DEBUG_STEPPER_ERROR
|
|
|
|
bool "Stepper Motor Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable motor error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_STEPPER_WARN
|
|
|
|
bool "Stepper Motor Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable motor warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_STEPPER_INFO
|
|
|
|
bool "Stepper Motor Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable motor informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_STEPPER
|
|
|
|
|
|
|
|
|
2021-09-15 05:06:31 +02:00
|
|
|
config DEBUG_VIDEO
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Video Debug Features"
|
|
|
|
default n
|
|
|
|
depends on DRIVERS_VIDEO
|
|
|
|
---help---
|
|
|
|
Enable video debug features.
|
2021-09-15 05:06:31 +02:00
|
|
|
|
|
|
|
if DEBUG_VIDEO
|
|
|
|
|
|
|
|
config DEBUG_VIDEO_ERROR
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Video Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable video error output to SYSLOG.
|
2021-09-15 05:06:31 +02:00
|
|
|
|
|
|
|
config DEBUG_VIDEO_WARN
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Video Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable video warning output to SYSLOG.
|
2021-09-15 05:06:31 +02:00
|
|
|
|
|
|
|
config DEBUG_VIDEO_INFO
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Video Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable video informational output to SYSLOG.
|
2021-09-15 05:06:31 +02:00
|
|
|
|
|
|
|
endif # DEBUG_VIDEO
|
2022-11-23 12:45:05 +01:00
|
|
|
|
|
|
|
config DEBUG_VIRTIO
|
|
|
|
bool "Virtio Debug Features"
|
|
|
|
default n
|
|
|
|
depends on DRIVERS_VIRTIO
|
|
|
|
---help---
|
|
|
|
Enable virtio debug features.
|
|
|
|
|
|
|
|
if DEBUG_VIRTIO
|
|
|
|
|
|
|
|
config DEBUG_VIRTIO_ERROR
|
|
|
|
bool "Virtio Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable virtio error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_VIRTIO_WARN
|
|
|
|
bool "Virtio Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable virtio warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_VIRTIO_INFO
|
|
|
|
bool "Virtio Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable virtio informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_VIDEO
|
|
|
|
|
2023-06-06 10:32:15 +02:00
|
|
|
config DEBUG_RESET
|
|
|
|
bool "RESET Debug Features"
|
|
|
|
default n
|
|
|
|
depends on RESET
|
|
|
|
---help---
|
|
|
|
Enable RESET debug features.
|
|
|
|
|
|
|
|
if DEBUG_RESET
|
|
|
|
|
|
|
|
config DEBUG_RESET_ERROR
|
|
|
|
bool "RESET Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable RESET driver error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_RESET_INFO
|
|
|
|
bool "RESET Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable RESET driver informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_RESET
|
|
|
|
|
2023-09-21 13:58:11 +02:00
|
|
|
config DEBUG_IPC
|
|
|
|
bool "IPC (Interprocessor communication) Debug Features"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable IPC debug features.
|
|
|
|
|
|
|
|
if DEBUG_IPC
|
|
|
|
|
|
|
|
config DEBUG_IPC_ERROR
|
|
|
|
bool "IPC Error Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
|
|
|
Enable IPC error output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_IPC_WARN
|
|
|
|
bool "IPC Warnings Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
|
|
|
Enable IPC warning output to SYSLOG.
|
|
|
|
|
|
|
|
config DEBUG_IPC_INFO
|
|
|
|
bool "IPC Informational Output"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
|
|
|
Enable IPC informational output to SYSLOG.
|
|
|
|
|
|
|
|
endif # DEBUG_IPC
|
|
|
|
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
config DEBUG_PCI
|
|
|
|
bool "PCI Debug Features"
|
2020-05-04 11:44:11 +02:00
|
|
|
default n
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
depends on PCI
|
2020-05-04 11:44:11 +02:00
|
|
|
---help---
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
Enable PCI driver debug features.
|
2020-05-04 11:44:11 +02:00
|
|
|
|
|
|
|
Support for this debug option is architecture-specific and may not
|
|
|
|
be available for some MCUs.
|
|
|
|
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
if DEBUG_PCI
|
2020-05-04 11:44:11 +02:00
|
|
|
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
config DEBUG_PCI_ERROR
|
|
|
|
bool "PCI Error Output"
|
2020-05-04 11:44:11 +02:00
|
|
|
default n
|
|
|
|
depends on DEBUG_ERROR
|
|
|
|
---help---
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
Enable PCI driver error output to SYSLOG.
|
2020-05-04 11:44:11 +02:00
|
|
|
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
config DEBUG_PCI_WARN
|
|
|
|
bool "PCI Warnings Output"
|
2020-05-04 11:44:11 +02:00
|
|
|
default n
|
|
|
|
depends on DEBUG_WARN
|
|
|
|
---help---
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
Enable PCI driver warning output to SYSLOG.
|
2020-05-04 11:44:11 +02:00
|
|
|
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
config DEBUG_PCI_INFO
|
|
|
|
bool "PCI Informational Output"
|
2020-05-04 11:44:11 +02:00
|
|
|
default n
|
|
|
|
depends on DEBUG_INFO
|
|
|
|
---help---
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
Enable PCI driver informational output to SYSLOG.
|
2020-05-04 11:44:11 +02:00
|
|
|
|
Various fixes for PCI work
Squashed commits:
1. Porting prior PCI work in place of jailhouse code
At this point the PCI enumeration works for x86_64 including over
pci-pci bridges.
Running QEMU with this configuration we see the bridge and the
device on the bridge. It also detected the qemu test device
qemu-system-x86_64 \
-cpu host,+pcid,+x2apic,+tsc-deadline,+xsave,+rdrand \
--enable-kvm -smp 1 -m 2G -cdrom boot.iso --nographic -no-reboot \
-device pci-testdev \
-device pci-bridge,id=bridge0,chassis_nr=2 \
-device e1000,bus=bridge0,addr=0x3
qemu_pci_init: Initializing PCI Bus
pci_probe_device: [00:00.0] Found 8086:1237, class/revision 06000002
pci_probe_device: [00:01.1] Found 8086:7010, class/revision 01018000
pci_probe_device: [00:01.2] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.3] Found 8086:7113, class/revision 06800003
pci_probe_device: [00:01.4] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.5] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.6] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:01.7] Found ffff:ffff, class/revision ffffffff
pci_probe_device: [00:02.0] Found 1234:1111, class/revision 03000002
pci_probe_device: [00:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:04.0] Found 1b36:0005, class/revision 00ff0000
pci_probe_device: [00:04.0] Probing
pci_check_pci_bridge: [00:05.0] Found Bridge
pci_probe_device: [01:03.0] Found 8086:100e, class/revision 02000003
pci_probe_device: [00:05.0] Found 1b36:0001, class/revision 06040000
2. Remove unused CONFIG_PCI_MAX_BDF option
3. Add a workaround for Jailhouse pci scanning
4. Extend BAR parsing and handle PIO and MMIO for pci-testdev
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
5. PCI: Add initial support for QEMU 'edu' test device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
6. Bring up PCI later in boot process
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
7. Add ISR and DMA support to QEMU edu test pci device
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
8. Fix bad function prototype definition in qemu_edu
9. intel64: Add a pci test configuration and instructions
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
10. PCI: Fix issue in identification of 64bit bar
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-07 11:59:29 +02:00
|
|
|
endif # DEBUG_PCI
|
2016-06-11 22:14:08 +02:00
|
|
|
endif # DEBUG_FEATURES
|
2012-04-11 16:47:25 +02:00
|
|
|
|
2015-01-24 16:04:28 +01:00
|
|
|
config ARCH_HAVE_STACKCHECK
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-01-24 13:03:39 +01:00
|
|
|
config STACK_COLORATION
|
|
|
|
bool "Stack coloration"
|
|
|
|
default n
|
2015-01-24 16:04:28 +01:00
|
|
|
depends on ARCH_HAVE_STACKCHECK
|
2015-01-24 13:03:39 +01:00
|
|
|
---help---
|
|
|
|
Enable stack coloration to initialize the stack memory to the value
|
2015-01-24 16:04:28 +01:00
|
|
|
of STACK_COLOR and enable the stack checking APIs that can be used
|
|
|
|
to monitor the level of stack usage.
|
|
|
|
|
2015-01-24 13:03:39 +01:00
|
|
|
Only supported by a few architectures.
|
|
|
|
|
2020-06-11 05:05:32 +02:00
|
|
|
config STACK_CANARIES
|
|
|
|
bool "Compiler stack canaries"
|
|
|
|
depends on ARCH_HAVE_STACKCHECK
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This option enables compiler stack canaries.
|
|
|
|
If stack canaries are supported by the compiler, it will emit
|
|
|
|
extra code that inserts a canary value into the stack frame when
|
|
|
|
a function is entered and validates this value upon exit.
|
|
|
|
Stack corruption (such as that caused by buffer overflow) results
|
|
|
|
in a fatal error condition for the running entity.
|
|
|
|
Enabling this option can result in a significant increase
|
|
|
|
in footprint and an associated decrease in performance.
|
|
|
|
|
2023-01-18 11:58:45 +01:00
|
|
|
config STACK_USAGE
|
|
|
|
bool "Generate stack usage information"
|
2023-05-08 14:51:43 +02:00
|
|
|
---help---
|
2023-01-18 11:58:45 +01:00
|
|
|
Generate an extra file that specifies the maximum amount of stack used,
|
|
|
|
on a per-function basis. Please use https://github.com/HBehrens/puncover
|
|
|
|
or tools/showstack.sh to generate the more useful report.
|
|
|
|
|
2023-08-15 11:16:01 +02:00
|
|
|
config STACK_USAGE_WARNING
|
|
|
|
int "Detect use of large stack variables"
|
|
|
|
default 0
|
2023-08-18 11:09:53 +02:00
|
|
|
---help---
|
2023-08-15 11:16:01 +02:00
|
|
|
Set the stack warning threshold, if the stack usage exceeds the
|
|
|
|
threshold, a warning will be generated
|
|
|
|
|
2016-06-16 14:28:04 +02:00
|
|
|
config ARCH_HAVE_HEAPCHECK
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2016-06-15 22:48:06 +02:00
|
|
|
config HEAP_COLORATION
|
|
|
|
bool "Heap coloration"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_HEAPCHECK
|
|
|
|
---help---
|
|
|
|
Enable heap coloration to check heap usage. Only supported by a few
|
|
|
|
architectures.
|
|
|
|
|
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).
|
|
|
|
|
2021-12-27 05:13:48 +01:00
|
|
|
config FRAME_POINTER
|
|
|
|
bool "Compile the NuttX with frame pointers"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If you say Y here the resulting NuttX image will be slightly
|
|
|
|
larger and slower, but it gives very useful debugging information
|
|
|
|
in case of bugs.
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
endmenu # Debug Options
|
|
|
|
|
2023-05-22 12:20:06 +02:00
|
|
|
menuconfig TRACE
|
2023-03-03 05:01:02 +01:00
|
|
|
bool "Enable tracepoints"
|
|
|
|
default n
|
2023-04-08 11:00:25 +02:00
|
|
|
depends on SCHED_INSTRUMENTATION_DUMP
|
2023-03-03 05:01:02 +01:00
|
|
|
---help---
|
|
|
|
If this option is enabled, tracepoints at critical code in
|
|
|
|
the kernel will be enabled.
|
|
|
|
|
|
|
|
if TRACE
|
|
|
|
config TRACE_AUDIO
|
|
|
|
bool "Enable tracepoints in audio"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_ARCH
|
|
|
|
bool "Enable tracepoints in arch"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_BOARDS
|
|
|
|
bool "Enable tracepoints in boards"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_CRYPTO
|
|
|
|
bool "Enable tracepoints in crypto"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_DRIVERS
|
|
|
|
bool "Enable tracepoints in drivers"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_FS
|
|
|
|
bool "Enable tracepoints in fs"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_GRAPHICS
|
|
|
|
bool "Enable tracepoints in graphics"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_LIBS
|
|
|
|
bool "Enable tracepoints in libs"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_NET
|
|
|
|
bool "Enable tracepoints in net"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_SCHED
|
|
|
|
bool "Enable tracepoints in sched"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_VIDEO
|
|
|
|
bool "Enable tracepoints in video"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config TRACE_WIRELESS
|
|
|
|
bool "Enable tracepoints in wireless"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif #TRACE
|
|
|
|
|
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"
|
2022-12-14 04:53:16 +01:00
|
|
|
default "/O2" if HOST_WINDOWS
|
2014-01-24 14:45:35 +01:00
|
|
|
default "-O2"
|
|
|
|
depends on DEBUG_CUSTOMOPT
|
|
|
|
---help---
|
2016-03-19 15:08:18 +01:00
|
|
|
This string represents the custom optimization level that will be
|
|
|
|
used if DEBUG_CUSTOMOPT.
|
2014-01-24 14:45:35 +01:00
|
|
|
|
2022-04-21 12:10:40 +02:00
|
|
|
config DEBUG_OPT_UNUSED_SECTIONS
|
|
|
|
bool "Optimization to eliminate the unused input sections"
|
|
|
|
default y
|
|
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
|
|
---help---
|
|
|
|
Use these options on systems where the linker can perform optimizations
|
|
|
|
to improve locality of reference in the instruction space. Most systems
|
|
|
|
using the ELF object format have linkers with such optimizations.
|
|
|
|
|
|
|
|
Enable this option to optimization the unused input sections with the
|
|
|
|
linker by compiling with " -ffunction-sections -fdata-sections ", and
|
|
|
|
linking with " --gc-sections ".
|
|
|
|
|
2022-04-21 15:18:11 +02:00
|
|
|
config DEBUG_LINK_MAP
|
|
|
|
bool "Generate link map file"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Selecting this option will pass "-Map=$(TOPDIR)$(DELIM)nuttx.map" to ld
|
|
|
|
when linking NuttX ELF. That file can be useful for verifying
|
|
|
|
and debugging magic section games, and for seeing which
|
|
|
|
pieces of code get eliminated with DEBUG_OPT_UNUSED_SECTIONS.
|
|
|
|
|
2022-10-10 15:42:36 +02:00
|
|
|
config CCACHE
|
|
|
|
bool "Use ccache"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If enabled, ccache will be used during the build.
|
|
|
|
Build artifacts will be cached to a local storage, considerably
|
|
|
|
reducing build times.
|
|
|
|
|
2014-01-24 14:45:35 +01:00
|
|
|
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"
|
2019-08-05 14:04:14 +02:00
|
|
|
source "boards/Kconfig"
|
2012-04-16 17:45:33 +02:00
|
|
|
endmenu
|
|
|
|
|
2012-09-04 16:43:56 +02:00
|
|
|
menu "RTOS Features"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "sched/Kconfig"
|
|
|
|
source "syscall/Kconfig"
|
2012-04-05 19:44:04 +02:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Device Drivers"
|
2021-07-20 13:10:10 +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"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "net/Kconfig"
|
2012-04-12 01:06:30 +02:00
|
|
|
endmenu
|
2012-04-05 19:44:04 +02:00
|
|
|
|
2014-07-03 15:42:44 +02:00
|
|
|
menu "Crypto API"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "crypto/Kconfig"
|
2014-07-03 15:42:44 +02:00
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "File Systems"
|
2021-07-20 13:10:10 +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"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "graphics/Kconfig"
|
|
|
|
source "libs/libnx/Kconfig"
|
2012-09-25 03:29:27 +02:00
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Memory Management"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "mm/Kconfig"
|
2012-04-11 16:47:25 +02:00
|
|
|
endmenu
|
|
|
|
|
2013-05-19 23:12:28 +02:00
|
|
|
menu "Audio Support"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "audio/Kconfig"
|
2013-05-19 23:12:28 +02:00
|
|
|
endmenu
|
|
|
|
|
2019-07-08 00:40:24 +02:00
|
|
|
menu "Video Support"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "video/Kconfig"
|
2019-07-08 00:40:24 +02:00
|
|
|
endmenu
|
|
|
|
|
2016-02-27 00:07:04 +01:00
|
|
|
menu "Wireless Support"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "wireless/Kconfig"
|
2016-02-27 00:07:04 +01:00
|
|
|
endmenu
|
|
|
|
|
2014-10-15 18:57:04 +02:00
|
|
|
menu "Binary Loader"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "binfmt/Kconfig"
|
2012-10-24 18:46:12 +02:00
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Library Routines"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "libs/libc/Kconfig"
|
2023-02-17 22:21:13 +01:00
|
|
|
source "libs/libm/Kconfig"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "libs/libxx/Kconfig"
|
|
|
|
source "libs/libdsp/Kconfig"
|
2018-05-30 14:36:06 +02:00
|
|
|
endmenu
|
|
|
|
|
2019-11-02 18:30:33 +01:00
|
|
|
menu "Open Asymmetric Multi Processing"
|
2021-07-20 13:10:10 +02:00
|
|
|
source "openamp/Kconfig"
|
2019-11-02 18:30:33 +01:00
|
|
|
endmenu
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
menu "Application Configuration"
|
2023-02-07 06:56:13 +01:00
|
|
|
source "$APPSBINDIR/Kconfig"
|
2012-04-11 01:49:13 +02:00
|
|
|
endmenu
|
2020-09-14 21:51:31 +02:00
|
|
|
|
|
|
|
# Support optionally including external code
|
|
|
|
# into the OS build. EXTERNALDIR will be used
|
|
|
|
# to either point to 'nuttx/external' or
|
2020-10-19 04:58:39 +02:00
|
|
|
# 'nuttx/dummy', if 'nuttx/external'
|
2020-09-14 21:51:31 +02:00
|
|
|
# does not contain a Kconfig file
|
|
|
|
|
|
|
|
config EXTERNALDIR
|
2021-12-14 08:52:49 +01:00
|
|
|
string
|
|
|
|
option env="EXTERNALDIR"
|
2020-09-14 21:51:31 +02:00
|
|
|
|
|
|
|
source "$EXTERNALDIR/Kconfig"
|