🔨 Clean up build scripts (#22264)
* Add 10K to marlin_blackSTM32F407VET6 (typo?) * Document custom build scripts. * Add a Robin common build script. * Extraneous .ldscript specifiers
This commit is contained in:
committed by
Scott Lahteine
parent
e213246ab9
commit
6d191d12c9
12
buildroot/share/PlatformIO/scripts/robin.py
Normal file
12
buildroot/share/PlatformIO/scripts/robin.py
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# buildroot/share/PlatformIO/scripts/robin.py
|
||||
#
|
||||
import marlin
|
||||
|
||||
# Apply customizations for a MKS Robin
|
||||
def prepare(address, ldname, fwname):
|
||||
def encrypt(source, target, env):
|
||||
marlin.encrypt_mks(source, target, env, fwname)
|
||||
marlin.relocate_firmware(address)
|
||||
marlin.custom_ld_script(ldname)
|
||||
marlin.add_post_action(encrypt);
|
Reference in New Issue
Block a user