From 657f988da724880aa3c0a269bc3371a1ff8c250e Mon Sep 17 00:00:00 2001 From: David Brown Date: Thu, 27 Jun 2024 13:46:44 -0600 Subject: [PATCH] espressif: workaround for mbedtls >= v3.1 Until espressif builds can be updated to work with recent versions of mbedtls, explicitly revert the version used to one that is known to work. Signed-off-by: David Brown --- ci/espressif_run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/espressif_run.sh b/ci/espressif_run.sh index 74b77cbbc..90e9556c8 100755 --- a/ci/espressif_run.sh +++ b/ci/espressif_run.sh @@ -9,6 +9,11 @@ IDF_PATH="${HOME}/esp-idf" set -eo pipefail +revert_mcuboot() { + (cd "${MCUBOOT_ROOTDIR}/ext/mbedtls"; + git checkout v3.0.0) +} + prepare_environment() { # Prepare the environment for ESP-IDF @@ -44,6 +49,7 @@ build_mcuboot() { cmake --build "${build_dir}"/ } +revert_mcuboot prepare_environment if [ -n "${MCUBOOT_FEATURES}" ]; then