Tool that opens a comport for every mbed connected to your computer with one command - never look for the COM number again!
- clone or download the repo to your windows PC
- open a cmd prompt and change the directory to location of the files downloaded
- run open_mbed
- enjoy
Diff: open_mbed.bat
- Revision:
- 2:736ec17a4e05
- Parent:
- 1:1483315a15a6
--- a/open_mbed.bat Thu Jul 17 17:35:16 2014 -0500 +++ b/open_mbed.bat Sat Jul 19 15:51:45 2014 -0500 @@ -7,8 +7,8 @@ friendly_port "mbed Serial Port" set result=%ERRORLEVEL% if %result% EQU -1 ( - echo %result% - echo mbed done + ::echo %result% + echo mbed scan done goto st ) else ( goto openputty @@ -20,8 +20,8 @@ friendly_port "STMicroelectronics STLink Virtual COM Port" set result=%ERRORLEVEL% if %result% EQU -1 ( - echo %result% - echo st done + ::echo %result% + echo st scan done goto fsl ) else ( goto openputty @@ -33,16 +33,16 @@ friendly_port "OpenSDA - CDC Serial Port" set result=%ERRORLEVEL% if %result% EQU -1 ( - echo %result% - echo fsl done + ::echo %result% + echo freescale scan done goto exit ) else ( goto openputty ) :openputty -timeout /t 1 start /D %CD% putty.exe -serial com%result% -sercfg 9600 +timeout /t 1 > NUL goto %func% :notfound