From 8133d43552e3122dd46fdb54a165faa95c3c5413 Mon Sep 17 00:00:00 2001 From: mik13ST Date: Tue, 6 Jun 2023 15:40:34 +0200 Subject: [PATCH] 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. --- docs/en/api-reference/protocols/esp_tls.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/api-reference/protocols/esp_tls.rst b/docs/en/api-reference/protocols/esp_tls.rst index 03f54da940..d53e807f7b 100644 --- a/docs/en/api-reference/protocols/esp_tls.rst +++ b/docs/en/api-reference/protocols/esp_tls.rst @@ -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 `_. For reference see Optional Project variables in :doc:`build-system.`