We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bddd67 + 80d8351 commit cc209d0Copy full SHA for cc209d0
.gitlab-ci.yml
@@ -72,6 +72,14 @@ variables:
72
fi
73
if [[ "$SETUP_TOOLS" == "1" || "$CI_JOB_STAGE" != "target_test" ]]; then
74
tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)" || exit 1
75
+ if [[ ! -z "$OOCD_DISTRO_URL" ]]; then
76
+ echo "Using custom OpenOCD from ${OOCD_DISTRO_URL}"
77
+ wget $OOCD_DISTRO_URL
78
+ ARCH_NAME=$(basename $OOCD_DISTRO_URL)
79
+ tar -x -f $ARCH_NAME
80
+ export OPENOCD_SCRIPTS=$PWD/openocd-esp32/share/openocd/scripts
81
+ export PATH=$PWD/openocd-esp32/bin:$PATH
82
+ fi
83
84
85
before_script:
0 commit comments