OVMS3/OVMS.V3/components/wolfssl/IDE/Espressif/ESP-IDF
2022-04-06 00:04:46 +02:00
..
examples Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
libs Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
test Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
dummy_config_h Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
README.md Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
README_32se.md Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
setup.sh Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
setup_win.bat Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00
user_settings.h Initial commit, fork from original Project 2022-04-06 00:04:46 +02:00

ESP-IDF port

Overview

ESP-IDF development framework with wolfSSL by setting WOLFSSL_ESPIDF definition

Including the following examples:

  • simple tls_client/server
  • crypt test
  • crypt benchmark

The user_settings.h file enables some of the hardened settings.

Requirements

  1. ESP-IDF development framework
    [https://docs.espressif.com/projects/esp-idf/en/latest/get-started/]

    Note: This expects to use Linux version.

Setup for Linux

  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\
  2. Find Wolfssl files at /path/to/esp-idf/components/wolfssl/
  3. Find Example programs under /path/to/esp-idf/examples/protocols/wolfssl_xxx
  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

Configuration

  1. The user_settings.h can be found in /path/to/esp-idf/components/wolfssl/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 :

  • OS: Ubuntu 18.04.1 LTS and Microsoft Windows 10 Pro 10.0.19041
  • ESP-IDF: v4.1 and v4.0.1
  • Module : ESP32-WROOM-32