Skip to content

Commit

Permalink
Allow using custom linker scripts (#3735)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Kravets <[email protected]>
  • Loading branch information
valeros and ivankravets authored May 4, 2020
1 parent c821531 commit 5d9bb5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/platformio-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@
]
)

if not env.BoardConfig().get("build.ldscript", ""):
env.Replace(LDSCRIPT_PATH=env.BoardConfig().get("build.arduino.ldscript", ""))

#
# Target: Build Core Library
#
Expand Down

0 comments on commit 5d9bb5c

Please sign in to comment.