diff --git a/HISTORY.rst b/HISTORY.rst index 472d1b20..08d519a1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -52,7 +52,7 @@ Please check `Migration guide from 5.x to 6.0 `__ option (`issue #2891 `_) - Provide more information when the native program crashed on a host (errored with a negative return code) (`issue #3429 `_) - Fixed an issue when command line parameters (``--ignore``, ``--filter``) do not override values defined in the |PIOCONF| (`issue #3845 `_) - - Renamed the "test_build_project_src" project configuration option to `test_build_src `__ + - Renamed the "test_build_project_src" project configuration option to the `test_build_src `__ - Removed the "test_transport" option in favor of the `Custom "unity_config.h" `_ * **Static Code Analysis** @@ -82,6 +82,8 @@ Please check `Migration guide from 5.x to 6.0 `__ with ``${this}`` pattern (`issue #3953 `_) - Embed environment name of the current section in the |PIOCONF| using ``${this.__env__}`` pattern + - Renamed the "src_build_flags" project configuration option to the `build_src_flags `__ + - Renamed the "src_filter" project configuration option to the `build_src_filter `__ * **Miscellaneous** diff --git a/docs b/docs index 37f04cb5..39112eef 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 37f04cb5e6e57f64174d0dc5c7435c6581f1a3ce +Subproject commit 39112eefaadde9ab8e997ee485ff52a1f4bc9071 diff --git a/platformio/project/options.py b/platformio/project/options.py index a82e5459..57fdddd4 100644 --- a/platformio/project/options.py +++ b/platformio/project/options.py @@ -419,13 +419,14 @@ ProjectOptions = OrderedDict( ), ConfigEnvOption( group="build", - name="src_build_flags", + name="build_src_flags", + oldnames=["src_build_flags"], description=( "The same as `build_flags` but configures flags the only for " - "project source files (`src` folder)" + "project source files in the `src` folder" ), multiple=True, - sysenvvar="PLATFORMIO_SRC_BUILD_FLAGS", + sysenvvar="PLATFORMIO_BUILD_SRC_FLAGS", buildenvvar="SRC_BUILD_FLAGS", ), ConfigEnvOption( @@ -438,13 +439,14 @@ ProjectOptions = OrderedDict( ), ConfigEnvOption( group="build", - name="src_filter", + name="build_src_filter", + oldnames=["src_filter"], description=( - "Control which source files should be included/excluded from a " - "build process" + "Control which source files from the `src` folder should " + "be included/excluded from a build process" ), multiple=True, - sysenvvar="PLATFORMIO_SRC_FILTER", + sysenvvar="PLATFORMIO_BUILD_SRC_FILTER", buildenvvar="SRC_FILTER", default="+<*> -<.git/> -<.svn/>", ),