Skip to content

Commit

Permalink
espressif: workaround for mbedtls >= v3.1
Browse files Browse the repository at this point in the history
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 <david.brown@linaro.org>
  • Loading branch information
d3zd3z committed Jun 27, 2024
1 parent c99b701 commit 9afbfe9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/espressif_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -44,6 +49,7 @@ build_mcuboot() {
cmake --build "${build_dir}"/
}

revert_mcuboot
prepare_environment

if [ -n "${MCUBOOT_FEATURES}" ]; then
Expand Down

0 comments on commit 9afbfe9

Please sign in to comment.