Lab_interaccio/2021/Marlin-2.0.9.1 - MEGA/buildroot/share/PlatformIO/scripts/robin.py

13 lines
329 B
Python
Raw Permalink Normal View History

2025-02-25 21:29:42 +01:00
#
# 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);