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.

custom_board.py 285B

12345678910111213
  1. #
  2. # buildroot/share/PlatformIO/scripts/custom_board.py
  3. #
  4. import marlin
  5. board = marlin.env.BoardConfig()
  6. address = board.get("build.address", "")
  7. if address:
  8. marlin.relocate_firmware(address)
  9. ldscript = board.get("build.ldscript", "")
  10. if ldscript:
  11. marlin.custom_ld_script(ldscript)