[riot-notifications] [RIOT-OS/RIOT] tests/periph_pm: make usage more intuitive and move shell commands to sys/ (#11731)
notifications at github.com
Tue Jul 30 22:08:00 CEST 2019
> We should think about how this behaves if we have a low-power uart on a board that can wakeup the system
In that case `pm show` will show the blocker for that and you can verify the expected behavior by manually unblocking it and observing that uart rx stops working. Also depending on the uart driver it may be possible that you can type a character at just the right time (while `pm_blocker` is being read) to see a blocker that is only active during frame reception.
Also if the `uart_write()` implementation is nonblocking, it's possible for `pm_blocker` to be sampled while the uart is actively transmitting or a DMA transfer is in progress and then those blockers will be shown. I don't think there are any uart drivers like that in master yet, but I've observed this case in a local branch with DMA buffered transmit and it works as expected.
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