mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 10:37:13 +02:00
Fixed an issue with linking process when `$LDSCRIPT
` contains a space in path
This commit is contained in:
@@ -25,6 +25,7 @@ PlatformIO Core 4.0
|
|||||||
* Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__
|
* Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__
|
||||||
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` (`issue #3034 <https://github.com/platformio/platformio-core/issues/3034>`_)
|
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` (`issue #3034 <https://github.com/platformio/platformio-core/issues/3034>`_)
|
||||||
* Fixed an issue when installing a package using custom Git tag and submodules were not updated correctly (`issue #3060 <https://github.com/platformio/platformio-core/issues/3060>`_)
|
* Fixed an issue when installing a package using custom Git tag and submodules were not updated correctly (`issue #3060 <https://github.com/platformio/platformio-core/issues/3060>`_)
|
||||||
|
* Fixed an issue with linking process when ``$LDSCRIPT`` contains a space in path
|
||||||
|
|
||||||
4.0.3 (2019-08-30)
|
4.0.3 (2019-08-30)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@@ -130,7 +130,7 @@ def BuildProgram(env):
|
|||||||
|
|
||||||
# append into the beginning a main LD script
|
# append into the beginning a main LD script
|
||||||
if env.get("LDSCRIPT_PATH") and not any("-Wl,-T" in f for f in env["LINKFLAGS"]):
|
if env.get("LDSCRIPT_PATH") and not any("-Wl,-T" in f for f in env["LINKFLAGS"]):
|
||||||
env.Prepend(LINKFLAGS=["-T", "$LDSCRIPT_PATH"])
|
env.Prepend(LINKFLAGS=["-T", env["LDSCRIPT_PATH"]])
|
||||||
|
|
||||||
# enable "cyclic reference" for linker
|
# enable "cyclic reference" for linker
|
||||||
if env.get("LIBS") and env.GetCompilerType() == "gcc":
|
if env.get("LIBS") and env.GetCompilerType() == "gcc":
|
||||||
|
@@ -37,6 +37,7 @@ class StrictListField(fields.List):
|
|||||||
try:
|
try:
|
||||||
return super(StrictListField, self)._deserialize(value, attr, data)
|
return super(StrictListField, self)._deserialize(value, attr, data)
|
||||||
except ValidationError as exc:
|
except ValidationError as exc:
|
||||||
|
if exc.data:
|
||||||
exc.data = [item for item in exc.data if item is not None]
|
exc.data = [item for item in exc.data if item is not None]
|
||||||
raise exc
|
raise exc
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user