VxWorks updates: add pthreads define
This commit is contained in:
parent
cc56e1da48
commit
8f8f4129fd
@ -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 ```<path_to_wolfssl>/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 ```<path_to_wolfssl>/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:
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user