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, but

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 devel@riot-

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

Re: [riot-devel] CoAP examples

2017-09-13 Thread Cenk Gündoğan
Hi Alex, thanks for tackling this point. FYI, and without taking away the heat of the conversation: Previous discussions about this topic can be found in [1]. Cheers, Cenk [1] https://github.com/RIOT-OS/RIOT/issues/6038 On 17-09-13 14:49:03, Alexandre Abadie wrote: > Hi RIOT devs, > > I know

[riot-devel] CoAP examples

2017-09-13 Thread Alexandre Abadie
Hi RIOT devs, I know this topic has already been discussed on this list some time ago but since the next release will come soon, I'd like to bring this back. In the current master, we have 3 coap examples: microcoap_server, nanocoap_server and gcoap IMHO, that would be great to only have one ex