added esp docs from the rtos sdk

This commit is contained in:
2016-04-21 22:08:40 +02:00
parent f3611453ad
commit b60506e11b
5 changed files with 2130 additions and 501 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ int strcasecmp(const char *a, const char *b);
#include <eagle_soc.h>
#include <ets_sys.h>
#include <os_type.h>
//#include <user_interface.h>
//Missing function prototypes in include folders. Gcc will warn on these if we don't define 'em anywhere.
//MOST OF THESE ARE GUESSED! but they seem to swork and shut up the compiler.
typedef struct espconn espconn;
@@ -40,7 +41,7 @@ int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
int os_printf_plus(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
void uart_div_modify(int no, unsigned int freq);
uint8 wifi_get_opmode(void);
//uint8 wifi_get_opmode(void);
uint32 system_get_time();
int rand(void);
void ets_bzero(void *s, size_t n);