-
-
Notifications
You must be signed in to change notification settings - Fork 6
Serial monitor max baudrate limited to 115200 (legacy IDE has 250000, 1000000, ...) #20
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
Comments
I propose the following:
Pros:
Cons:
Thoughts? |
Custom baudrate are not always supported and from the Java IDE we know that very few user needs it (well actually no one ever asked for a custom baudrate as far as I remember). IMHO it's a lot of work for very little benefit, for now I'll just add the missing "standard" baudrate and see how it goes, @kittaakos we may implement your proposal in the future if there is demand. |
I may be one of the few user that use the "extra" baudrates ;-) A mixed solution would be to add also a 'custom' baudrate in the list which would use a configurable value in the preference, or simply use an editable combobox to enter a custom value instead of a fixed list of choices. |
Just to make sure we're all on the same page: I meant a Pro IDE preference. It has nothing to do with the CLI config. |
In fact I said to add them.
Did you use a baudrate that is not already listed in the Java IDE? what's the use case? |
(I'm asking because we have a huge backlog for the pro IDE and don't want to spend time on features that are very minor improvement) |
I personnally use the standard baudrates of the Java IDE, not a custom baudrate.
|
I forgot to explain the use case: Using the 115200 baudrate with the Mega2560 was giving garbage characters to appear from time to time or wrong point on the serial plotter, furthermore it was limiting how many values I can output every milliseconds. |
I also use 250000 and now have to use the old IDE :'( |
I'd just like to use the 74880 baud setting, which is what the ESP8266 uses when booting (right before the user code starts). |
I am using ESP32s, and most modern modules including them use a CP2102N chip, which support I would very much like to use that speed whenever possible, until we get away from those USB-to-Serial crutches. Fast speed will also be beneficial for power saving, as the units can go back to sleep sooner. Arguing that people don't need this speed reminds me of Bill Gates opining that 640k RAM is all that people will ever want! |
+1 Mal |
I'd like to question the label "type: imperfection". Lack of baud rates like 74880 and the like seems like a regression to me. Actually that's the primary reason for me to switch back to the old IDE for certain projects. |
@hasselmm the "type: imperfection" label is only a general purpose way to classify issues and PRs are being related to a defect rather than an enhancement. We do not have a label for regressions. They are classified just the same as non-regressive defects. There is a "Type: Regression" label in the classic Arduino IDE repository, but I was not convinced it provided enough value in that project to be worth the extra work of determining which issues it was appropriate for. It might seem straightforward, but it often doesn't end up that way. This is actually an example of such. If this project is considered on its own (which is reasonable from a purely development standpoint due to it having a completely new code base), then the lack of these important baud rates is not a regression because the project never had them. But if you consider the context of Arduino IDE 2.x as a continuation of the Arduino IDE project, then every feature which has not yet been developed in this new code base is indeed a regression. In fact, it is often very difficult even to determine something so simple as whether a user submitted issue can be considered a defect report or a feature request (we take the shortcut here by letting them pick that label). Please note that the term "imperfection" is not a metric of the severity of the defect. We have separate labels for that purpose, which are applied by the project managers while assigning development priorities: |
Now that the "pluggable monitor" system has been implemented in Arduino IDE 2.x (arduino/arduino-ide#982), the baud rates available are now dependent on the monitor tool in use (information here): Line 63 in 679bbae
In this case, that monitor tool is the Note that there is now much closer to parity with Arduino IDE 1.x in the available baud rates. The only ones still missing are:
Probably the first is the most critical due to it being required for use with ESP8266. Reports |
74880 is still missing? Why on earth.. |
Describe the request
Compared to legacy IDE's serial monitor, it would be nice to get the "extra" baudrate like 230400, 250000, 500000, 1000000, and 2000000.
Describe the current behavior
serial-monitor does not offer the option of some useful baudrates.
Additional context
Additional requests:
The text was updated successfully, but these errors were encountered: