Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By pipi61
#8047 Hi!
if make all in eclipse then say error messages:

mingw32-make[1]: Entering directory 'C:/Espressif/Web_base/Web'
CC web_srv.c
In file included from web_srv.c:20:0:
include/esp8266.h:7:0: error: "ICACHE_FLASH_ATTR" redefined [-Werror]
#define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
^
In file included from c:/Espressif/ESP8266_SDK/include/ets_sys.h:11:0,
from web_srv.c:8:
c:/Espressif/ESP8266_SDK/include/c_types.h:77:0: note: this is the location of the previous definition
#define ICACHE_FLASH_ATTR
^
cc1.exe: all warnings being treated as errors
../Makefile:169: recipe for target '.output///obj/web_srv.o' failed
mingw32-make[1]: *** [.output///obj/web_srv.o] Error 1
mingw32-make[1]: Leaving directory 'C:/Espressif/Web_base/Web'
C:/Espressif/Web_base/Makefile:140: recipe for target '.subdirs' failed
mingw32-make.exe: *** [.subdirs] Error 2

whats the problem?
Thank You
User avatar
By pvvx
#8064
alonewolfx2 wrote:can we use ota update with webbase?

ota update - no! No use espconn. Bag!
Update and upload webimage in window PVFS2.
Make WEBFS CmdLine:
PVFS2.exe /h "*.htm, *.html, *.cgi, *.xml, *.bin, *.txt" /z "*.inc, snmp.bib" ./WEBFiles ./webbin ./WEBFiles.bin

WEBFS upload from Explorer (for the first time, in first start) :
1) Connect AP 'ESP8266', password '0123456789'
2) Explorer: http://192.168.4.1/fsupload (name and password from WiFi AP)
3) Selet WEBFiles.bin file. Upload.

or can we upload full flash image over web?
full flash image - no.

New version use SDK 0.9.5!

ESP-12 Full worked on 1.72V Power. Current consumption is similar to 3.3V (minus a small portion - 1..2mA, = amplitude clk pins flash).
I tested everything on this supply voltage - all works. CPU 160MHz, QSPI 80MHz - Flash writes = Ok. Max Power WiFi TX 1.7V vs 3.6V Upow equ. 1/2..1/3.
You do not have the required permissions to view the files attached to this post.