mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #4357 from gojimmypi/patch-1
Espressif README Syntax / keyword highlighting / clarificationspull/4367/head
commit
504e27dfa7
|
@ -4,28 +4,33 @@
|
||||||
|
|
||||||
Including the following examples:
|
Including the following examples:
|
||||||
|
|
||||||
* simple tls_client/server
|
* Simple [tls_client](./examples/wolfssl_client/)/[server](./examples/wolfssl_server/)
|
||||||
* crypt test
|
* Cryptographic [test](./examples/wolfssl_test/)
|
||||||
* crypt benchmark
|
* Cryptographic [benchmark](./examples/wolfssl_benchmark/)
|
||||||
|
|
||||||
The *user_settings.h* file enables some of the hardened settings.
|
The *user_settings.h* file enables some of the hardened settings.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
1. ESP-IDF development framework
|
1. [ESP-IDF development framework](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/)
|
||||||
[https://docs.espressif.com/projects/esp-idf/en/latest/get-started/]
|
|
||||||
|
|
||||||
Note: This expects to use Linux version.
|
Note: This expects to use Linux version.
|
||||||
|
|
||||||
## Setup for Linux
|
## Setup for Linux
|
||||||
1. Run *setup.sh* at /path/to/wolfssl/IDE/Espressif/ESP-IDF/ to deploy files into ESP-IDF tree
|
1. Run `setup.sh` at _/path/to_`/wolfssl/IDE/Espressif/ESP-IDF/` to deploy files into ESP-IDF tree
|
||||||
For Windows : Run *setup_win.bat* at \IDE\Espressif\ESP-IDF\
|
For Windows : Run `setup_win.bat` at `.\IDE\Espressif\ESP-IDF\`
|
||||||
2. Find Wolfssl files at /path/to/esp-idf/components/wolfssl/
|
|
||||||
3. Find Example programs under /path/to/esp-idf/examples/protocols/wolfssl_xxx
|
2. Find Wolfssl files at _/path/to/esp_`/esp-idf/components/wolfssl/`
|
||||||
4. Uncomment out #define WOLFSSL_ESPIDF in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h
|
|
||||||
Uncomment out #define WOLFSSL_ESPWROOM32 in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h
|
3. Find [Example programs](https://github.com/wolfSSL/wolfssl/tree/master/IDE/Espressif/ESP-IDF/examples) under _/path/to/esp_`/esp-idf/examples/protocols/wolfssl_xxx` (where xxx is the project name)
|
||||||
|
|
||||||
|
4. Uncomment out `#define WOLFSSL_ESPIDF` in _/path/to/esp_`/esp-idf/components/wolfssl/wolfssl/wolfcrypt/settings.h`
|
||||||
|
Uncomment out `#define WOLFSSL_ESPWROOM32` in _/path/to/esp_`/esp-idf/components/wolfssl/wolfssl/wolfcrypt/settings.h`
|
||||||
|
|
||||||
|
for example the default:
|
||||||
|
`~/esp/esp-idf/components/wolfssl/wolfssl/wolfcrypt/settings.h`
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
1. The *user_settings.h* can be found in /path/to/esp-idf/components/wolfssl/include/user_settings.h
|
1. The `user_settings.h` can be found in _/path/to/esp_`/esp-idf/components/wolfssl/include/user_settings.h`
|
||||||
|
|
||||||
## Build examples
|
## Build examples
|
||||||
1. See README in each example folder
|
1. See README in each example folder
|
||||||
|
@ -34,7 +39,7 @@ Including the following examples:
|
||||||
For question please email [support@wolfssl.com]
|
For question please email [support@wolfssl.com]
|
||||||
|
|
||||||
Note: This is tested with :
|
Note: This is tested with :
|
||||||
- OS: Ubuntu 18.04.1 LTS and Microsoft Windows 10 Pro 10.0.19041
|
- OS: Ubuntu 18.04.1 LTS and Microsoft Windows 10 Pro 10.0.19041 and well as WSL Ubuntu
|
||||||
- ESP-IDF: v4.1 and v4.0.1
|
- ESP-IDF: v4.1 and v4.0.1
|
||||||
- Module : ESP32-WROOM-32
|
- Module : ESP32-WROOM-32
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue