From 35a78699b9e6917a2fa5380090c71a2ef0a7ab0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Thu, 22 Nov 2018 21:32:31 +0100 Subject: [PATCH] Option to provide path to ELF file in debug utility --- code/debug.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/debug.sh b/code/debug.sh index c9b28ed4..18f45cc9 100755 --- a/code/debug.sh +++ b/code/debug.sh @@ -49,10 +49,8 @@ done # check environment folder if [ ! -f $ELF ]; then -if [ $ENVIRONMENT == "" ]; then ELF=.pioenvs/$ENVIRONMENT/firmware.elf fi -fi if [ ! -f $ELF ]; then echo "Could not find ELF file for the selected environment: $ELF" exit 2