libesphttpd on ESP32 using FreeRTOS under esp-idf
Posted: Wed Jun 20, 2018 9:57 am
Hi,
I am trying to get a web server running on the ESP32 using FreeRTOS and esp-idf.
Using development environment: esp32_win32_msys2_environment_and_toolchain-20180110
Downloaded the esp-idf branch of https://github.com/Spritetm/libesphttpd and placed in the components folder of the Ethernet example which I had previously configured and tested.
The build fails. There is a clear syntax error in cgiFlash.c:303 which is easy to fix but this warns that this is not a functioning branch...
Next I have an unknown ConnTypePtr so I include "platform.h"
Then follow a series of include order issues and missing definitions e.g. os_printf().
I am new to the ESP toolchain and wonder if I am missing a #define?
Has anyone compiled libesphttpd?
I had similar problems with https://github.com/chmorgan/libesphttpd ... _chmorgan/ the referenced FreeRTOS example seems to be esp8266 based.
Open to alternatives. I need cgi. Have used lwip's httpd before. Would be Ok but no POST etc & also could not find a socket version, only raw.
I am trying to get a web server running on the ESP32 using FreeRTOS and esp-idf.
Using development environment: esp32_win32_msys2_environment_and_toolchain-20180110
Downloaded the esp-idf branch of https://github.com/Spritetm/libesphttpd and placed in the components folder of the Ethernet example which I had previously configured and tested.
The build fails. There is a clear syntax error in cgiFlash.c:303 which is easy to fix but this warns that this is not a functioning branch...
Next I have an unknown ConnTypePtr so I include "platform.h"
Then follow a series of include order issues and missing definitions e.g. os_printf().
I am new to the ESP toolchain and wonder if I am missing a #define?
Has anyone compiled libesphttpd?
I had similar problems with https://github.com/chmorgan/libesphttpd ... _chmorgan/ the referenced FreeRTOS example seems to be esp8266 based.
Open to alternatives. I need cgi. Have used lwip's httpd before. Would be Ok but no POST etc & also could not find a socket version, only raw.