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"}