Skip to content

Commit

Permalink
Added monitor_* options to white-list for Project Configuration File …
Browse files Browse the repository at this point in the history
…“platformio.ini” // Resolve #982
  • Loading branch information
ivankravets committed Jun 29, 2017
1 parent 7d27288 commit 7a56ec6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ PlatformIO 3.0
3.4.1 (2017-??-??)
~~~~~~~~~~~~~~~~~~

* Added ``monitor_*`` options to white-list for `Project Configuration File "platformio.ini" <http://docs.platformio.org/page/projectconf.html>`__
(`issue #982 <https://github.com/platformio/platformio-core/issues/982>`_)
* Use a root of library when filtering source code using
`library.json <http://docs.platformio.org/page/librarymanager/config.html>`__
and ``srcFilter`` field
Expand Down
6 changes: 4 additions & 2 deletions platformio/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down

0 comments on commit 7a56ec6

Please sign in to comment.