wolfssl-w32/IDE/Espressif/ESP-IDF/examples/template
2024-03-01 19:59:08 -08:00
..
components/wolfssl Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00
main Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00
VisualGDB Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00
CMakeLists.txt Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00
partitions_singleapp_large.csv Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00
README.md Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00
sdkconfig.defaults Import from wolfssl-5.6.6 2024-03-01 19:59:08 -08:00

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

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.