Closed prchal closed 1 year ago
Hi @prchal, I know you proposed this a long time ago, sorry about that. I don't see those rates being "standard" baud rates? At least not for 3D printers? What is your use case such that do need these rates? It would appear 460,800 or 576,000 and 921,600 are more common than exactly 500,000 and 1,000,000?
I also do not like this very well as baud rate should follow 2n bit scheme for summarized bits, but unfortunately the Marlin folks broke with this kind of conventions ... https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/Marlin/Configuration.h#L112
Because AVR can't generate such high 2^n bauds from 16MHz clock.
On 27. 03. 23 13:03, DivingDuck wrote:
I also do not like this very well as baud rate should follow 2^n bit scheme for summarized bits, but unfortunately the Marlin folks broke with this kind of conventions ... https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/Marlin/Configuration.h#L112 https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/Marlin/Configuration.h#L112
I agree with @prchal here - some firmwares use these baud rates for technical reasons, and whether we like it or not it's a reality and something some users need.
the Marlin folks broke with this kind of conventions ... https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/Marlin/Configuration.h#L112
Oh, well spotted. Merging then.
Add some more fast baud rates.