From 767d1bb6f956ea307561b7b943716632e2634aaa Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 12 Feb 2020 13:04:16 +0200 Subject: [PATCH] logging: log_backend_rb: Use int for memory area size Change "hex" to "int" for LOG_BACKEND_RB_MEM_SIZE. Signed-off-by: Andrei Emeltchenko --- soc/xtensa/intel_apl_adsp/Kconfig.defconfig | 4 ++-- subsys/logging/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/soc/xtensa/intel_apl_adsp/Kconfig.defconfig b/soc/xtensa/intel_apl_adsp/Kconfig.defconfig index 7d687ed95e8..d62d6e07386 100644 --- a/soc/xtensa/intel_apl_adsp/Kconfig.defconfig +++ b/soc/xtensa/intel_apl_adsp/Kconfig.defconfig @@ -46,10 +46,10 @@ config LOG_BACKEND_RB default y config LOG_BACKEND_RB_MEM_BASE - default "0xBE008000" + default 0xBE008000 config LOG_BACKEND_RB_MEM_SIZE - default "0x2000" + default 8192 endif # LOG diff --git a/subsys/logging/Kconfig b/subsys/logging/Kconfig index 16af3f7a78e..4906cd940f2 100644 --- a/subsys/logging/Kconfig +++ b/subsys/logging/Kconfig @@ -511,7 +511,7 @@ config LOG_BACKEND_RB_MEM_BASE Address of the ring buffer in the memory. config LOG_BACKEND_RB_MEM_SIZE - hex "Size of the ring buffer" + int "Size of the ring buffer" help Size of the ring buffer. Must be multiply of the message slot size.