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

User avatar
By iHaveESP
#10184 @CHERTS

Can you update the mmqt example? I'm using "Espressif-ESP8266-DevKit-v1.0.10-x86" With your added example and Makefile, I'm getting:

Code: Select allC:\Espressif\utils\genflashbinv6 eagle.app.v6.text.bin 40100004 eagle.app.v6.data.bin 3ffe8000 eagle.app.v6.rodata.bin 3ffe8a00
ren eagle.app.flash.bin eagle.app.v6.flash.bin
mv: cannot stat `eagle.app.v6.flash.bin': No such file or directory
C:/Espressif/examples/esp_mqtt/Makefile:95: recipe for target 'build/app.out' failed
mingw32-make.exe: *** [build/app.out] Error 1


tuanpmt recently updated his Makefile and moved some files around, i.e. added "modules" https://github.com/tuanpmt/esp_mqtt

I don't see any core changes to the code, but a current working example would be great.

Thanks
User avatar
By CHERTS
#10191
iHaveESP wrote:@CHERTS

Can you update the mmqt example? I'm using "Espressif-ESP8266-DevKit-v1.0.10-x86" With your added example and Makefile, I'm getting:

Code: Select allC:\Espressif\utils\genflashbinv6 eagle.app.v6.text.bin 40100004 eagle.app.v6.data.bin 3ffe8000 eagle.app.v6.rodata.bin 3ffe8a00
ren eagle.app.flash.bin eagle.app.v6.flash.bin
mv: cannot stat `eagle.app.v6.flash.bin': No such file or directory
C:/Espressif/examples/esp_mqtt/Makefile:95: recipe for target 'build/app.out' failed
mingw32-make.exe: *** [build/app.out] Error 1


tuanpmt recently updated his Makefile and moved some files around, i.e. added "modules" https://github.com/tuanpmt/esp_mqtt

I don't see any core changes to the code, but a current working example would be great.

Thanks


I have a C:\Espressif\examples\esp_mqtt\compiles without error, try to install all packages for mingw:

Code: Select all    cd C:\MinGW\bin
    mingw-get install mingw32-base
    mingw-get install mingw32-mgwport
    mingw-get install mingw32-pdcurses
    mingw-get install mingw32-make
    mingw-get install mingw32-autoconf
    mingw-get install mingw32-automake
    mingw-get install mingw32-gdb
    mingw-get install gcc
    mingw-get install gcc-c++
    mingw-get install libz
    mingw-get install bzip2
    mingw-get install msys-base
    mingw-get install msys-coreutils
    mingw-get install msys-coreutils-ext
    mingw-get install msys-gcc-bin
    mingw-get install msys-wget-bin
    mingw-get install msys-m4
    mingw-get install msys-bison-bin
    mingw-get install msys-flex-bin
    mingw-get install msys-gawk
    mingw-get install msys-sed
    mingw-get install msys-autoconf
    mingw-get install msys-automake
    mingw-get install msys-mktemp
    mingw-get install msys-patch
    mingw-get install msys-libtool
User avatar
By bkrajendra
#10211
CHERTS wrote:Starting with version DevKit 1.0.6 or higher (Espressif-ESP8266-DevKit-v1.0.x-x86.exe) my installer is signed by my digital signature, it was issued and certified



See, i do not have much problem with you providing exe or anything else. Your code is already open source.
But there is also another issue. We need to download entire EXE of 80MB+ everytime you make a little change
or come with new version.
Till now ive got 4 exe downloaded. I just downloaded version 1.0.6 and now when I came here its already 1.0.10.... :evil:

Don't you think its always better to host this on GitHub or bitbucket.
By this it'll be easy to pull it every time you make little change.
And we'll save our data volume by only downloading change.

I'm still not convince why you love EXE/Setup thing.?
User avatar
By kenn
#10255
Don't you think its always better to host this on GitHub or bitbucket?


Mikhail (CHERTS) may have a problem accessing Github or bitbucket from his country.

The exe's are a small pain, but they work so well that I have to say i don't mind. When I update, I rename my Expressif dir, then install the new devkit, then copy the examples/.metadata dir so I have the eclipse project info. Finally I copy my custom projects over. Easy.