Skip to content

Commit 5d9bb5c

Browse files
valerosivankravets
andauthored
Allow using custom linker scripts (espressif#3735)
Co-authored-by: Ivan Kravets <me@ikravets.com>
1 parent c821531 commit 5d9bb5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: tools/platformio-build.py

+3
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@
184184
]
185185
)
186186

187+
if not env.BoardConfig().get("build.ldscript", ""):
188+
env.Replace(LDSCRIPT_PATH=env.BoardConfig().get("build.arduino.ldscript", ""))
189+
187190
#
188191
# Target: Build Core Library
189192
#

0 commit comments

Comments
 (0)