diff --git a/IDE/WORKBENCH/README.md b/IDE/WORKBENCH/README.md index c225f40b7..576e3b6af 100644 --- a/IDE/WORKBENCH/README.md +++ b/IDE/WORKBENCH/README.md @@ -27,6 +27,8 @@ then "Browse" and select: #define WOLFSSL_VXWORKS +Note: pthreads defined by default + 5. If using the VxWorks simulator add the following to EXTRA\_DEFINE: -DVXWORKS_SIM /* only if using the VxWorks simulator */ @@ -154,9 +156,7 @@ Note: The wolfSSL example server and client cannot run at the same time on the V 5. There is an example client in ```/wolfssl/examples``` . Again, wolfSSL will first need to be built. Follow the instructions [here](https://www.wolfssl.com/wolfSSL/Docs-wolfssl-manual-2-building-wolfssl.html) to do so. See the [wolfSSL manual]( https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-3-getting-started.html) for instructions on how to set up the client. From within ```/wolfssl``` , the following command can be used to run the client on the host machine: - ./examples/client/client -h 192.168.200.1 -d - - The -d option disables peer checks. + ./examples/client/client -h 192.168.200.1 6. The following output should be expected in the simulator terminal: diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 97d3b486d..7a66fb754 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -325,6 +325,7 @@ #ifdef VXWORKS_SIM #define TFM_NO_ASM #endif + #define WOLFSSL_PTHREADS #define WOLFSSL_HAVE_MIN #define USE_FAST_MATH #define TFM_TIMING_RESISTANT