From b9a25568aaaf7d52fe42f024a2058034d7b981ad Mon Sep 17 00:00:00 2001 From: Krzysztof Chruscinski Date: Thu, 31 Mar 2022 16:55:39 +0200 Subject: [PATCH] samples: logging: dictionary: Add frontend support Extended sample to support UART dictionary frontend. Signed-off-by: Krzysztof Chruscinski --- samples/subsys/logging/dictionary/sample.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/samples/subsys/logging/dictionary/sample.yaml b/samples/subsys/logging/dictionary/sample.yaml index 56f05943851..5c14f022013 100644 --- a/samples/subsys/logging/dictionary/sample.yaml +++ b/samples/subsys/logging/dictionary/sample.yaml @@ -24,3 +24,29 @@ tests: extra_configs: - CONFIG_FPU=y - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y + sample.logger.basic.dictionary.uart_async_frontend: + build_only: true + tags: logging + platform_allow: nrf52840dk_nrf52840 + integration_platforms: + - nrf52840dk_nrf52840 + extra_configs: + - CONFIG_LOG_BACKEND_UART=n + - CONFIG_LOG_BACKEND_RTT=n + - CONFIG_UART_ASYNC_API=y + - CONFIG_UART_INTERRUPT_DRIVEN=n + - CONFIG_LOG_FRONTEND=y + - CONFIG_LOG_FRONTEND_ONLY=y + - CONFIG_LOG_FRONTEND_DICT_UART=y + sample.logger.basic.dictionary.uart_int_frontend: + build_only: true + tags: logging + filter: CONFIG_SERIAL_SUPPORT_INTERRUPT and CONFIG_UART_CONSOLE + extra_configs: + - CONFIG_LOG_BACKEND_UART=n + - CONFIG_LOG_BACKEND_RTT=n + - CONFIG_UART_INTERRUPT_DRIVEN=y + - CONFIG_UART_ASYNC_API=n + - CONFIG_LOG_FRONTEND=y + - CONFIG_LOG_FRONTEND_ONLY=y + - CONFIG_LOG_FRONTEND_DICT_UART=y