Files
ESP8266_RTOS_SDK/examples/project_template/user/user_main.c
Espressif Systems a2b413ad29 NEW VERSION: 1.2.0
1. add modified version libgcc.a, remove functions which are already in rom, for removed functions, refer to eagle.rom.addr.v6.ld;
2. add modified version libcirom.a, remove functions which are already in rom, for removed functions, refer to eagle.rom.addr.v6.ld;
3. modify eagle.rom.addr.v6.ld;
4. modify Makefile, project can be separated from SDK;
5. add a project template in examples folder, it's IMPORTANT, PLS refer to readme.txt in project_template;
6. remove app project folder, project_template is a good startup;
7. use gcc by default;
8. modify ld struct, add some comment and Flash MAP, it's clear now;
9. add upgrade.h;
10.other minor changes;
2015-08-28 19:32:24 +08:00

24 lines
792 B
C

/******************************************************************************
* Copyright 2013-2014 Espressif Systems (Wuxi)
*
* FileName: user_main.c
*
* Description: entry file of user application
*
* Modification history:
* 2014/12/1, v1.0 create this file.
*******************************************************************************/
#include "esp_common.h"
/******************************************************************************
* FunctionName : user_init
* Description : entry of user application, init user function here
* Parameters : none
* Returns : none
*******************************************************************************/
void user_init(void)
{
printf("SDK version:%s\n", system_get_sdk_version());
}