[riot-notifications] [RIOT-OS/RIOT] [RFC] samd21: enable idle modes (#11072)

benpicco 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:

  https://github.com/RIOT-OS/RIOT/pull/11072

-- Commit Summary --

  * samd21: enable idle modes

-- File Changes --

    M cpu/samd21/include/periph_cpu.h (7)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11072.patch
https://github.com/RIOT-OS/RIOT/pull/11072.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11072
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190227/c3f5636b/attachment.html>


More information about the notifications mailing list