Add support for local "--echo" for Serial Port Monitor // Resolve #733

This commit is contained in:
Ivan Kravets
2016-07-28 23:08:42 +03:00
parent 5c53b93a49
commit e821a438fe
4 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,8 @@ PlatformIO 2.0
(HID, SERIAL_HID, DISK, DISK_SDFLASH, MIDI, etc.)
(`issue #722 <https://github.com/platformio/platformio/issues/722>`_)
* Switched to built-in GCC LwIP library for Espressif development platform
* Added support for local ``--echo`` for Serial Port Monitor
(`issue #733 <https://github.com/platformio/platformio/issues/733>`_)
* Fixed Project Generator for ESP8266 and ARM mbed based projects
(resolves incorrect linter errors)
* Fixed broken LD Script for Element14 chipKIT Pi board

View File

@ -207,14 +207,11 @@ default ``20`` (DEC)
Diagnostics: suppress non-error messages, default ``Off``
.. option::
--echo
Enable local echo, default ``Off``
**REMOVED**: Is not available in Miniterm/PySerial 3.0
.. option::
--cr

View File

@ -14,7 +14,7 @@
import sys
VERSION = (2, 11, "2.dev2")
VERSION = (2, 11, "2.dev3")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@ -61,6 +61,8 @@ if int(PYSERIAL_VERSION[0]) == 3:
help="Set initial RTS line state")
@click.option("--dtr", default=None, type=click.Choice(["0", "1"]),
help="Set initial DTR line state")
@click.option("--echo", is_flag=True,
help="Enable local echo, default=Off")
@click.option("--encoding", default="UTF-8",
help="Set the encoding for the serial port (e.g. hexlify, "
"Latin1, UTF-8), default: UTF-8")