monitor does not apply serial port configuration change like baudrate #1562
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Bug Report
Current behavior
With the new 0.20.0 version, the
monitor
has been added but the configuration changes are not applied.For example, changing the baudrate to 115200 is not applied with this command:
The configuration is recognized because the following output is given:
And the output of the serial port is not readable, showing not printable characters because of the bad baudrate settings.
Expected behavior
I would expect to see the strings printed by my Arduino board at 115200 bauds.
Environment
arduino-cli version
):arduino-cli Version: 0.20.0 Commit: 553c6375 Date: 2021-11-23T14:35:08Z
and git master version:arduino-cli Version: git-snapshot Commit: c756a0f1 Date: 2021-11-23T17:20:00Z
Additional context
After ading some logs from the source code, I did not found anywhere where the serial port config where sent to the
serial-monitor
program.Adding this quick and dirty patch fixed the issue:
The text was updated successfully, but these errors were encountered: