-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from arcayi/gd32e23x-support
Gd32e23x ADC + GD32_ISP_CLI support
- Loading branch information
Showing
8 changed files
with
51 additions
and
29 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.vscode | ||
.dir-locals.el | ||
TAGS | ||
*.bak | ||
package_gd32_arcayi_index.json |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,20 @@ | ||
rem @echo off | ||
rem: Note %~dp0 get path of this batch file | ||
rem: Need to change drive if My Documents is on a drive other than C: | ||
set scriptPath=%~dp0 | ||
set driverLetter=%scriptPath:~0,2% | ||
set scriptPath=%scriptPath:/=\% | ||
|
||
rem %driverLetter% | ||
rem cd %~dp0 | ||
|
||
rem: ------------- use GD's own uploader | ||
rem: ---- Need to remove the COM bit from the comm port as the GD prog just wants the number | ||
set commport=%1 | ||
set commportnum=%commport:COM=% | ||
|
||
rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name | ||
set strBinFile=%4 | ||
set strBinFile=%strBinFile:/=\% | ||
|
||
%scriptPath%\GD32_ISP_CLI.exe -c --pn %commportnum% --br 57600 --to 1000 -e --all -d --a 8000000 --fn %strBinFile% --v -r --a 8000000 |