mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-23 23:21:31 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
34
Service/version/main.c
Normal file
34
Service/version/main.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue