[riot-notifications] [RIOT-OS/RIOT] Power Management: Proposal for an implementation that uses separate modules (#7597)

Robert Hartung notifications at github.com
Thu Sep 14 17:11:42 CEST 2017


@kaspar030 Okay, had a little typo :/

 Only problem now is that I have to add `USEMODULE += pm_fallback` to be able to do the following:
```
USEMODULE += pm_fallback_off
USEMODULE += pm_fallback_set_lowest
USEMODULE += pm_fallback_reboot
```

Is there a smarter way to tell the build system that it should include it automatically? How do we do it if we mix it up. I would like to have it like this:

```
USEMODULE += pm_fallback_set_lowest
USEMODULE += pm_stm32_common_off
USEMODULE += pm_cortexm_common_reboot
```

but for now we would have to write the following:

```
USEMODULE += pm_fallback
USEMODULE += pm_fallback_set_lowest

USEMODULE += pm_stm32_common
USEMODULE += pm_stm32_common_off

USEMODULE += pm_cortexm_common
USEMODULE += pm_cortexm_common_reboot
```

-- 
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/7597#issuecomment-329513411
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170914/b8465736/attachment.html>


More information about the notifications mailing list