[riot-notifications] [RIOT-OS/RIOT] sys: make uart_stdio RX optional (attempt #2) (#11310)
Juan I Carrano
notifications at github.com
Mon Apr 1 16:07:09 CEST 2019
> On stm32, [...]
I'm not familiar with STM32, but googling around seems to indicate that it has the ability to be woken up from the UART. If that is the case then it is something that should be addressed by the periph implementation.
> LPM is blocked such that RX still works.
Ok, but what happens if the block is ignored and the device sleeps? Does anything break? Will the RX work after it wakes up again?
If it is OK for a certain application to not have RX, then it does not matter if the answer is yer or no, and ignoring the blockage is enough to fix the issue (or, rather, work around the lack of low power uart in stm32).
If the answer is "yes" (meaning after wake up the RX is still working) then ignoring the blockage, in combination with something like what @vincent-d proposes in https://github.com/RIOT-OS/RIOT/issues/7947#issuecomment-342533933 is good too.
In both cases, _removing_ RX is a bit of an extreme measure.
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