first commit
This commit is contained in:
commit
8c39952965
1956 changed files with 1460685 additions and 0 deletions
13
buildroot/share/PlatformIO/scripts/custom_board.py
Normal file
13
buildroot/share/PlatformIO/scripts/custom_board.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# buildroot/share/PlatformIO/scripts/custom_board.py
|
||||
#
|
||||
import marlin
|
||||
board = marlin.env.BoardConfig()
|
||||
|
||||
address = board.get("build.address", "")
|
||||
if address:
|
||||
marlin.relocate_firmware(address)
|
||||
|
||||
ldscript = board.get("build.ldscript", "")
|
||||
if ldscript:
|
||||
marlin.custom_ld_script(ldscript)
|
Loading…
Add table
Add a link
Reference in a new issue