gojimmypi 282e559113 Update wolfcrypt settings.h for Espressif ESP-IDF 2 months ago
..
VisualGDB 5cab707d8e Update Espressif Examples and Libraries 7 months ago
components 282e559113 Update wolfcrypt settings.h for Espressif ESP-IDF 2 months ago
main a0fc2f0497 Introduce Espressif common CONFIG_WOLFSSL_EXAMPLE_NAME, Kconfig 2 months ago
CMakeLists.txt 282e559113 Update wolfcrypt settings.h for Espressif ESP-IDF 2 months ago
README.md a3fb5029f8 clean up trailing whitespace and misplaced CRLFs, add missing final newlines, remove stray UTF8 nonprintables (BOMs) and ASCIIfy stray homoglyphs (spaces and apostrophes), guided by expanded coverage in wolfssl-multi-test check-source-text. 2 months ago
partitions_singleapp_large.csv 5b01270205 Update all Expressif examples, ready for PR #6990 11 months ago
sdkconfig.defaults 282e559113 Update wolfcrypt settings.h for Espressif ESP-IDF 2 months ago

README.md

wolfSSL Template Project

This is an example of a minimally viable wolfSSL template to get started with your own project.

For general information on wolfSSL examples for Espressif, see the README file.

Prerequisites

It is assumed the ESP-IDF environment has been installed.

Files Included

  • main.c with a simple call to an Espressif library (ESP_LOGI) and a call to a wolfSSL library (esp_ShowExtendedSystemInfo) .

  • See components/wolfssl/include directory to edit the wolfSSL user_settings.h.

  • Edit main/CMakeLists.txt to add/remove source files.

  • The components/wolfssl/CMakeLists.txt typically does not need to be changed.

  • Optional VisualGDB Project for Visual Studio using ESP32 and ESP-IDF v5.1.

  • Edit the project CMakeLists.txt to optionally point this project's wolfSSL component source code at a different directory:

    set(WOLFSSL_ROOT "~/workspace/wolfssl-other-source")
    

Getting Started:

Here's an example using the command-line idf.py.

Edit your WRK_IDF_PATHto point to your ESP-IDF install directory.

WRK_IDF_PATH=/mnt/c/SysGCC/esp32/esp-idf/v5.1

echo "Run export.sh from ${WRK_IDF_PATH}"
. ${WRK_IDF_PATH}/export.sh

# build the example:
idf.py build

# optionally erase the flash
idf.py erase-flash -p /dev/ttyS19 -b 115200

# flash the code onto the serial device at /dev/ttyS19
idf.py flash -p /dev/ttyS19 -b 115200

# build, flash, and view UART output with one command:
idf.py flash -p /dev/ttyS19 -b 115200 monitor

Press Ctrl+] to exit idf.py monitor. See additional monitor keyboard commands.

Other Examples:

For examples, see:

See the README.md file in the upper level 'examples' directory for more information about examples.