Skip to content
Kconfig 30.3 KiB
Newer Older
		Enable SDIO driver debug SYSLOG output (disabled by default).
Gregory Nutt's avatar
Gregory Nutt committed
		Support for this debug option is architecture-specific and may not
		be available for some MCUs.

		Support for this debug option is architecture-specific and may not
		be available for some MCUs.

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

		Enable I2C driver debug SYSLOG output (disabled by default).
Gregory Nutt's avatar
Gregory Nutt committed
		Support for this debug option is architecture-specific and may not
		be available for some MCUs.
config DEBUG_TIMER
	bool "Timer Debug Output"
		Enable timer debug SYSLOG output (disabled by default).
Gregory Nutt's avatar
Gregory Nutt committed
		Support for this debug option is architecture-specific and may not
		be available for some MCUs.

Gregory Nutt's avatar
Gregory Nutt committed
	default n
Gregory Nutt's avatar
Gregory Nutt committed
	---help---
		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
config DEBUG_WATCHDOG
	default n
	depends on WATCHDOG
	---help---
		Enable watchdog timer debug SYSLOG output (disabled by default).
Gregory Nutt's avatar
Gregory Nutt committed
		Support for this debug option is architecture-specific and may not
		be available for some MCUs.
endif # DEBUG_FEATURES
config STACK_COLORATION
	bool "Stack coloration"
	default n
	---help---
		Enable stack coloration to initialize the stack memory to the value
		of STACK_COLOR and enable the stack checking APIs that can be used
		to monitor the level of stack usage.

config DEBUG_SYMBOLS
		Build with debug symbols (needed for use with a debugger).

choice
	prompt "Optimization Level"
	default DEBUG_NOOPT if DEBUG_SYMBOLS
	default DEBUG_FULLOPT if !DEBUG_SYMBOLS

	---help---
		Build without optimization.  This is often helpful when debugging code.

config DEBUG_CUSTOMOPT
	bool "Custom Optimization"
	---help---
		Select a custom debug level.  This is often helpful if you suspect an
		optimization level error and want to lower the level of optimization.

config DEBUG_FULLOPT
	bool "Normal, Full optimization"
	---help---
		Build full optimization.  This is the normal case for production
		firmware.

endchoice # Optimization Level

config DEBUG_OPTLEVEL
	string "Custom Optimization Level"
	default "-O2"
	depends on DEBUG_CUSTOMOPT
	---help---
		This string represents the custom optimization level that will be
		used if DEBUG_CUSTOMOPT.
menu "System Type"
patacongo's avatar
patacongo committed
source "arch/Kconfig"
endmenu
patacongo's avatar
patacongo committed
menu "Board Selection"
source "configs/Kconfig"
endmenu

menu "RTOS Features"
source sched/Kconfig
endmenu

menu "Device Drivers"
source drivers/Kconfig
menu "Networking Support"
source net/Kconfig
menu "Crypto API"
source crypto/Kconfig
endmenu

source fs/Kconfig
patacongo's avatar
patacongo committed
menu "Graphics Support"
source graphics/Kconfig
endmenu

menu "Memory Management"
menu "Audio Support"
source audio/Kconfig
endmenu

menu "Wireless Support"
source wireless/Kconfig
endmenu

Gregory Nutt's avatar
Gregory Nutt committed
menu "Binary Loader"
menu "Library Routines"
source libxx/Kconfig
menu "Application Configuration"
source "$APPSDIR/Kconfig"
endmenu