Skip to content

Commit

Permalink
docs: Fix ESP TLS instructions to use wolfSSL
Browse files Browse the repository at this point in the history
The original command without `--recursive` did not clone the upstream wolfssl library which is included as a submodule since commit espressif/esp-wolfssl@901dd90. Using `--recursive` fixes this.
  • Loading branch information
mik13ST authored Jun 6, 2023
1 parent dc016f5 commit 8133d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/api-reference/protocols/esp_tls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ There are two ways to use wolfssl in your project
(First change directory (cd) to your project directory)
mkdir components
cd components
git clone https://github.com/espressif/esp-wolfssl.git
git clone --recursive https://github.com/espressif/esp-wolfssl.git

2) Add wolfssl as an extra component in your project.

* Download wolfssl with::

git clone https://github.com/espressif/esp-wolfssl.git
git clone --recursive https://github.com/espressif/esp-wolfssl.git

* Include esp-wolfssl in ESP-IDF with setting EXTRA_COMPONENT_DIRS in CMakeLists.txt of your project as done in `wolfssl/examples <https://github.com/espressif/esp-wolfssl/tree/master/examples>`_. For reference see Optional Project variables in :doc:`build-system.</api-guides/build-system>`

Expand Down

0 comments on commit 8133d43

Please sign in to comment.