forked from platformio/platformio-core
Added support for accepting the original FileNode environment in a “callback” function when using Build Middlewares // Resolve #4380
This commit is contained in:
@ -16,6 +16,7 @@ PlatformIO Core 6
|
|||||||
6.1.4 (2022-??-??)
|
6.1.4 (2022-??-??)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Added support for accepting the original FileNode environment in a "callback" function when using `Build Middlewares <https://docs.platformio.org/en/latest/scripting/middlewares.html>`__ (`pull #4380 <https://github.com/platformio/platformio-core/pull/4380>`_)
|
||||||
* Improved device port finder when using dual channel UART converter (`issue #4367 <https://github.com/platformio/platformio-core/issues/4367>`_)
|
* Improved device port finder when using dual channel UART converter (`issue #4367 <https://github.com/platformio/platformio-core/issues/4367>`_)
|
||||||
* Improved project dependency resolving when using the `pio project init --ide <https://docs.platformio.org/en/latest/core/userguide/project/cmd_init.html>`__ command
|
* Improved project dependency resolving when using the `pio project init --ide <https://docs.platformio.org/en/latest/core/userguide/project/cmd_init.html>`__ command
|
||||||
* Upgraded build engine to the SCons 4.4.0 (`release notes <https://github.com/SCons/scons/releases/tag/4.4.0>`__)
|
* Upgraded build engine to the SCons 4.4.0 (`release notes <https://github.com/SCons/scons/releases/tag/4.4.0>`__)
|
||||||
|
2
docs
2
docs
Submodule docs updated: 2175b369e2...f79c01f6f3
@ -296,6 +296,8 @@ def CollectBuildFiles(
|
|||||||
new_node = callback(env, new_node)
|
new_node = callback(env, new_node)
|
||||||
else:
|
else:
|
||||||
new_node = callback(new_node)
|
new_node = callback(new_node)
|
||||||
|
if not new_node:
|
||||||
|
break
|
||||||
if new_node:
|
if new_node:
|
||||||
new_sources.append(new_node)
|
new_sources.append(new_node)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user