You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// Combined include file for esp8266
|
|
|
|
#ifndef _ESP8266_H_
|
|
|
|
#define _ESP8266_H_
|
|
|
|
|
|
|
|
#include <user_config.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include <c_types.h>
|
|
|
|
#include <ip_addr.h>
|
|
|
|
#include <espconn.h>
|
|
|
|
#include <ets_sys.h>
|
|
|
|
#include <gpio.h>
|
|
|
|
#include <mem.h>
|
|
|
|
#include <osapi.h>
|
|
|
|
#include <upgrade.h>
|
|
|
|
|
|
|
|
#include "espmissingincludes.h"
|
|
|
|
#include "uart_hw.h"
|
|
|
|
extern char* esp_link_version;
|
|
|
|
|
|
|
|
void ICACHE_FLASH_ATTR init(void);
|
|
|
|
inline char* ICACHE_FLASH_ATTR system_get_chip_id_str(){
|
|
|
|
char *chipId = (char*)os_zalloc(9);
|
|
|
|
os_sprintf(chipId, "%06x", system_get_chip_id());
|
|
|
|
return chipId;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __WIN32__
|
|
|
|
#include <_mingw.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // _ESP8266_H_
|