My Marlin configs for Fabrikator Mini and CTC i3 Pro B
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.

robin.py 345B

1234567891011121314
  1. #
  2. # robin.py
  3. #
  4. # Apply customizations for a MKS Robin
  5. def prepare(address, ldname, fwname):
  6. import pioutil
  7. if pioutil.is_pio_build():
  8. import marlin
  9. def encrypt(source, target, env):
  10. marlin.encrypt_mks(source, target, env, fwname)
  11. marlin.relocate_firmware(address)
  12. marlin.custom_ld_script(ldname)
  13. marlin.add_post_action(encrypt);