Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By fluppie007
#12440 Hi Cherts, can you add this code to your examples. I'm not familiar with Eclipse and creating makefiles.
https://github.com/mharizanov/ESP8266_Relay_Board it's a very nice board and interesting code!
More details on http://harizanov.com/wiki/wiki-home/thr ... tat-board/
User avatar
By zhivko
#12497 I tried this following first post in this topic and I get:

invalid suffix on literal; C++11 requires a space between literal and identifier [-Werror=literal-suffix] Basic_Serial line 213, external location: c:\Espressif\ESP8266_SDK\include\lwip\ip_addr.h C/C++ Problem

Anybody knows how to fix this?
User avatar
By zhivko
#12518
zhivko wrote:I tried this following first post in this topic and I get:

invalid suffix on literal; C++11 requires a space between literal and identifier [-Werror=literal-suffix] Basic_Serial line 213, external location: c:\Espressif\ESP8266_SDK\include\lwip\ip_addr.h C/C++ Problem

Anybody knows how to fix this?

To answer my self - I disabled semantic checking in Eclipse in Window-Preferences-C/C++-Code Analysis unchecked Syntax and semantic errors - after that project compiled succesfully and I was Able to flash to firmware.

I tried: HttpServer_Bootstrap and it seems that it tries to load
http://simple.anakod.ru:80/templates/index.html
all the time... Is it suppose to work so? ;)


Download file: index.html -1
Download: http://simple.anakod.ru:80/templates/index.html
+TCP connection
connect to: simple.anakod.ru
TcpConnection::connect port: 80, 0
OnConnected 3FFEB468
TCP connected
onReadyToSendData: 0
TCP connection send: 62 (62)
TcpClient request completed
onReadyToSendData: 3
TCP sent: 62
onReadyToSendData: 2
Header pos: 259
Server === nginx
Date === Tue, 24 Mar 2015 02:31:00 GMT
Content-Type === text/html
Content-Length === 6173
Connection === close
Last-Modified === Thu, 26 Feb 2015 23:21:49 GMT
ETag === "344577-181d-510060425fd40"
Accept-Ranges === bytes
Vary === Accept-Encoding
write errno -10010
User avatar
By CHERTS
#12520
fluppie007 wrote:Hi Cherts, can you add this code to your examples. I'm not familiar with Eclipse and creating makefiles.
https://github.com/mharizanov/ESP8266_Relay_Board it's a very nice board and interesting code!
More details on http://harizanov.com/wiki/wiki-home/thr ... tat-board/


Hi, I have added this example, it will be available in the DevKit 2.0.0