Fix build failures on host platform caused by #6167 (#6338)

* Fix build failures for logger component on host platform

* Add climits header

* Restore logger functionality on host

* Install libsodium in ci
This commit is contained in:
Clyde Stubbs
2024-03-10 14:08:58 +11:00
committed by GitHub
parent 90f416bd0d
commit 0bc645ded7
8 changed files with 33 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ def uart_selection(value):
component = get_libretiny_component()
if component in UART_SELECTION_LIBRETINY:
return cv.one_of(*UART_SELECTION_LIBRETINY[component], upper=True)(value)
if CORE.is_host:
raise cv.Invalid("Uart selection not valid for host platform")
raise NotImplementedError