-->
Page 6 of 122

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Tue Dec 16, 2014 12:36 pm
by nicoverduin
This is funny?????
Today I restarted the server again and now it starts as an AP. I can connect to it. Works fine. However once I connect it to my local Wifi Lan, it connects, shows on the Serial that it has IP 10.0.0.21 but I cannot connect to it any more. If I look at my router screen, it shows the mac address, but no IP. Any idea?

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Tue Dec 16, 2014 10:33 pm
by l3xluthor
Hi CHERT,

I have followed your tutorial and works pretty nice, its a good starting point, I have played with esphttpd project, It compiles great with the already built targets for the bin's on firmware folder, but once I have modified the html pages Im not able to re-make "webpages.espfs", just running the targets "all" or "flash" "webpages.espfs" is not re-built, I dont have a lot of make experience, is my guess that I have to build a new target in the project to run the makefile on the next paths but im getting the next errors:

mkespfsimage

21:15:40 **** Build of configuration Default for project esphttpd ****
mingw32-make.exe -f C:/Espressif/examples/esphttpd/mkespfsimage/mman-win32/Makefile mman-win32
C:/Espressif/examples/esphttpd/mkespfsimage/mman-win32/Makefile:4: config.mak: No such file or directory
mingw32-make.exe: *** No rule to make target 'config.mak'?¡ê ¨ª¡ê?1?¡ê

21:15:40 Build Finished (took 280ms)

mkespfsimage/mman-win32

21:13:36 **** Build of configuration Default for project esphttpd ****
mingw32-make.exe -f C:/Espressif/examples/esphttpd/mkespfsimage/Makefile mkespfsimage
cc -I../lib/heatshrink -std=gnu99 -c -o main.o main.c
main.c:9:18: fatal error: mman.h¡êoNo such file or directory
#include <mman.h>
^
compilation terminated.
<builtin>: recipe for target 'main.o' failed
mingw32-make.exe: *** [main.o] Error 1

21:13:36 Build Finished (took 241ms)

Any guidance will be much appreciated.

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Tue Dec 16, 2014 11:03 pm
by CHERTS
nicoverduin wrote:This is funny?????
Today I restarted the server again and now it starts as an AP. I can connect to it. Works fine. However once I connect it to my local Wifi Lan, it connects, shows on the Serial that it has IP 10.0.0.21 but I cannot connect to it any more. If I look at my router screen, it shows the mac address, but no IP. Any idea?


What is it about? This topic is a discussion of my compiler and SDK.

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Wed Dec 17, 2014 12:38 am
by CHERTS
l3xluthor wrote:mkespfsimage
21:15:40 **** Build of configuration Default for project esphttpd ****
mingw32-make.exe -f C:/Espressif/examples/esphttpd/mkespfsimage/mman-win32/Makefile mman-win32
C:/Espressif/examples/esphttpd/mkespfsimage/mman-win32/Makefile:4: config.mak: No such file or directory
mingw32-make.exe: *** No rule to make target 'config.mak'?¡ê ¨ª¡ê?1?¡ê
21:15:40 Build Finished (took 280ms)
mkespfsimage/mman-win32
21:13:36 **** Build of configuration Default for project esphttpd ****
mingw32-make.exe -f C:/Espressif/examples/esphttpd/mkespfsimage/Makefile mkespfsimage
cc -I../lib/heatshrink -std=gnu99 -c -o main.o main.c
main.c:9:18: fatal error: mman.h¡êoNo such file or directory
#include <mman.h>
^
compilation terminated.
<builtin>: recipe for target 'main.o' failed
mingw32-make.exe: *** [main.o] Error 1


To assemble mkespfsimage follow:
1. Run the console C:\MinGW\msys\1.0\msys.bat
2. In the console, run:
Code: Select allcd /c/Espressif/examples/esphttpd/mkespfsimage/mman-win32
wget --no-check-certificate https://mman-win32.googlecode.com/svn/trunk/configure
./configure && make
cd ..
make -f Makefile.windows


CAUTION!
But mkespfsimage under windows is not working correctly, it created a file webpages.espfs will incorrectly. You must use mkespfsimage under Linux. I do not know what the problem is and how to fix it, but I think the matter mman-win32.