-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys: Revert #11310 (make stdio_rx optional) #11594
Conversation
…ional" This change was breaking (dependencies for) ethos, and other serial users, as well as an unknown number of external apps (API change.). See RIOT-OS#11525 for more details. Fixes RIOT-OS#11525.
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.
Looked over the revert, it looks accurate. I was able to find the error in master when testing on the nucleo-f091rc. I think we should revert until a better solution is provided! ACK.
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.
Why not use the proposed "keep change but restore original behaviour" by making stdio_uart_rx a default module?
I'm against this because of low power on STM32, which I think is more important than having getchar working alone (e.g. without the shell) in a couple of tests. |
I think it was just nobody did that. I would also like @aabadie opinion since he seemed to really like the rx being disabled. |
As I said in the original issue, I think having getchar working can be easily achieved by pulling a dedicated in an application requiring it. This is the usual RIOT way: only pull what's necessary. |
Ok as it stands it breaks certain things... Aside from reverting how should we fix this? |
I insist: if people want to have uart-rx disabled so they can have low power then OK. The issue here is having a tidy solution but also not keeping #11525 until such solution is found. By reverting #11310 we can have the time give a nice answer to this UART vs PM issue without the pressure of having things broken and an upcoming release. |
IMHO the "broken things" are a corner case and very minor compared to having low-power working correctly (and easily). |
Note that other solutions were already proposed but didn't get that much comments. |
If a pull request breaks 2 applications in RIOT makes 5 applications inconsistently configured, and 2 documentations wrong, it is a problem. Two weeks ago, the problem was issued and no reaction or fix or pull request proposal was done.
These should have been in the first pull request, or answered by people interested in the change. |
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.
ACK nobody proposed a fix pull request for the 7 application and 2 documentation break.
The pull request can be re-issued in a working state.
#11598 is proposing the fix I had in mind. I hope it'll make everyone happy :) |
#11598 does it now. And to help making the fix more accurate, it would be great to precisely list those applications, what's broken, and those 2 documentation misses. I could only find 3 applications related using |
This breaks boards using |
Contribution description
This change was breaking (dependencies for) ethos, and other serial users, as well as an unknown number of external apps (API change.).
See #11525 for more details.
The reverted PR's functionality can be reintroduced once issues have been addressed. In other words, this revert is not to contest the feature itself, but its current embodiment.
Testing procedure
(taken from #11525)
run:
After the revert the test works again (i.e. it waits for input before initiating)
Issues/PRs references
Fixes #11525.