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:
22
CubeMx/Resources/CubeMX/install-cubemx.sh
Normal file
22
CubeMx/Resources/CubeMX/install-cubemx.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Set the script to fail if any command fails.
|
||||
set -e
|
||||
|
||||
# Cleanup temporary directory and associated files when exiting the script.
|
||||
cleanup() {
|
||||
EXIT_CODE=$?
|
||||
set +e
|
||||
if [[ -n "${TMP_DIR}" ]]; then
|
||||
echo "Executing cleanup of tmp files"
|
||||
rm -Rf "${TMP_DIR}"
|
||||
fi
|
||||
exit $EXIT_CODE
|
||||
}
|
||||
|
||||
echo "Installing CubeMX..."
|
||||
|
||||
# Extract zip file
|
||||
unzip -q /tmp/CubeMX/en.stm32cubemx-lin-v6-13-0.zip -d /tmp/CubeMX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user