#include "bk_private/bk_init.h" #include #include #include extern void rtos_set_user_app_entry(beken_thread_function_t entry); static void start_application_processor(beken_thread_arg_t arg) { (void)arg; BK_LOGI("xiaozhi_client", "READY: BK7258 CP startup\r\n"); BK_LOG_ON_ERR(bk_pm_module_vote_boot_cp1_ctrl(PM_BOOT_CP1_MODULE_NAME_APP, PM_POWER_MODULE_STATE_ON)); } int main(void) { rtos_set_user_app_entry(start_application_processor); return bk_init(); }