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

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