Skip to content

Commit 4bfe210

Browse files
He1myfpistm
authored andcommitted
Add Arch linux default stm32cubeprog installation path
Arch Linux aur/stm32cubeprog , installs by default to /opt/stm32cubeprog/bin this allows the installation to work without modifying the PATH
1 parent dcca90a commit 4bfe210

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

linux/stm32CubeProg.sh

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ check_tool() {
3939
if ! command -v $STM32CP_CLI > /dev/null 2>&1; then
4040
export PATH="$HOME/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin":$PATH
4141
fi
42+
if ! command -v $STM32CP_CLI > /dev/null 2>&1; then
43+
export PATH="/opt/stm32cubeprog/bin":$PATH
44+
fi
4245
if ! command -v $STM32CP_CLI > /dev/null 2>&1; then
4346
echo "$STM32CP_CLI not found."
4447
echo "Please install it or add '<STM32CubeProgrammer path>/bin' to your PATH environment:"

0 commit comments

Comments
 (0)