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

Add flash status including writing address, speed, progress and left time #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

young-mu
Copy link

@young-mu young-mu commented Nov 10, 2016

The status are shown below when flashing,

example 1.

flash start address 0x0 (0K)
ICDI version: 12245
writing: 0x5d000, speed: 9.88KB/s, progress: 100.00%, ETA: 0.00s

example 2.

flash start address 0x7D000 (500K)
ICDI version: 12245
writing: 0x88400, speed: 9.86KB/s, progress: 100.00%, ETA: 0.00s

@utzig
Copy link
Owner

utzig commented Nov 17, 2016

Please fix the indentation, you seem to be using spaces instead of tabs. Also to maintain consistency, variables should be declared at the beginning of functions (not C99).

@young-mu
Copy link
Author

OK, please check the updated codes.

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

Successfully merging this pull request may close these issues.

2 participants