Merge branch 'prepare_for_master' of https://gitlink.org.cn/xuos/xiuos into wiz_lwip

This commit is contained in:
TXuian
2023-09-21 10:34:11 +08:00
24 changed files with 2696 additions and 480 deletions

View File

@@ -17,12 +17,21 @@
extern int FrameworkInit();
extern void ApplicationOtaTaskInit(void);
#ifdef OTA_BY_PLATFORM
extern int OtaTask(void);
#endif
int main(void)
{
printf("Hello, world! \n");
FrameworkInit();
printf("Hello, world! \n");
FrameworkInit();
#ifdef APPLICATION_OTA
ApplicationOtaTaskInit();
ApplicationOtaTaskInit();
#endif
#ifdef OTA_BY_PLATFORM
OtaTask();
#endif
return 0;
}