[riot-notifications] [RIOT-OS/RIOT] sys: make uart_stdio RX optional (attempt #2) (#11310)
Juan I Carrano
notifications at github.com
Mon Apr 1 15:42:06 CEST 2019
If I understand this correctly, it is currently impossible to have UART RX compiled in _and_ be able to go to low power mode, right? So if the user wants to use the RX functionality, he has no way to disable it at runtime to be able to go to sleep.
I'd rather not force the user into choosing _either_ RX _or_ low power. It is better to provide a run-time toggle for the RX function, or to bypass the low power block.
>From #7947 I get that this is only a problem on chips that don't have a low power capable UART. In those chips, bypassing the mode blockage would mean that there is no input until the MCU wakes up again. In https://github.com/RIOT-OS/RIOT/issues/7947#issuecomment-342533933 you describe a possible solution which I believe is a good one.
Also, I'm trying to find where in the RIOT code is the lpm block, but I cannot. Which CPUs have this limitation?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications