-
Notifications
You must be signed in to change notification settings - Fork 123
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
Provide user config value "default_baudrate" (acc. discussion #1589) #1590
Conversation
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
Thanks for the PR! What happens if both a programmer default baudrate is set and the newly introduced one? And, more importantly, what should happen , ie, which one should prevail? In any case |
If both values are defined in ~/.avrduderc, then the global |
Thinking a bit more about that, if you have a programmer with a fixed hard-coded baudrate and a different favourite baudrate otherwise, would it not make more sense to only use the global |
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
Ok, changed the hierarchy:
EDIT:
Maybe the best idea would be to drop the PR, no need for the parameter Two steps forward and one step back - I can provide a new PR that displays baudrate != 0 && pgm->baudrate !=0 && baudrate != pgm->baudrate What's your opinion? |
I like this PR. It is an awful lot of work to add 140 private programmers just to express a default baud rate. The only thing missing is the documentation that And yes, displaying |
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
Ok, it's complete for my understanding - please have a look.
X, Y, Z are three different baud rate values
|
Table looks great. Would be wonderful if there was some independent testing whether the implementation follows suit. Thanks @Ho-Ro |
I should be able to give this PR some simple tests over the weekend when I have access to my HW. |
Hmm, I need to use another programmer to test this feature. I will carry out the test tomorrow using other programmers.
|
Your observation is completely correct. |
This PR should be okay as I can see that
|
Testing again with git main and serialupdi, and it is working fine.
|
No description provided.