docs: Fix ESP TLS instructions to use wolfSSL

The original command without `--recursive` did not clone the upstream wolfssl library which is included as a submodule since commit https://github.com/espressif/esp-wolfssl/commit/901dd90f9a6c3d1cd4aed0774a2c20cbd9b3ae6f. Using `--recursive` fixes this.
This commit is contained in:
mik13ST
2023-06-06 15:40:34 +02:00
committed by GitHub
parent dc016f5987
commit 8133d43552
+2 -2
View File
@@ -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>`