Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the parameters using https://github.com/likle/cargs #11

Closed
bvernoux opened this issue Sep 10, 2022 · 0 comments
Closed
Milestone

Comments

@bvernoux
Copy link
Member

Refactor the parameters using https://github.com/likle/cargs (like done in https://github.com/hydrausb3/hydrausb3_host)

@bvernoux bvernoux added this to the v0.3 milestone Oct 29, 2023
bvernoux added a commit that referenced this issue Oct 31, 2023
- Replace arg.h by cargs (see submodule cargs) fix issue #11 "Refactor the parameters using https://github.com/likle/cargs"
- Flash size is automatically set to correct flash size (flash32k/flash64k/flash96k)
- New arguments/options

Usage: wch-ch56x-isp [OPTION]...
  -V, --Version             Print version
  -h, --help                Show help
  -c, --config              Print CH569 config(after isp_init and before isp_fini)
  -p, --progress            Display progress
  -v, --verify              Do verify after erase/program
  -r, --reset               Reset MCU at end
  -d, --mcudebug=VALUE      Set MCU debug mode on or off
  -f, --flashfile=VALUE     Flash file (binary file *.bin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant