Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mbed.bat
- Revision:
- 6:f3529afba368
- Parent:
- 5:ace99c9d0e4e
- Child:
- 7:b567983e76f4
diff -r ace99c9d0e4e -r f3529afba368 mbed.bat
--- a/mbed.bat	Sun Aug 16 10:08:01 2020 +0000
+++ b/mbed.bat	Sun Aug 23 19:48:40 2020 +0000
@@ -9,9 +9,6 @@
 PROJ_NAME=${PWD##*/}
 PORT=/dev/ttyACM0
 
-#MCU="$1"
-#shift # past argument
-
 MACROS=()
 SRC_LIB_PATH=()
 while [[ $# -gt 0 ]]
@@ -19,11 +16,7 @@
 key="$1"
 
 case $key in
-    all)
-    FLASH='-f'
-    shift # past argument
-    ;;
-    -f)
+    all|-f)
     FLASH='-f'
     shift # past argument
     ;;
@@ -147,5 +140,3 @@
   		echo "Done"
   	fi
 fi
-
-