Merge pull request #58 from LinuxJedi/flash-detection-fix

Fix CPLD detection sometimes failing
This commit is contained in:
beeanyew
2021-07-03 09:51:51 +02:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
#!/bin/bash
set -o pipefail
if pgrep -x "emulator" > /dev/null
then
echo "PiStorm emulator is running, please stop it first"
exit 1
fi
if ! command -v openocd &> /dev/null
then
echo "openocd is not installed, please run \"sudo apt install openocd\""

View File

@@ -1,5 +1,10 @@
#!/bin/bash
set -o pipefail
if pgrep -x "emulator" > /dev/null
then
echo "PiStorm emulator is running, please stop it first"
exit 1
fi
if ! command -v openocd &> /dev/null
then
echo "openocd is not installed, please run \"sudo apt install openocd\""