modify webserver function using mongoose.a(compile using arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620)

This commit is contained in:
Liu_Weichao
2023-12-13 14:30:40 +08:00
parent 9a97e9dd94
commit 9bc206fd0b
12 changed files with 97 additions and 23 deletions

View File

@@ -22,9 +22,13 @@ extern void ApplicationOtaTaskInit(void);
extern int OtaTask(void);
#endif
#ifdef USE_MONGOOSE
extern int webserver(void);
#endif
int main(void)
{
printf("Hello, world! \n");
printf("\nHello, world!\n");
FrameworkInit();
#ifdef APPLICATION_OTA
ApplicationOtaTaskInit();
@@ -33,6 +37,11 @@ int main(void)
#ifdef OTA_BY_PLATFORM
OtaTask();
#endif
#ifdef USE_MONGOOSE
webserver();
#endif
return 0;
}
// int cppmain(void);