ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Patriko
#15979 Thanks! Looking much better, just something goes wrong with "serial".

Please take a look:
Code: Select allTraceback (most recent call last):
  File "C:\Espressif\examples\esp_ginx\tools\esptool.py", line 22, in <module>
    import serial
ImportError: No module named serial
../Makefile:123: recipe for target '.output/eagle/debug/bin/eagle.app.v6.bin' failed
mingw32-make[1]: *** [.output/eagle/debug/bin/eagle.app.v6.bin] Error 1
mingw32-make[1]: Leaving directory 'C:/Espressif/examples/esp_ginx/app'
C:/Espressif/examples/esp_ginx/Makefile:152: recipe for target '.subdirs' failed
mingw32-make.exe: *** [.subdirs] Error 2

09:43:11 Build Finished (took 2s.966ms)

User avatar
By Patriko
#15988 Still that same :( v.2.0.3.

Code: Select allDEPEND: c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -M -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle spiffs_check.c
DEPEND: c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -M -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle spiffs_hydrogen.c
DEPEND: c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -M -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle spiffs.c
mingw32-make[2]: Leaving directory 'C:/Espressif/examples/esp_ginx/app/spiffs'
mingw32-make[2]: Entering directory 'C:/Espressif/examples/esp_ginx/app/spiffs'
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs.o -c spiffs.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_hydrogen.o -c spiffs_hydrogen.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_check.o -c spiffs_check.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_nucleus.o -c spiffs_nucleus.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_gc.o -c spiffs_gc.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_cache.o -c spiffs_cache.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar ru .output/eagle/debug/lib/spiffs.a .output/eagle/debug/obj/spiffs.o .output/eagle/debug/obj/spiffs_hydrogen.o .output/eagle/debug/obj/spiffs_check.o .output/eagle/debug/obj/spiffs_nucleus.o .output/eagle/debug/obj/spiffs_gc.o .output/eagle/debug/obj/spiffs_cache.o
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/spiffs.a
mingw32-make[2]: Leaving directory 'C:/Espressif/examples/esp_ginx/app/spiffs'
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc  -L../lib -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lmain -ljson -lsmartconfig -lssl user/.output/eagle/debug/lib/libuser.a http/.output/eagle/debug/lib/http.a dns/.output/eagle/debug/lib/dns.a driver/.output/eagle/debug/lib/libdriver.a lwip/.output/eagle/debug/lib/liblwip.a json/.output/eagle/debug/lib/libjson.a platform/.output/eagle/debug/lib/libplatform.a libc/.output/eagle/debug/lib/liblibc.a mqtt/.output/eagle/debug/lib/mqtt.a smart/.output/eagle/debug/lib/smart.a util/.output/eagle/debug/lib/util.a spiffs/.output/eagle/debug/lib/spiffs.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
../tools/esptool.py elf2image .output/eagle/debug/image/eagle.app.v6.out -o ../bin/
Traceback (most recent call last):
  File "C:\Espressif\examples\esp_ginx\tools\esptool.py", line 22, in <module>
    import serial
ImportError: No module named serial
../Makefile:155: recipe for target '.output/eagle/debug/bin/eagle.app.v6.bin' failed
mingw32-make[1]: *** [.output/eagle/debug/bin/eagle.app.v6.bin] Error 1
mingw32-make[1]: Leaving directory 'C:/Espressif/examples/esp_ginx/app'
mingw32-make.exe: *** [.subdirs] Error 2
C:/Espressif/examples/esp_ginx/Makefile:184: recipe for target '.subdirs' failed

11:21:44 Build Finished (took 41s.460ms)
User avatar
By adamjp
#15995 Make file that worked for me, running windows and eclipse and whatever esptool that came with the latest unofficial sdk, hope this helps. MakeFile Change: esptool path changed to the esptool.exe in the expressif sdk utils folder, which for me and most likely many others C:\Espressif\utils

Cheers.

Edit:
Well done, that is amazing.
You do not have the required permissions to view the files attached to this post.