Discuss here different C compiler set ups, and compiling executables for the ESP8266
User avatar
By alonewolfx2
#4734
folny82 wrote:Thanks CHERTS compilation was successful but the code does not work properly.

I compiled and upload. It's working.
CHERTS wrote:
alonewolfx2 wrote:did you try i2c_hd44780 library? i tried but i saw unrecognized chars in lcd.


I have not tested the library i2c_hd44780, I do not have this lcd.

I tested the following examples:
1wire_ds18b20
at_v0.19_on_SDKv0.9.2
at_v0.20_on_SDKv0.9.3
blinky
blinky2
esphttpd
hello_world
i2c_24xx16
sysinfo
wifi-ap-tcp-client
wifi-sniffer
wifi-sta-tcp-client
finally I tested with 16x2 i2c lcd and it's working too with zarya's example. I hope freertos works asap :)
User avatar
By thesam
#4878
alonewolfx2 wrote:I tried examples but esphttpd can not make. here is the log. have you any idea?
Code: Select all17:00:22 **** Build of configuration Default for project esphttpd ****
mingw32-make.exe -f C:/Espressif/examples/esphttpd/Makefile all
......
CC user/base64.c
user/base64.c: In function 'base64_decode':
user/base64.c:54:3: error: array subscript has type 'char' [-Werror=char-subscripts]
   if(isspace(in[ii])) continue;
   ^
cc1.exe: all warnings being treated as errors
mingw32-make.exe: *** [build/user/base64.o] Error 1
C:/Espressif/examples/esphttpd/Makefile:162: recipe for target 'build/user/base64.o' failed
and can you add espressif freertos iot example?


Had the same problem.

Change the code to following:
Code: Select allif(isspace((unsigned)in[ii])) continue;


Now, it should work ;-)

Sam