diff --git a/cpu/cc26x0/include/periph_cpu.h b/cpu/cc26x0/include/periph_cpu.h index 7bd8e4e0a0..05ac958f62 100644 --- a/cpu/cc26x0/include/periph_cpu.h +++ b/cpu/cc26x0/include/periph_cpu.h @@ -34,6 +34,13 @@ extern "C" { */ #define CPUID_LEN (16U) +/** + * @name Power management configuration + * @{ + */ +#define PROVIDES_PM_SET_LOWEST_CORTEXM +/** @} */ + #ifndef DOXYGEN /** * @brief Override GPIO mode values diff --git a/cpu/cc26x0/periph/pm.c b/cpu/cc26x0/periph/pm.c new file mode 100644 index 0000000000..19c0d5fa4e --- /dev/null +++ b/cpu/cc26x0/periph/pm.c @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2017 Kaspar Schleiser + * @author Hauke Petersen + * + * @} + */ + +#include "cpu.h" +#include "periph/pm.h" + +#ifdef PROVIDES_PM_SET_LOWEST_CORTEXM +void pm_set_lowest(void) +{ + /* don't do anything here */ +} +#endif