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

User avatar
By CARPP
#49991 Thanks a lot for your hard work! First time i donated something. Keep up the great work!

Edit: Do you have any idea how i can get access to the GPIOs (GPIO16,15,14,13,12) from the newer ESP-versions (such as 12-F)?
User avatar
By SHREESHAIL
#51047 I am getting following error when tried to build, where i am going wrong any suggestions?


22:14:59 **** Build of configuration Default for project 1wire_ds18b20 ****
mingw32-make.exe -f C:/Espressif/examples/ESP8266/1wire_ds18b20/Makefile all
LD build/app.out
------------------------------------------------------------------------------
Section info:

build/app.out: file format elf32-xtensa-le

Sections:
Idx Name Size VMA LMA File off Algn
0 .data 00000374 3ffe8000 3ffe8000 000000e0 2**4
CONTENTS, ALLOC, LOAD, DATA
1 .rodata 000001d8 3ffe8380 3ffe8380 00000460 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .bss 00006230 3ffe8558 3ffe8558 00000638 2**4
ALLOC
3 .text 00005e78 40100000 40100000 00000638 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 .irom0.text 0002e744 40240000 40240000 000064b0 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
------------------------------------------------------------------------------
process_begin: CreateProcess(c:\Espressif\utils\ESP8266\esptool.exe, c:/Espressif/utils/ESP8266/esptool.exe elf2image build/app.out -o firmware/ -ff 40m -fm qio -fs 4m, ...) failed.
mingw32-make.exe: *** Error 14001
. Stop.
mingw32-make.exe: *** Waiting for unfinished jobs....
User avatar
By nhatdq
#51316 Hi, I'm working with https://github.com/tuanpmt/esp_mqtt
I have installed mingw-w64 and Espressif-ESP8266-DevKit-v2.0.9-x86 with uncheck Example installed.
But I cannot install Espressif-ESP8266-DevKit-Addon, although I right-click and choose run as Admin, It still shows need an admin rights.
I have set environment to C:\Program Files\mingw-w64\i686-6.1.0-posix-dwarf-rt_v5-rev0\mingw32\bin which has mingw32-make.exe
When I open Command line Unofficial Development Kit for Espressif ESP8266, It said "Setting environment for using Unofficial Development Kit for Espressif ESP8266 tools.
The system cannot find the path specified."
I use git bash to call mingw32-make , when I call mingw32-make SDK_BASE="c:/Espressif/ESP8266_SDK" FLAVOR="release" all, the console show this errors:
"CC driver/uart.c"
process_begin: CreateProcess(NULL, xtensa-lx106-elf-gcc -Idriver -Imqtt -Iuser -Imodules -Idriver/include -Imqtt/include -Iuser/include -Imodules/include -Iinclude -Ic:/Espressif/ESP8266_SDK/../include -Ic:/Espressif/ESP8266_SDK/include -Ic:/Espressif/ESP8266_SDK/include/json -Os -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -g -O2 -c driver/uart.c -o build/driver/uart.o, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:216: recipe for target 'build/driver/uart.o' failed
mingw32-make: *** [build/driver/uart.o] Error 2
User avatar
By pop48m
#51593 I just started working with ESP8266 and I don't have experience with this chip and Eclipse. On the other hand I have solid experience with Atmel AVRs and Atmel Studio.
Everything is installed correctly on my desktop using Win7.
The problem is with flash programing, I have two FTDI USB to TTL adapters. First one has contacts for Rx, Tx, Vcc, GND, RTS and CTS (no DTR), and second has contacts Rx, Tx, Vcc, GND, DTR and CTS (no RTS).
I suppose that esptool.py should be somehow modified, but I have no knowledge of Python. Also, I noticed esptool.exe also exists. Should it be modified too? If yes. how?
Any help is welcome.
Pop