mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2024-12-04 19:40:27 +00:00
35 lines
528 B
C
35 lines
528 B
C
|
/*
|
||
|
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||
|
*/
|
||
|
|
||
|
#include <aos/aos.h>
|
||
|
#include <vfs.h>
|
||
|
|
||
|
#ifdef MESH_GATEWAY_SERVICE
|
||
|
#include "gateway_service.h"
|
||
|
#endif
|
||
|
|
||
|
extern void ota_service_init(void);
|
||
|
extern void version_init(void);
|
||
|
extern int uData_main(void);
|
||
|
int aos_framework_init(void)
|
||
|
{
|
||
|
LOG("aos framework init.");
|
||
|
|
||
|
version_init();
|
||
|
#ifdef MESH_GATEWAY_SERVICE
|
||
|
gateway_service_init();
|
||
|
#endif
|
||
|
|
||
|
#ifdef AOS_FOTA
|
||
|
// ota_service_init();
|
||
|
#endif
|
||
|
|
||
|
#ifdef AOS_UDATA
|
||
|
uData_main();
|
||
|
#endif
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|