Commit 9713cc4d authored by axel.maurer's avatar axel.maurer
Browse files

com parameter in miniterm

parent 2a82fe37
...@@ -16,7 +16,7 @@ goto :init ...@@ -16,7 +16,7 @@ goto :init
echo. -e, --verbose shows detailed output echo. -e, --verbose shows detailed output
echo. -d, --debug debug messages on echo. -d, --debug debug messages on
echo. -s, --secure set secure mode echo. -s, --secure set secure mode
echo. -m, --miniterm start miniterm for debug echo. -m, --miniterm "comx" start miniterm for debug with comx Device
echo. -n, --no-load do not load firmware echo. -n, --no-load do not load firmware
echo. -ek, --english_keyboard set keyboard emulation mode in reader mode to english (default is german) echo. -ek, --english_keyboard set keyboard emulation mode in reader mode to english (default is german)
echo. -r, --reader_action "action" set the reader action echo. -r, --reader_action "action" set the reader action
...@@ -83,8 +83,8 @@ goto :init ...@@ -83,8 +83,8 @@ goto :init
if /i "%~1"=="-s" set "SecureOption=yes" & shift & goto :parse if /i "%~1"=="-s" set "SecureOption=yes" & shift & goto :parse
if /i "%~1"=="--secure" set "SecureOption=yes" & shift & goto :parse if /i "%~1"=="--secure" set "SecureOption=yes" & shift & goto :parse
if /i "%~1"=="-m" set "MinitermOption=yes" & shift & goto :parse if /i "%~1"=="-m" set "MinitermOption=%~2" & shift & shift & goto :parse
if /i "%~1"=="--miniterm" set "MinitermOption=yes" & shift & goto :parse if /i "%~1"=="--miniterm" set "MinitermOption=%~2" & shift & shift & goto :parse
if /i "%~1"=="-n" set "NoloadOption=yes" & shift & goto :parse if /i "%~1"=="-n" set "NoloadOption=yes" & shift & goto :parse
if /i "%~1"=="--no-load" set "NoloadOption=yes" & shift & goto :parse if /i "%~1"=="--no-load" set "NoloadOption=yes" & shift & goto :parse
...@@ -153,7 +153,7 @@ goto :init ...@@ -153,7 +153,7 @@ goto :init
) )
if defined MinitermOption ( if defined MinitermOption (
timeout /T 2 timeout /T 2
python -m serial.tools.miniterm -e --exit-char 25 com4 python -m serial.tools.miniterm -e --exit-char 25 %MinitermOption%
) )
:end :end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment