[riot-notifications] [RIOT-OS/RIOT] cpu: make pm_layered a DEFAULT_MODULE (#15865)

benpicco notifications at github.com
Wed Jan 27 12:00:26 CET 2021


<!--
The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.
-->

### Contribution description

This makes `pm_layered` a `DEFAULT_MODULE` so it can be disabled.
This is useful to squeeze down the size of riotboot, which does not need pm functionality.


### Testing procedure

`riotboot` should still work.
In fact, also normal applications should still work. I tested this with `examples/default` and it will operate just normal, albeit consuming more power as it's now busy looping instead of idling when no thread is scheduled.

### Issues/PRs references

split off #15493

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * cpu: make pm_layered a DEFAULT_MODULE
  * riotboot: disable pm_layered

-- File Changes --

    M bootloaders/riotboot/Makefile (1)
    M cpu/cc2538/Makefile.dep (2)
    M cpu/efm32/Makefile.dep (2)
    M cpu/esp32/Makefile.dep (3)
    M cpu/kinetis/Makefile.dep (2)
    M cpu/lpc1768/Makefile.dep (2)
    M cpu/lpc23xx/Makefile.dep (2)
    M cpu/sam0_common/Makefile.dep (2)
    M cpu/stm32/Makefile.dep (2)
    M sys/include/pm_layered.h (8)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15865.patch
https://github.com/RIOT-OS/RIOT/pull/15865.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/15865
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210127/90084b71/attachment.htm>


More information about the notifications mailing list