#include "bk_private/bk_init.h" #include #include #include #include "cli.h" #include extern void user_app_main(void); extern void rtos_set_user_app_entry(beken_thread_function_t entry); #if (CONFIG_SYS_CPU0) void user_app_main(void) { bk_pm_module_vote_boot_cp1_ctrl(PM_BOOT_CP1_MODULE_NAME_AUDP_AUDIO, PM_POWER_MODULE_STATE_ON); } #endif int main(void) { #if (CONFIG_SYS_CPU0) rtos_set_user_app_entry((beken_thread_function_t)user_app_main); // bk_set_printf_sync(true); // shell_set_log_level(BK_LOG_WARN); #endif bk_init(); return 0; }