Ryan
5 years ago
committed by
GitHub
3 changed files with 20 additions and 4 deletions
@ -0,0 +1,18 @@ |
|||
# |
|||
# 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" |
|||
) |
Loading…
Reference in new issue