-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Archim: PIO upload on Windows, Arduino IDE LCD (#17405)
Co-authored-by: Scott Lahteine <[email protected]>
- Loading branch information
1 parent
e490339
commit a97ae51
Showing
3 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a97ae51
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bossac exist for linux (the package is called bossa)
https://repology.org/project/bossa/versions
a97ae51
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sounds like you might know the exact changes that are needed to the python script.
a97ae51
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but i dont have a DUE_achim board for test :(