mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Add new options `--monitor-rts
and
--monitor-dtr
to
pio test` command
This commit is contained in:
@ -19,7 +19,8 @@ PlatformIO 3.0
|
||||
* Show detailed info about a library using `pio lib show <http://docs.platformio.org/page/userguide/lib/cmd_show.html>`__
|
||||
command
|
||||
(`issue #430 <https://github.com/platformio/platformio-core/issues/430>`_)
|
||||
* Added new option ``--no-reset`` to `pio test <http://docs.platformio.org/en/latest/userguide/cmd_test.html>`__
|
||||
* Added new options ``--no-reset``, ``--monitor-rts`` and ``--monitor-dtr``
|
||||
to `pio test <http://docs.platformio.org/en/latest/userguide/cmd_test.html>`__
|
||||
command (allows to avoid automatic board's auto-reset when gathering test results)
|
||||
* Added support for templated methods in ``*.ino to *.cpp`` converter
|
||||
(`pull #858 <https://github.com/platformio/platformio-core/pull/858>`_)
|
||||
|
2
docs
2
docs
Submodule docs updated: 80a1f6f621...b1a46aaca7
2
examples
2
examples
Submodule examples updated: 463f855761...e6e0c19bd1
@ -14,7 +14,7 @@
|
||||
|
||||
import sys
|
||||
|
||||
VERSION = (3, 3, "0a5")
|
||||
VERSION = (3, 3, "0a6")
|
||||
__version__ = ".".join([str(s) for s in VERSION])
|
||||
|
||||
__title__ = "platformio"
|
||||
|
@ -61,12 +61,12 @@ def device_list(json_output):
|
||||
@click.option(
|
||||
"--rts",
|
||||
default=None,
|
||||
type=click.Choice(["0", "1"]),
|
||||
type=click.IntRange(0, 1),
|
||||
help="Set initial RTS line state")
|
||||
@click.option(
|
||||
"--dtr",
|
||||
default=None,
|
||||
type=click.Choice(["0", "1"]),
|
||||
type=click.IntRange(0, 1),
|
||||
help="Set initial DTR line state")
|
||||
@click.option("--echo", is_flag=True, help="Enable local echo, default=Off")
|
||||
@click.option(
|
||||
|
@ -147,12 +147,12 @@ def device_list(json_output):
|
||||
@click.option(
|
||||
"--rts",
|
||||
default=None,
|
||||
type=click.Choice(["0", "1"]),
|
||||
type=click.IntRange(0, 1),
|
||||
help="Set initial RTS line state")
|
||||
@click.option(
|
||||
"--dtr",
|
||||
default=None,
|
||||
type=click.Choice(["0", "1"]),
|
||||
type=click.IntRange(0, 1),
|
||||
help="Set initial DTR line state")
|
||||
@click.option("--echo", is_flag=True, help="Enable local echo, default=Off")
|
||||
@click.option(
|
||||
|
@ -37,7 +37,20 @@ from platformio.pioplus import pioplus_call
|
||||
resolve_path=True))
|
||||
@click.option("--without-building", is_flag=True)
|
||||
@click.option("--without-uploading", is_flag=True)
|
||||
@click.option("--no-reset", is_flag=True)
|
||||
@click.option(
|
||||
"--no-reset",
|
||||
is_flag=True,
|
||||
help="Disable software reset via Serial.DTR/RST")
|
||||
@click.option(
|
||||
"--monitor-rts",
|
||||
default=None,
|
||||
type=click.IntRange(0, 1),
|
||||
help="Set initial RTS line state for Serial Monitor")
|
||||
@click.option(
|
||||
"--monitor-dtr",
|
||||
default=None,
|
||||
type=click.IntRange(0, 1),
|
||||
help="Set initial DTR line state for Serial Monitor")
|
||||
@click.option("--verbose", "-v", is_flag=True)
|
||||
def cli(*args, **kwargs): # pylint: disable=unused-argument
|
||||
pioplus_call(sys.argv[1:])
|
||||
|
@ -27,7 +27,7 @@ PACKAGE_DEPS = {
|
||||
},
|
||||
"tool": {
|
||||
"name": "tool-pioplus",
|
||||
"requirements": ">=0.6.9,<2"
|
||||
"requirements": ">=0.6.10,<2"
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user