* Add syntax highlighting where appropriate * Fix some markdown compliance issues * Add some links for things * Add some inline code quoting * Fix some headings * Fix copyright date in doxygen html output
ESP-IDF port
Overview
ESP-IDF development framework with wolfSSL by setting WOLFSSL_ESPIDF definition
Including the following examples:
- Simple tls_client/server
- Cryptographic test
- Cryptographic benchmark
The user_settings.h file enables some of the hardened settings.
Requirements
-
Note: This expects to use Linux version.
Setup for Linux
-
Run
setup.shat /path/to/wolfssl/IDE/Espressif/ESP-IDF/to deploy files into ESP-IDF tree
For Windows : Runsetup_win.batat.\IDE\Espressif\ESP-IDF\ -
Find Wolfssl files at /path/to/esp
/esp-idf/components/wolfssl/ -
Find Example programs under /path/to/esp
/esp-idf/examples/protocols/wolfssl_xxx(where xxx is the project name) -
Uncomment out
#define WOLFSSL_ESPIDFin /path/to/esp/esp-idf/components/wolfssl/wolfssl/wolfcrypt/settings.h
Uncomment out#define WOLFSSL_ESPWROOM32in /path/to/esp/esp-idf/components/wolfssl/wolfssl/wolfcrypt/settings.hfor example the default:
~/esp/esp-idf/components/wolfssl/wolfssl/wolfcrypt/settings.h
Configuration
- The
user_settings.hcan be found in /path/to/esp/esp-idf/components/wolfssl/include/user_settings.h
Build examples
- See README in each example folder
Support
For question please email [support@wolfssl.com]
Note: This is tested with :
- 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
- Module : ESP32-WROOM-32