You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zephyr: Add Zephyr module support code under contrib/zephyr/
This is Zephyr module glue code. We've decided contrib/ to store
architecture or OS specific code.
Zephyr still doesn't support many drivers and interfaces, yet.
For UDP interface, we check HAVE_SYS_SOCKET_H to enable it or not but
the current check_include_files() doesn't work with Zephyr build
system. Thus, explicitly disabled in contrib/zephyr/CMakeLists.txt.
Note that turning HAVE_SYS_SOCKET_H ON doesn't build if_udp. you need
to enable CONFIG_POSIX_API=y add tell libcsp about the include
directory for POSIX subsystem.
target_include_directories(libcsp PRIVATE
+ $<TARGET_PROPERTY:posix_subsys,INTERFACE_INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:zephyr_interface,INTERFACE_INCLUDE_DIRECTORIES>
)
Signed-off-by: Yasushi SHOJI <[email protected]>
0 commit comments