Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions linux/stm32CubeProg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ check_tool() {
if ! command -v $STM32CP_CLI > /dev/null 2>&1; then
export PATH="$HOME/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin":$PATH
fi
if ! command -v $STM32CP_CLI > /dev/null 2>&1; then
export PATH="/opt/stm32cubeprog/bin":$PATH
fi
if ! command -v $STM32CP_CLI > /dev/null 2>&1; then
echo "$STM32CP_CLI not found."
echo "Please install it or add '<STM32CubeProgrammer path>/bin' to your PATH environment:"
Expand Down