2018-11-04 10:54:34 -06:00
|
|
|
# ESP-IDF port
|
|
|
|
## Overview
|
|
|
|
ESP-IDF development framework with wolfSSL by setting *WOLFSSL_ESPIDF* definition
|
2018-11-21 03:41:29 -06:00
|
|
|
|
|
|
|
Including the following examples:
|
|
|
|
|
|
|
|
* simple tls_client/server
|
|
|
|
* crypt test
|
|
|
|
* crypt benchmark
|
2018-11-04 10:54:34 -06:00
|
|
|
|
|
|
|
The *user_settings.h* file enables some of the hardened settings.
|
|
|
|
|
|
|
|
## Requirements
|
2018-11-21 03:41:29 -06:00
|
|
|
1. ESP-IDF development framework
|
2018-11-04 10:54:34 -06:00
|
|
|
[https://docs.espressif.com/projects/esp-idf/en/latest/get-started/]
|
2018-11-21 03:41:29 -06:00
|
|
|
|
2018-11-04 10:54:34 -06:00
|
|
|
Note: This expects to use Linux version.
|
2018-11-21 03:41:29 -06:00
|
|
|
|
2018-11-04 10:54:34 -06:00
|
|
|
## Setup
|
|
|
|
1. Run *setup.sh* to deploy files into ESP-IDF tree
|
|
|
|
2. Find Wolfssl files at /path/to/esp-idf/components/wolfssl/
|
|
|
|
3. Find Example programs under /path/to/esp-idf/examples/protocols/wolfssl_xxx
|
2018-11-21 03:41:29 -06:00
|
|
|
4. Uncomment out #define WOLFSSL_ESPIDF in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h
|
2018-11-04 10:54:34 -06:00
|
|
|
Uncomment out #define WOLFSSL_ESPWROOM32 in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
1. The *user_settings.h* for each example can be found in /path/to/examples/protocols/wolfssl_xxx/main/include/user_settings.h
|
|
|
|
|
|
|
|
## Build examples
|
|
|
|
1. See README in each example folder
|
|
|
|
|
|
|
|
## Support
|
|
|
|
For question please email [support@wolfssl.com]
|
|
|
|
|
|
|
|
Note: This is tested with "Ubuntu 18.04.1 LTS" and ESP32-WROOM-32.
|