在 board_xxx_global_build_cfg.h
- //config long-press reset io pin,time,trigger level
- #if CONFIG_LP_TOUCH_KEY_EN
- #define CONFIG_RESET_PIN LDO //io pin
- #define CONFIG_RESET_TIME 04 //unit:second
- #define CONFIG_RESET_LEVEL 1 //tigger level(0/1)
- #else
- #define CONFIG_RESET_PIN PB01 //io pin
- #define CONFIG_RESET_TIME 08 //unit:second
- #define CONFIG_RESET_LEVEL 0 //tigger level(0/1)
- #end