From 2ba7855ddf23a51f59f01246c48511ea4ca27c57 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Thu, 15 Jun 2023 12:41:58 -0700 Subject: [PATCH] modules: mipi-syst: support minimal C library This allows the MIPI Sys-T library to be built with minimal C library. This is due to lack of support for wchar in our minimal C library. This simply tells the library to skip any wchar support. Signed-off-by: Daniel Leung --- modules/Kconfig.syst | 8 +++++++- west.yml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/Kconfig.syst b/modules/Kconfig.syst index 6d79059e07..e19c4fcd4f 100644 --- a/modules/Kconfig.syst +++ b/modules/Kconfig.syst @@ -3,7 +3,6 @@ config MIPI_SYST_LIB bool "MIPI SyS-T Library Support" - select REQUIRES_FULL_LIBC help This option enables the MIPI SyS-T Library @@ -20,4 +19,11 @@ config MIPI_SYST_RAW_DATA help This option outputs MIPI SyS-T raw data packet +config MIPI_SYST_NO_WHCAR + bool + default y if MINIMAL_LIBC + help + Tell MIPI Sys-T library to not build with + wchar support. + endif diff --git a/west.yml b/west.yml index abe9772498..451c72ac43 100644 --- a/west.yml +++ b/west.yml @@ -274,7 +274,7 @@ manifest: path: modules/debug/mipi-sys-t groups: - debug - revision: 0d521d8055f3b2b4842f728b0365d3f0ece9c37f + revision: a819419603a2dfcb47f7f39092e1bc112e45d1ef - name: nanopb revision: 42fa8b211e946b90b9d968523fce7b1cfe27617e path: modules/lib/nanopb