Skip to content

Commit 8909971

Browse files
author
gojimmypi
committed
Re-apply original einclude.am and test.h changes. Remove ESP32 WOLFSSH_OLD_THREADING
1 parent fd4e475 commit 8909971

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DESP_ENABLE_WOLFSSH")
3838
# Managed wolfSSL Components prior to 5.7.4 need a manual setting for WOLFSSL_WOLFSSH
3939
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSL_WOLFSSH")
4040

41-
# TODO: The ESP32 echo server example still uses older threading
42-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSH_OLD_THREADING")
43-
4441
# Optional:
4542
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWOLFSSH_TERM")
4643
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDEBUG_WOLFSSH")

ide/include.am

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
# included from Top Level Makefile.am
33
# All paths should be given relative to the root
44

5-
include ide/winvs/include.am
65
include ide/CSBENCH/include.am
7-
include ide/MQX/include.am
6+
include ide/Espressif/include.am
87
include ide/IAR-EWARM/include.am
8+
include ide/MQX/include.am
99
include ide/STM32CUBE/include.am
10+
include ide/winvs/include.am
1011

11-
EXTRA_DIST += ide/Renesas
12+
EXTRA_DIST += ide/Renesas

wolfssh/test.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,8 @@ static INLINE void WaitTcpReady(tcp_ready* ready)
949949
#ifdef WOLFSSH_TEST_THREADING
950950

951951

952-
#if !defined(WOLFSSH_OLD_THREADING) && !defined(WOLFSSH_OLDER_THREADING)
952+
#if !defined(WOLFSSH_OLD_THREADING) && !defined(WOLFSSH_OLDER_THREADING) && \
953+
!defined(SINGLE_THREADED)
953954

954955
static INLINE void ThreadStart(THREAD_CB fun, void* args, THREAD_TYPE* thread)
955956
{

0 commit comments

Comments
 (0)