diff --git a/tools/scripts/mcufla.sh b/tools/scripts/mcufla.sh index bcdd4b66296..edf786369db 100755 --- a/tools/scripts/mcufla.sh +++ b/tools/scripts/mcufla.sh @@ -111,7 +111,7 @@ build_prerequisites_maxim() { fi if [ ! -d ~/.mcuflash/maxim/openocd ]; then - git clone https://github.com/MaximIntegratedMicros/openocd.git ~/.mcuflash/maxim/openocd && + git clone --recursive -b 0.12.0-1.0.0 https://github.com/analogdevicesinc/openocd.git ~/.mcuflash/maxim/openocd && pushd ~/.mcuflash/maxim/openocd && ./bootstrap && ./configure --enable-cmsis-dap &&