walnux/Kconfig.debug
Luchian Mihai c2f9368c7e
Some checks failed
Build Documentation / build-html (push) Has been cancelled
walnux: moveout
2025-10-31 17:58:46 +02:00

1917 lines
No EOL
41 KiB
Text

menu "Debug Options"
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.
config NDEBUG
bool "Define NDEBUG globally"
default !DEBUG_ASSERTIONS
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.
config DEBUG_ALERT
bool
default n
config DEBUG_FEATURES
bool "Enable Debug Features"
default n
select DEBUG_ALERT
---help---
Enables built-in debug features. Selecting this option will (1) Enable
debug assertions in the code, (2) enable extended parameter testing in
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.
if DEBUG_FEATURES
comment "Debug SYSLOG Output Controls"
config DEBUG_ERROR
bool "Enable Error Output"
default y
---help---
Enables output from [a-z]err() statements. Errors are significant system
exceptions that require immediate attention.
config DEBUG_WARN
bool "Enable Warnings Output"
default y
depends on DEBUG_ERROR
---help---
Enables output from [a-z]warn() statements. Warnings are considered to
be various unexpected conditions, potential errors or errors that will
not have serious consequences.
config DEBUG_INFO
bool "Enable Informational Debug Output"
default y
depends on DEBUG_WARN
---help---
Enables verbose "informational" debug output. If you enable
CONFIG_DEBUG_INFO, then very chatty (and often annoying) output
will be generated.
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.
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.
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.
comment "Subsystem Debug Options"
config DEBUG_AUDIO
bool "Audio Device Debug Features"
default n
depends on AUDIO
---help---
Enable audio device debug features.
Enable low level debug features for the audio subsystem and for audio
device drivers. (disabled by default). Support for this debug option
is architecture-specific and may not be available for some MCUs.
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
config DEBUG_BINFMT
bool "Binary Loader Debug Features"
default n
depends on !BINFMT_DISABLE || LIBC_ELF
---help---
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
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
config DEBUG_CRYPTO
bool "Crypto Debug Features"
default n
depends on CRYPTO
---help---
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
config DEBUG_FS
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"
default n
depends on DEBUG_WARN
---help---
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
config DEBUG_GRAPHICS
bool "Graphics Debug Features"
default n
---help---
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
config DEBUG_LIB
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"
default n
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
---help---
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.
config DEBUG_SYS_QUEUE
bool "Queue Debug option"
default n
---help---
Enable sys queue debug.
endif # DEBUG_LIB
config DEBUG_MM
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"
default n
depends on DEBUG_INFO
---help---
Enable memory management informational output to SYSLOG.
endif # DEBUG_MM
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)
config DEBUG_NET
bool "Network Debug Features"
default n
depends on ARCH_HAVE_NET
---help---
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
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
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
config DEBUG_WIRELESS
bool "Wireless Debug Features"
default n
depends on WIRELESS || DRIVERS_WIRELESS
---help---
Enable wireless debug features.
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
config DEBUG_SCHED
bool "Scheduler Debug Features"
default n
depends on !SYSLOG_TIMESTAMP
---help---
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
config DEBUG_SYSCALL
bool "SYSCALL Debug Features"
default n
depends on LIB_SYSCALL
---help---
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
comment "OS Function Debug Options"
config DEBUG_DMA
bool "DMA Debug Features"
default n
depends on ARCH_DMA
---help---
Enable DMA debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_IRQ
bool "Interrupt Controller Debug Features"
default n
---help---
Enable interrupt controller debug features.
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!
if DEBUG_IRQ
config DEBUG_IRQ_ERROR
bool "Interrupt Controller Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable interrupt controller error output to SYSLOG.
config DEBUG_IRQ_WARN
bool "Interrupt Controller Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable interrupt controller warning output to SYSLOG.
config DEBUG_IRQ_INFO
bool "Interrupt Controller Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable interrupt controller informational output to SYSLOG.
endif # DEBUG_IRQ
config DEBUG_PAGING
bool "Paging Debug Features"
default n
depends on PAGING
---help---
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
comment "Driver Debug Options"
config DEBUG_LCD
bool "Low-level LCD Debug Features"
default n
depends on LCD || SLCD
---help---
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
config DEBUG_LEDS
bool "Low-level LED Debug Features"
default n
depends on ARCH_HAVE_LEDS || WS2812
---help---
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
config DEBUG_INPUT
bool "Input Device Debug Features"
default n
depends on INPUT
---help---
Enable input d.
Enable low level device debug features for the input device drivers
such as mice and touchscreens (disabled by default). Support for
this debug option is board-specific and may not be available for
some boards.
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
config DEBUG_ANALOG
bool "Analog Device Debug Features"
default n
depends on ANALOG
---help---
Enable analog device debug features.
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---
Enable CAN driver informational output to SYSLOG.
endif # DEBUG_ANALOG
config DEBUG_CAN
bool "CAN Debug Features"
default n
depends on CAN
---help---
Enable CAN driver debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_GPIO
bool "GPIO Debug Features"
default n
---help---
Enable GPIO debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_I2C
bool "I2C Debug Features"
default n
depends on I2C
---help---
Enable I2C debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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---
Enable I2C driver warning output to SYSLOG.
config DEBUG_I2C_INFO
bool "I2C Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable I2C driver informational output to SYSLOG.
endif # DEBUG_I2C
config DEBUG_I2S
bool "I2S Debug Features"
default n
depends on I2S
---help---
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.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_I3C
bool "I3C Debug Features"
default n
depends on I3C
---help---
Enable I3C debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
if DEBUG_I3C
config DEBUG_I3C_ERROR
bool "I3C Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable I3C driver error output to SYSLOG.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
config DEBUG_I3C_INFO
bool "I3C Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable I3C driver informational output to SYSLOG.
endif # DEBUG_I3C
config DEBUG_PWM
bool "PWM Debug Features"
default n
depends on PWM
---help---
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.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
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
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
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
config DEBUG_RMT
bool "RMT Debug Features"
default n
depends on RMT
---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
config DEBUG_RTC
bool "RTC Debug Features"
default n
depends on RTC
---help---
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.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_MEMCARD
bool "Memory Card Driver Debug Features"
default n
depends on MMCSD
---help---
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.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_SENSORS
bool "Sensor Debug Features"
default n
depends on SENSORS
---help---
Enable sensor driver debug features.
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
config DEBUG_SPI
bool "SPI Debug Features"
default n
depends on SPI
---help---
Enable SPI debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_THERMAL
bool "Thermal Debug Features"
default n
---help---
Enable thermal debug features.
if DEBUG_THERMAL
config DEBUG_THERMAL_ERROR
bool "Thermal Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable thermal error output to SYSLOG.
config DEBUG_THERMAL_WARN
bool "Thermal Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable thermal warning output to SYSLOG.
config DEBUG_THERMAL_INFO
bool "Thermal Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable thermal informational output to SYSLOG.
endif # DEBUG_THERMAL
config DEBUG_TIMER
bool "Timer Debug Features"
default n
---help---
Enable timer debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_USB
bool "USB Debug Features"
default n
depends on USBDEV || USBHOST
---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
bool "Watchdog Timer Debug Features"
default n
depends on WATCHDOG
---help---
Enable watchdog timer debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
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
config DEBUG_MOTOR
bool "Motor Debug Features"
default n
depends on MOTOR
---help---
Enable motor debug features.
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
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
config DEBUG_VIDEO
bool "Video Debug Features"
default n
depends on DRIVERS_VIDEO
---help---
Enable video debug features.
if DEBUG_VIDEO
config DEBUG_VIDEO_ERROR
bool "Video Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable video error output to SYSLOG.
config DEBUG_VIDEO_WARN
bool "Video Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable video warning output to SYSLOG.
config DEBUG_VIDEO_INFO
bool "Video Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable video informational output to SYSLOG.
endif # DEBUG_VIDEO
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
config DEBUG_VHOST
bool "Vhost Debug Features"
default n
depends on DRIVERS_VHOST
---help---
Enable vhost debug features.
if DEBUG_VHOST
config DEBUG_VHOST_ERROR
bool "Vhost Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable vhost error output to SYSLOG.
config DEBUG_VHOST_WARN
bool "Vhost Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable vhost warning output to SYSLOG.
config DEBUG_VHOST_INFO
bool "Vhost Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable vhost informational output to SYSLOG.
endif # DEBUG_VHOST
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
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
config DEBUG_PCI
bool "PCI Debug Features"
default n
depends on PCI
---help---
Enable PCI driver debug features.
Support for this debug option is architecture-specific and may not
be available for some MCUs.
if DEBUG_PCI
config DEBUG_PCI_ERROR
bool "PCI Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable PCI driver error output to SYSLOG.
config DEBUG_PCI_WARN
bool "PCI Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable PCI driver warning output to SYSLOG.
config DEBUG_PCI_INFO
bool "PCI Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable PCI driver informational output to SYSLOG.
endif # DEBUG_PCI
config DEBUG_RPMSG
bool "RPMSG Debug Features"
default n
depends on RPMSG
---help---
Enable RPMSG driver debug features.
if DEBUG_RPMSG
config DEBUG_RPMSG_ERROR
bool "RPMSG Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable RPMSG driver error output to SYSLOG.
config DEBUG_RPMSG_WARN
bool "RPMSG Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable RPMSG driver warning output to SYSLOG.
config DEBUG_RPMSG_INFO
bool "RPMSG Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable RPMSG driver informational output to SYSLOG.
endif # DEBUG_RPMSG
config DEBUG_CORESIGHT
bool "Coresight Debug Features"
default n
depends on CORESIGHT
---help---
Enable coresight debug features.
if DEBUG_CORESIGHT
config DEBUG_CORESIGHT_ERROR
bool "Coresight Error Output"
default n
depends on DEBUG_ERROR
---help---
Enable coresight driver error output to SYSLOG.
config DEBUG_CORESIGHT_WARN
bool "Coresight Warnings Output"
default n
depends on DEBUG_WARN
---help---
Enable coresight warning output to SYSLOG.
config DEBUG_CORESIGHT_INFO
bool "Coresight Informational Output"
default n
depends on DEBUG_INFO
---help---
Enable coresight driver informational output to SYSLOG.
endif # DEBUG_CORESIGHT
endif # DEBUG_FEATURES
config ARCH_PROTECT_ZERO_ADDRESS
bool "Protect address zero"
depends on ARCH_HAVE_DEBUG
default n
---help---
When the program accesses address 0, it will assert automatically.
Hardware support is required, such as ARM V8M DWT watchpoint
config ARCH_HAVE_STACKCHECK
bool
default n
config STACK_COLORATION
bool "Stack coloration"
default n
depends on ARCH_HAVE_STACKCHECK
---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.
Only supported by a few architectures.
config STACKCHECK_SOFTWARE
bool "Software detection of stack overflow"
depends on STACK_COLORATION && DEBUG_ASSERTIONS
---help---
When switching contexts, it will detect whether a stack overflow occurs.
Two methods are used here.
The first is to check the legitimacy of the value of the sp register;
the second is to check the specified number of bytes at the bottom of the stack.
If either of these two methods fails, an ASSERT will be triggered.
config STACKCHECK_MARGIN
int "Stack overflow check size (bytes)"
depends on STACKCHECK_SOFTWARE
default 16
---help---
Specifies the number of bytes at the end of the stack to check for overflow.
A value of 0 disables additional checking. Increase this value for stricter
overflow detection, at the cost of additional overhead.
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.
choice STACK_CANARIES_LEVEL
prompt "Stack Canaries Level Configuration"
default STACK_PROTECTOR_ALL
depends on STACK_CANARIES
---help---
Based on the configuration options, configure the stack Canaries Level.
config STACK_PROTECTOR
bool "-fstack-protector"
---help---
Enable basic stack protection.
config STACK_PROTECTOR_STRONG
bool "-fstack-protector-strong"
---help---
Using stronger stack protection mechanisms may involve more complex
security checks.
config STACK_PROTECTOR_ALL
bool "-fstack-protector-all"
---help---
Enable stack protection for all functions, including those that are
typically not protected.
config STACK_PROTECTOR_EXPLICIT
bool "-fstack-protector-explicit"
---help---
Enable stack protection only for functions explicitly marked as
requiring stack protection.
endchoice # Stack Canaries Level Configuration
config STACK_CANARIES_LEVEL
string
default "-fstack-protector" if STACK_PROTECTOR
default "-fstack-protector-strong" if STACK_PROTECTOR_STRONG
default "-fstack-protector-all" if STACK_PROTECTOR_ALL
default "-fstack-protector-explicit" if STACK_PROTECTOR_EXPLICIT
depends on STACK_CANARIES
config STACK_USAGE
bool "Generate stack usage information"
---help---
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.
config STACK_USAGE_WARNING
int "Detect use of large stack variables"
default 0
---help---
Set the stack warning threshold, if the stack usage exceeds the
threshold, a warning will be generated
config ARCH_HAVE_HEAPCHECK
bool
default n
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.
config DEBUG_SYMBOLS
bool "Generate Debug Symbols"
default n
---help---
Build with debug symbols (needed for use with a debugger).
config DEBUG_SYMBOLS_LEVEL
string "Custom symbols level"
depends on DEBUG_SYMBOLS
default "-g"
---help---
This string represents the custom symbol level that will be
used if DEBUG_SYMBOLS.
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.
endmenu # Debug Options