feat(prj.conf): 添加重启和电源管理配置
添加了系统重启功能配置和电源管理模块配置,包括默认超时设置 和可选的常驻电源模式配置项。
This commit is contained in:
6
prj.conf
6
prj.conf
@@ -2,6 +2,12 @@ CONFIG_CAF=y
|
|||||||
CONFIG_CAF_BUTTONS=y
|
CONFIG_CAF_BUTTONS=y
|
||||||
CONFIG_CAF_BUTTONS_DEF_PATH="buttons_def.h"
|
CONFIG_CAF_BUTTONS_DEF_PATH="buttons_def.h"
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
|
CONFIG_REBOOT=y
|
||||||
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
||||||
CONFIG_LOG=y
|
CONFIG_LOG=y
|
||||||
CONFIG_ASSERT=y
|
CONFIG_ASSERT=y
|
||||||
|
|
||||||
|
# Power manager
|
||||||
|
CONFIG_CAF_POWER_MANAGER=y
|
||||||
|
CONFIG_CAF_POWER_MANAGER_TIMEOUT=120
|
||||||
|
# CONFIG_CAF_POWER_MANAGER_STAY_ON=y
|
||||||
|
|||||||
Reference in New Issue
Block a user