Ai-Thinker-Open_RTL8710BX_A.../Service/version/main.c

35 lines
528 B
C
Raw Normal View History

2020-06-18 12:06:52 +00:00
/*
* 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;
}