[riot-notifications] [RIOT-OS/RIOT] [RFC] samd21: enable idle modes (#11072)
notifications at github.com
Wed Feb 27 10:19:48 CET 2019
Currently idle modes are disabled by default on all CPUs.
This enables all idle modes on samd21 but leaves deep sleep disabled.
On samr21-xpro this makes the current draw drop from 12mA to 8mA, UART (shell) and 802.15.4 still work as before (sending and receiving).
I would suggest to enable Idle modes except mode 0 (deep sleep) for all CPUs and fix what's broken instead of disabling pm in general, but let's start with samd21 so pm code paths are actually exercised.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* samd21: enable idle modes
-- File Changes --
M cpu/samd21/include/periph_cpu.h (7)
-- Patch Links --
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