You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
329 B
13 lines
329 B
3 years ago
|
#
|
||
|
# 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);
|