zephyr/drivers/coredump/Kconfig
Mark Holden 44c388fb33 coredump: drivers: Add coredump device
Add a pseudo device diver with device tree bindings for coredump.
The device tree bindings exposes memory address/size values to be
included in any dump. And the driver exposes an API to add/remove
dump memory regions at runtime.

Signed-off-by: Mark Holden <mholden@fb.com>
2022-06-05 14:28:34 +02:00

23 lines
580 B
Plaintext

# Copyright Meta Platforms, Inc. and its affiliates.
# SPDX-License-Identifier: Apache-2.0
menuconfig COREDUMP_DEVICE
bool "Coredump pseudo-device driver"
help
Enable support for a pseudo-device to help capturing
desired data into core dumps.
if COREDUMP_DEVICE
config COREDUMP_DEVICE_INIT_PRIORITY
int "Coredump device init priority"
default KERNEL_INIT_PRIORITY_DEVICE
help
Coredump pseudo-device driver initialization priority.
module = COREDUMP_DEVICE
module-str = coredump device
source "subsys/logging/Kconfig.template.log_config"
endif # COREDUMP_DEVICE