File tree Expand file tree Collapse file tree
zephyr/samples/wolfssl_tls_sock Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,9 +70,12 @@ select_docker_image() {
7070 local minor=" ${ver#* .} "
7171 minor=" ${minor%% .* } "
7272
73- if [[ " $major " -ge 4 && " $minor " -ge 2 ]]; then
74- # Zephyr 4.2+ needs SDK 0.17.x (v0.28.7 image)
75- echo " ${GHCR} :v0.28.7"
73+ if [[ " $major " -ge 4 && " $minor " -ge 4 ]]; then
74+ # Zephyr 4.4+ needs SDK 1.x (v0.29.2 image)
75+ echo " ${GHCR} :v0.29.2"
76+ elif [[ " $major " -ge 4 && " $minor " -ge 2 ]]; then
77+ # Zephyr 4.2+ needs SDK 0.17.x (v0.28.8 image)
78+ echo " ${GHCR} :v0.28.8"
7679 elif [[ " $major " -ge 4 ]]; then
7780 # Zephyr 4.0-4.1 needs SDK 0.17.0 (v0.27.4 image; v0.26.18/v0.28.7 picolibc is incompatible)
7881 echo " ${GHCR} :v0.27.4"
Original file line number Diff line number Diff line change 2222 strategy :
2323 fail-fast : false
2424 matrix :
25- zephyr-ref : [ v4.1.0, v4.3.0 ]
25+ zephyr-ref : [ v4.1.0, v4.3.0, v4.4.0 ]
2626 board : [ native_sim, frdm_rw612/rw612 ]
2727 sample : [ wolfssl_tls_sock, wolfssl_test, wolfssl_benchmark ]
2828 extra-conf : [ '', external_libc.conf ]
Original file line number Diff line number Diff line change 203203 #include <zephyr/posix/netdb.h>
204204 #include <zephyr/posix/sys/socket.h>
205205 #include <zephyr/posix/sys/select.h>
206+ #include <zephyr/posix/arpa/inet.h>
206207 #endif
207208 #else
208209 #include <net/socket.h>
Original file line number Diff line number Diff line change 191191 #endif
192192 #if KERNEL_VERSION_NUMBER >= 0x30100
193193 #include <zephyr/net/socket.h>
194- #ifdef CONFIG_POSIX_API
194+ #if defined( CONFIG_POSIX_API ) && KERNEL_VERSION_NUMBER < 0x40400
195195 #include <zephyr/posix/sys/socket.h>
196196 #endif
197197 #else
Original file line number Diff line number Diff line change 22CONFIG_MAIN_STACK_SIZE=16384
33CONFIG_ENTROPY_GENERATOR=y
44CONFIG_INIT_STACKS=y
5- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
5+ CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=131072
66
77# Networking config
88CONFIG_NETWORKING=y
You can’t perform that action at this time.
0 commit comments