new file: .devcontainer/devcontainer.json
new file: CubeClt/Dockerfile new file: CubeClt/Resources/CubeCLT/install.sh new file: CubeClt/Resources/Scripts/reinstall-cmake.sh new file: CubeClt/build_and_publish.sh new file: CubeMx/Dockerfile new file: CubeMx/Resources/CubeMX/install-cubemx.sh new file: CubeMx/build_and_publish.sh modified: README.md
This commit is contained in:
24
CubeClt/Resources/CubeCLT/install.sh
Normal file
24
CubeClt/Resources/CubeCLT/install.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Set the script to fail if any command fails.
|
||||
set -e
|
||||
|
||||
echo "Installing CubeCLT..."
|
||||
|
||||
# Extract zip file
|
||||
unzip -q /tmp/CubeCLT/en.st-stm32cubeclt_1.17* -d /tmp/cubeclt
|
||||
cd /tmp/cubeclt && chmod +x *.sh
|
||||
export LICENSE_ALREADY_ACCEPTED=1
|
||||
/tmp/cubeclt/*.sh --target . --noexec
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
apt-get install -y /tmp/cubeclt/st-stlink-udev-rules*.deb
|
||||
apt-get install -y /tmp/cubeclt/st-stlink-server*.deb
|
||||
apt-get install -y /tmp/cubeclt/st-stm32cubeclt*.deb
|
||||
|
||||
rm -rf /tmp/cubeclt
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user