Skip to content

Commit

Permalink
modules: mipi-syst: support minimal C library
Browse files Browse the repository at this point in the history
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 <daniel.leung@intel.com>
  • Loading branch information
dcpleung authored and nashif committed Jun 17, 2023
1 parent 339b00d commit 2ba7855
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion modules/Kconfig.syst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ba7855

Please sign in to comment.