Power management API

Hi all,

I’m playing with the new power management API, but I don’t fully understand how it is implemented. In my case, I want to use the layered approach (FEATURES_PROVIDED += periph_pm and USEMODULE += pm_layered), but it conflicts with the cortexm_common module. Is this a bug, or have configured it wrong?

RIOT/sys/pm_layered/pm.c:50: multiple definition of `pm_set_lowest’ RIOT/tests/periph_pm/bin/slstk3401a/cortexm_common.a(pm.o):RIOT/cpu/cortexm_common/include/cpu.h:104: first defined here collect2: error: ld returned 1 exit status make: *** [all] Error 1