feat: 低功耗增加idle选项

Close #I5N9J2

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I066ff415709145e585f1eb94e70263361d3d71af
This commit is contained in:
zhushengle
2022-08-22 17:04:08 +08:00
parent a0f66a0d21
commit 9f8c031324
3 changed files with 33 additions and 2 deletions

View File

@@ -655,6 +655,22 @@ extern UINT8 *m_aucSysMem0;
#define LOSCFG_KERNEL_SIGNAL 0
#endif
/**
* @ingroup los_config
* Configuration item to enable kernel power module.
*/
#ifndef LOSCFG_KERNEL_PM
#define LOSCFG_KERNEL_PM 0
#endif
/**
* @ingroup los_config
* Configuration item to enable kernel power module in idle task.
*/
#ifndef LOSCFG_KERNEL_PM_IDLE
#define LOSCFG_KERNEL_PM_IDLE 0
#endif
#ifdef __cplusplus
#if __cplusplus
}