-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed incorect arguments for stlink_upload
The number of arguments being passed to the stlink_upload script on linux, linux64, macosx is one (this may have been more in the past but the with version 1.8.8) this is now only a single argument. The change changes the variable referenced in the script from $4 to $1. This change already appears to have been applied to the windows version of the script.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
$(dirname $0)/stlink/st-flash write "$4" 0x8000000 | ||
$(dirname $0)/stlink/st-flash write "$1" 0x8000000 |