0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-20 16:31:45 +00:00
MarlinFirmware/Marlin/src/HAL/DUE/upload_extra_script.py
2020-10-16 16:39:53 -05:00

18 lines
313 B
Python

#
# Set upload_command
#
# Windows: bossac.exe
# Other: leave unchanged
#
import platform
current_OS = platform.system()
if current_OS == 'Windows':
Import("env")
# Use bossac.exe on Windows
env.Replace(
UPLOADCMD="bossac --info --unlock --write --verify --reset --erase -U false --boot $SOURCE"
)