mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-19 05:15:03 +08:00
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;
This commit is contained in:
23
examples/project_template/user/user_main.c
Normal file
23
examples/project_template/user/user_main.c
Normal file
@ -0,0 +1,23 @@
|
||||
/******************************************************************************
|
||||
* 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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user