Skip to content

Commit

Permalink
Espressif README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Oct 1, 2024
1 parent b99d47e commit ebd3067
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
5 changes: 3 additions & 2 deletions IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ See the [feature request](https://sysprogs.com/w/forums/topic/feature-request-sh
1-1. Example Configuration ->

BENCH_ARG : argument that you want to use. Default is "-lng 0"
The list of argument can be find in help.
The list of arguments can be found in help. See [benchmark/README.md](https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/benchmark/README.md)
Features to be benchmarked are enabled in the `user_settings.h`.

When you want to run the benchmark program

Expand Down Expand Up @@ -107,7 +108,7 @@ WRK_IDF_PATH=/mnt/c/SysGCC/esp32-8.4/esp-idf/v4.4.1
# ESP-IDF v5.0 with toolchain v12.4
WRK_IDF_PATH=/mnt/c/SysGCC/esp32-12.4/esp-idf/v5.0
# ESP-IDF v5.0 to v5.2.1 uses toolchain v12.4
# ESP-IDF v5.0 to v5.2.1 uses toolchain v12.4
WRK_IDF_PATH=/mnt/c/SysGCC/esp32-12.4/esp-idf/v5.0
WRK_IDF_PATH=/mnt/c/SysGCC/esp32-12.4/esp-idf/v5.1
WRK_IDF_PATH=/mnt/c/SysGCC/esp32-12.4/esp-idf/v5.2.1
Expand Down
4 changes: 2 additions & 2 deletions IDE/Espressif/ESP-IDF/examples/wolfssl_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ No wolfSSL setup is needed. You may need to adjust your specific COM port. The d
1. `idf.py menuconfig` to configure the program.
1-1. Example Configuration ->

TEST_ARG : argument that you want to use. Default is "-lng 0"
The list of argument can be find in help.
There are no parametric arguments. See [wolfcrypt/test](https://github.com/wolfSSL/wolfssl/tree/master/wolfcrypt/test).
All features enabled in the `user_settings.h` will be tested.

When you want to run the test program

Expand Down
2 changes: 1 addition & 1 deletion IDE/Espressif/ESP-IDF/examples/wolfssl_test_idf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Open the VisualGDB Visual Studio Project file in the VisualGDB directory and cli
1-1. Example Configuration ->

TEST_ARG : argument that you want to use. Default is "-lng 0"
The list of argument can be find in help.
The list of arguments can be found in help.

When you want to run the test program

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# wolfssl_test_idf components

The wolfSSL component should *not* be installed here.

This example project tests the condition of having wolfSSL installed
*in* the Espressif ESP-IDF [components directory](https://github.com/espressif/esp-idf/tree/master/components).

The recommended method is to use a local component as shown in
the [template example](../template/README.md).
4 changes: 4 additions & 0 deletions IDE/Espressif/ESP-IDF/examples/wolfssl_test_idf/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
/* Always include wolfcrypt/settings.h before any other wolfSSL file. */
/* Reminder: settings.h pulls in user_settings.h; don't include it here. */
#ifdef WOLFSSL_USER_SETTINGS
/* Unlike other examples with wolfSSL as a local component, this */
/* example tests wolSSL *in* the ESP-IDF. If you get an error: */
/* wolfssl/wolfcrypt/settings.h: No such file or directory */
/* Then wolfSSL is missing from the ESP-IDF components */
#include <wolfssl/wolfcrypt/settings.h>
#ifndef WOLFSSL_ESPIDF
#warning "Problem with wolfSSL user_settings."
Expand Down

0 comments on commit ebd3067

Please sign in to comment.