From 7a56ec614c8d2b4805b913a3b382c0a16b2105fd Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Jun 2017 21:27:38 +0300 Subject: [PATCH] =?UTF-8?q?Added=20monitor=5F*=20options=20to=20white-list?= =?UTF-8?q?=20for=20Project=20Configuration=20File=20=E2=80=9Cplatformio.i?= =?UTF-8?q?ni=E2=80=9D=20//=20Resolve=20#982?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HISTORY.rst | 2 ++ platformio/commands/run.py | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 05b6efbbdb..1e655bf0e3 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,6 +7,8 @@ PlatformIO 3.0 3.4.1 (2017-??-??) ~~~~~~~~~~~~~~~~~~ +* Added ``monitor_*`` options to white-list for `Project Configuration File "platformio.ini" `__ + (`issue #982 `_) * Use a root of library when filtering source code using `library.json `__ and ``srcFilter`` field diff --git a/platformio/commands/run.py b/platformio/commands/run.py index fdd9cefed7..4b8ef90bd8 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -137,13 +137,15 @@ class EnvironmentProcessor(object): "piotest", "test_transport", "test_ignore", "test_port", "debug_tool", "debug_port", "debug_init_cmds", "debug_extra_cmds", "debug_server", "debug_init_break", - "debug_load_cmd") + "debug_load_cmd", "monitor_port", "monitor_baud", + "monitor_rts", "monitor_dtr") IGNORE_BUILD_OPTIONS = ("test_transport", "test_filter", "test_ignore", "test_port", "debug_tool", "debug_port", "debug_init_cmds", "debug_extra_cmds", "debug_server", "debug_init_break", - "debug_load_cmd") + "debug_load_cmd", "monitor_port", "monitor_baud", + "monitor_rts", "monitor_dtr") REMAPED_OPTIONS = {"framework": "pioframework", "platform": "pioplatform"}