Commit bf112c84 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Adding installation of the STM32 programmer utilities.

parent ce8f5c09
......@@ -43,3 +43,6 @@
[submodule "msc-editor"]
path = msc-editor
url = https://gitrepos.estec.esa.int/taste/msc-editor.git
[submodule "stlink"]
path = stlink
url = https://github.com/texane/stlink.git
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/common.sh
# Setup the stlink tools (if not there)
cd $DIR/../stlink || exit 1
make release || exit 1
STUTIL_PATH=$(realpath "${DIR}/ ../stlink/build/Release/src/gdbserver")
PATH_CMD='export PATH=$PATH:'"${STUTIL_PATH}"
UpdatePATH
STFLASH_PATH=$(realpath "${DIR}/ ../stlink/build/Release")
PATH_CMD='export PATH=$PATH:'"${STFLASH_PATH}"
UpdatePATH
Subproject commit 5c10d4b83a4703edb492c76f1427c4a4e1a568b1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment