23 lines
406 B
C
Executable File
23 lines
406 B
C
Executable File
#include "bk_private/bk_init.h"
|
|
#include <components/system.h>
|
|
#include <os/os.h>
|
|
|
|
#include "media_service.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_SYS_CPU0)
|
|
rtos_set_user_app_entry((beken_thread_function_t)user_app_main);
|
|
#endif
|
|
bk_init();
|
|
media_service_init();
|
|
|
|
return 0;
|
|
} |