Re: [riot-devel] pm_reboot

2017-09-13 Thread Robert Hartung
Hi Kaspar, pm.h consists of pm_set_lowest, pm_off and pm_reboot. pm_fallback therefore should define stubs for all of these [1] cpu/cortexm_common defines some better implementation and also provides cortexm_sleep, that's why I created pm_cortexm_common [2]. cpu/stm32_common provides pm_set,

Re: [riot-devel] pm_reboot

2017-09-13 Thread Kaspar Schleiser
Hi, On 09/13/2017 03:06 PM, Robert Hartung wrote: > Make all pm_* implementations submodules, so the final CPU *always* has > to select the according pm implementation. You mean all functions, like pm_reboot()? Kaspar ___ devel mailing list

Re: [riot-devel] pm_reboot

2017-09-13 Thread Robert Hartung
Hi Kaspar, I just looked in more detail on what you've done. Using submodules is fine for me, but I would like to change a key aspect here: Make all pm_* implementations submodules, so the final CPU *always* has to select the according pm implementation. For cortexm_common this would allow us to