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 449B

12345678910111213141516
  1. #
  2. # buildroot/share/PlatformIO/scripts/custom_board.py
  3. #
  4. # - For build.address replace VECT_TAB_ADDR to relocate the firmware
  5. # - For build.ldscript use one of the linker scripts in buildroot/share/PlatformIO/ldscripts
  6. #
  7. import marlin
  8. board = marlin.env.BoardConfig()
  9. address = board.get("build.address", "")
  10. if address:
  11. marlin.relocate_firmware(address)
  12. ldscript = board.get("build.ldscript", "")
  13. if ldscript:
  14. marlin.custom_ld_script(ldscript)