2025-10-10 16:07:00 +08:00

26 lines
495 B
C
Executable File

#include "bk_private/bk_init.h"
#include <components/system.h>
#include <os/os.h>
#include <components/shell_task.h>
extern void user_app_main(void);
extern void rtos_set_user_app_entry(beken_thread_function_t entry);
void user_app_main(void)
{
}
int main(void)
{
//#if (!CONFIG_SOC_BK7256XX)
#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;
//#endif
}