-
Notifications
You must be signed in to change notification settings - Fork 2
Bugfixes and new feature #1
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
base: master
Are you sure you want to change the base?
Conversation
romansavrulin
commented
Jun 30, 2016
- adds port flush after bootloader enter sequence. Dramatically increases reliability if you use device with power control / boot signal on dtr/rts.
- Enables extra bootloader enter/leave sequence delimiters, which allow to switch signal with no delay or with custom delay (100ms step)
- fixes return codes for memory protection/unprotection operations (vital for automated flashing)
- allows to use high-speeds for UART in linux. Tested at 921600 baud rate on 20k device batch.
segfault fix when port not found
To conform official wiki page
|
(I cannot find a way to comment on individual patches or hunks) |
|
Version bump we'll do when we are ready to release. |
|
It is set either by default (if option is not provided), or you can use custom via define |
You can go to "changes" and simply click on line to add comment |
| PREFIX = /usr/local | ||
| CFLAGS += -Wall -g | ||
| CFLAGS += -Wall -g -DB460800 -DB921600 -DTERMIOS_TIMEOUT_MS=500 | ||
|
|
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.
This seems superfluous since it will be defined in serial_posix.c anyway.
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.
I agree, this was left here after our experiments. I'll remove it.
What about speed opts? Is it needed to have those defines in code and here? Why not enable it by default? Driver won't let you set unsupported speed.
|
hey guys, this is just a mirror we use to not rely on sourceforge when building our software, we are not representing stm32flash. |
|
@wesen , thank you, I know. But @tormodvolden is an maintainer from sourceforge mirror, so I've invited him to review this. If we are lucky enough, stm32flash can go back to github someday to get more active community support and advanced github features =) |
