If someone can compile for 512k, 1024,k 4096k esp8266, this will be great.
Errors
esp8266@esp8266-VirtualBox:/opt/Espressif/ESP8266_SDK/Relay_Thermostat$ make
CC driver/i2c.c
In file included from driver/i2c.c:22:0:
/opt/Espressif/ESP8266_SDK/include/osapi.h:45:15: error: conflicting types for 'os_random'
unsigned long os_random(void);
^
In file included from driver/i2c.c:20:0:
include/espmissingincludes.h:46:5: note: previous declaration of 'os_random' was here
int os_random();
^
In file included from /opt/Espressif/ESP8266_SDK/include/ets_sys.h:12:0,
from include/espmissingincludes.h:4,
from driver/i2c.c:20:
driver/i2c.c: In function 'i2c_init':
/opt/Espressif/ESP8266_SDK/include/eagle_soc.h:250:38: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses]
& (~(PERIPHS_IO_MUX_FUNC<<PERIPHS_IO_MUX_FUNC_S)) \
^
/opt/Espressif/ESP8266_SDK/include/eagle_soc.h:50:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
driver/i2c.c:64:5: note: in expansion of macro 'PIN_FUNC_SELECT'
PIN_FUNC_SELECT(I2C_SDA_MUX, I2C_SDA_FUNC);
^
/opt/Espressif/ESP8266_SDK/include/eagle_soc.h:250:38: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses]
& (~(PERIPHS_IO_MUX_FUNC<<PERIPHS_IO_MUX_FUNC_S)) \
^
/opt/Espressif/ESP8266_SDK/include/eagle_soc.h:50:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
driver/i2c.c:65:5: note: in expansion of macro 'PIN_FUNC_SELECT'
PIN_FUNC_SELECT(I2C_SCK_MUX, I2C_SCK_FUNC);
^
cc1: all warnings being treated as errors
make: *** [build/driver/i2c.o] Error 1
esp8266@esp8266-VirtualBox:/opt/Espressif/ESP8266_SDK/Relay_Thermostat$ Please help with compiled binaries.