From 9e3cebb4b0809b6750a72d5d5aa02d1b5d847182 Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Fri, 29 Sep 2023 10:11:54 -0700 Subject: [PATCH] add WOLFSSL_ESPIDF Espressif sections in test.h --- wolfssh/test.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wolfssh/test.h b/wolfssh/test.h index eda5fe549..7b0c46b8d 100644 --- a/wolfssh/test.h +++ b/wolfssh/test.h @@ -136,6 +136,14 @@ #endif #define SOCKET_T int #define NUM_SOCKETS 5 +#elif defined(WOLFSSL_ESPIDF) + #include "sdkconfig.h" + #include + #include + #include + #include + #define SOCKET_T int + #define NUM_SOCKETS 5 #else /* USE_WINDOWS_API */ #include #include @@ -520,6 +528,8 @@ static INLINE void tcp_socket(WS_SOCKET_T* sockFd) /* not full signal implementation */ #elif defined(WOLFSSL_NUCLEUS) /* nothing to define */ +#elif defined(WOLFSSL_ESPIDF) + /* nothing to define */ #else /* no S_NOSIGPIPE */ signal(SIGPIPE, SIG_IGN); #endif /* S_NOSIGPIPE */