From 29064b6c63962a01d3f38aa07184bca39422bebd Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 May 2018 18:53:16 -0700 Subject: [PATCH] Rename "monitor_baud" option to "monitor_speed" --- HISTORY.rst | 1 + docs | 2 +- platformio/commands/run.py | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 47d29c4d..f6c48fdd 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -19,6 +19,7 @@ PlatformIO 3.0 which will be used by `PlatformIO Home `_ * Updated Unity tool to 2.4.3 * Improved support for Black Magic Probe in "uploader" mode +* Renamed "monitor_baud" option to "monitor_speed" * Fixed issue when a custom `lib_dir `__ was not handled correctly (`issue #1473 `_) * Fixed issue with useless project rebuilding for case insensitive file diff --git a/docs b/docs index a8f041bd..b7168a2b 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit a8f041bd3daebc22f51dfea9ccd358130fd85e7a +Subproject commit b7168a2b1af5f6a08d20592d1cda727f6a379469 diff --git a/platformio/commands/run.py b/platformio/commands/run.py index e0fe7707..209e2ca0 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -144,14 +144,14 @@ class EnvironmentProcessor(object): "debug_init_cmds", "debug_extra_cmds", "debug_server", "debug_init_break", "debug_load_cmd", "debug_load_mode", "debug_svd_path", "monitor_port", - "monitor_baud", "monitor_rts", "monitor_dtr") + "monitor_speed", "monitor_rts", "monitor_dtr") IGNORE_BUILD_OPTIONS = ("test_transport", "test_filter", "test_ignore", "test_port", "test_speed", "debug_port", "debug_init_cmds", "debug_extra_cmds", "debug_server", "debug_init_break", "debug_load_cmd", "debug_load_mode", - "monitor_port", "monitor_baud", "monitor_rts", + "monitor_port", "monitor_speed", "monitor_rts", "monitor_dtr") REMAPED_OPTIONS = {"framework": "pioframework", "platform": "pioplatform"} @@ -159,7 +159,8 @@ class EnvironmentProcessor(object): RENAMED_OPTIONS = { "lib_use": "lib_deps", "lib_force": "lib_deps", - "extra_script": "extra_scripts" + "extra_script": "extra_scripts", + "monitor_baud": "monitor_speed" } RENAMED_PLATFORMS = {"espressif": "espressif8266"}