#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

menuconfig SYSTEM_COREDUMP
	tristate "Coredump tool capture system status"
	default n
	depends on COREDUMP

if SYSTEM_COREDUMP

config SYSTEM_COREDUMP_STACKSIZE
	int "coredump stack size"
	default DEFAULT_TASK_STACKSIZE
	---help---
		This is the stack size that will be used when starting the coredump.

config SYSTEM_COREDUMP_PRIORITY
	int "coredump priority"
	default 254
	---help---
		This is the task priority that will be used when starting the coredump.

config SYSTEM_COREDUMP_SWAPBUFFER_SIZE
	int "coredump read/write swap buffer size"
	default 16384
	---help---
		The coredump read/write swap buffer size in bytes.

config SYSTEM_COREDUMP_RESTORE_PATHS
	string "Default paths for coredump restore"
	default ""
	---help---
		This default path can be a file or a directory.
		When there are multiple files,
		it will overwrite the oldest file in a loop to save the file.
		When it is a path,
		it will extract the time when the coredump was generated
		and use it as the file name to generate a file.

endif # SYSTEM_COREDUMP
