ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Sprite_tm
#9995 Yeah, I sometimes have that too... the ESP stack seems a bit flakey sometimes when in AP+STA mode, but I can't just use the AP mode because I can't scan for other APSs there.

Have you tried killing the config mem of the ESP by flashing blank.bin to 0x7E000? That sometimes helps.
User avatar
By Fabien MArchewka
#9996
andrew melvin wrote:
bwhouse wrote:First up thanks Sprite_tm for the awesome work on this.

I seem to be having an annoying problem and no luck trying to compile the esp-httpd source. I am using the esp-open-sdk on OS X and havent had any trouble compiling my own code or the MQTT library. But when ever I try to compile esp-httpd i get the following errors.

Code: Select allCC user/auth.c
In file included from /esptools/esp-open-sdk/sdk/include/os_type.h:10:0,
                 from /esptools/esp-open-sdk/sdk/include/user_interface.h:9,
                 from user/auth.c:17:
/esptools/esp-open-sdk/sdk/include/ets_sys.h:14:1: error: unknown type name 'uint32_t'
 typedef uint32_t ETSSignal;
 ^
/esptools/esp-open-sdk/sdk/include/ets_sys.h:15:1: error: unknown type name 'uint32_t'
 typedef uint32_t ETSParam;
 ^
/esptools/esp-open-sdk/sdk/include/ets_sys.h:27:1: error: unknown type name 'uint32_t'
 typedef uint32_t ETSHandle;
 ^
/esptools/esp-open-sdk/sdk/include/ets_sys.h:32:5: error: unknown type name 'uint32_t'
     uint32_t              timer_expire;
     ^
/esptools/esp-open-sdk/sdk/include/ets_sys.h:33:5: error: unknown type name 'uint32_t'
     uint32_t              timer_period;
     ^


I assume I have some form of problem with the Makefile, but for the life of me I cant work it out. All the paths look correct and the Libs all look fine.

Any one got any ideas?


Hi, Im getting this exact problem.

1) using the latest git, only pulled a few min ago
2) editits #if=0 to #if=1 in the c_types.h file. no difference

is there anything else i need to do.

I can complete the nodemcu, and the the blink example just fine. really wan esphttpd to compile.
Is there a way to not flash the files directly. I need to use a different computer so flashing straight away is not good.

Cheers

Andrew

Same problem here with last sdk and fresh install. No problem with other firmware