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.

upload_extra_script.py 313B

123456789101112131415161718
  1. #
  2. # Set upload_command
  3. #
  4. # Windows: bossac.exe
  5. # Other: leave unchanged
  6. #
  7. import platform
  8. current_OS = platform.system()
  9. if current_OS == 'Windows':
  10. Import("env")
  11. # Use bossac.exe on Windows
  12. env.Replace(
  13. UPLOADCMD="bossac --info --unlock --write --verify --reset --erase -U false --boot $SOURCE"
  14. )