Search found 89 matches

by cmorgan
Fri Sep 15, 2017 6:40 pm
Forum: ESP-IDF
Topic: Does anyone have an example of a web server?
Replies: 9
Views: 16067

Re: Does anyone have an example of a web server?

WiFive wrote:
cmorgan wrote:
In the near future I'll be pushing out a version with ssl (https) support
Sounds good. And wss:// too?
Yep, it uses the same transport portions of the server so wss:// comes for free when you enable SSL mode.
by cmorgan
Fri Sep 15, 2017 1:42 pm
Forum: ESP-IDF
Topic: Does anyone have an example of a web server?
Replies: 9
Views: 16067

Re: Does anyone have an example of a web server?

Oh, and libesphttpd also supports bundling and compressing files to a in-flash filesystem. This makes it super easy to include your resources in your project like images etc by simply putting them into a target folder and letting libesphttpd leverage heatshrink and gzip to compress and build them in...
by cmorgan
Fri Sep 15, 2017 1:37 pm
Forum: ESP-IDF
Topic: Does anyone have an example of a web server?
Replies: 9
Views: 16067

Re: Does anyone have an example of a web server?

I'm having good luck with libesphttpd. The esp-idf branch is what you want. You'll want to put that into the esp-idf/components/ folder like esp-idf/components/libesphttpd and then look at the README.md for how to pass it an array of urls and initialize it. In the near future I'll be pushing out a v...
by cmorgan
Sat Sep 02, 2017 7:46 pm
Forum: ESP-IDF
Topic: libesphttpd port for esp32?
Replies: 4
Views: 6804

Re: libesphttpd port for esp32?

Libesphttpd for esp32 is meant as a component for your esp-idf project. Just drop it into the components/ directory of your project and it should work. The esp32 bit still is somewhat beta, however; feel free to tell me if you run into any bugs. Ahh ok. I'll give it a shot and let you know how I ma...
by cmorgan
Fri Sep 01, 2017 8:10 pm
Forum: ESP-IDF
Topic: libesphttpd port for esp32?
Replies: 4
Views: 6804

libesphttpd port for esp32?

I've found https://github.com/Spritetm/libesphttpd but even the esp-idf branch doesn't build for me:

Code: Select all

$ make
CC espfs/espfs.c
make: xtensa-lx106-elf-gcc: Command not found
make: *** [Makefile:220: build/espfs/espfs.o] Error 127
Does anyone know of a version of libesphttpd for the esp32?

Chris
by cmorgan
Thu Aug 24, 2017 11:19 pm
Forum: ESP-IDF
Topic: Notice of upcoming change: ESP-IDF will disable ROM BASIC console
Replies: 5
Views: 8962

Re: Notice of upcoming change: ESP-IDF will disable ROM BASIC console

Could you share why this ROM BASIC console is being disabled?

Chris
by cmorgan
Thu Aug 24, 2017 7:07 pm
Forum: ESP-IDF
Topic: DNS server for ESP32?
Replies: 0
Views: 3099

DNS server for ESP32?

Hello.

I'm looking through the ESP32 SDK code and it looks like while there is a dns resolver there isn't a DNS server. Are there any plans to include a DNS server component in the ESP32 SDK? If so, which one? I might have the available bandwidth to assist with such an effort.

Chris
by cmorgan
Thu Aug 24, 2017 3:41 pm
Forum: ESP-IDF
Topic: Static vs. dynamic memory allocation, why aren't the examples using xTaskCreateStatic()?
Replies: 2
Views: 5912

Re: Static vs. dynamic memory allocation, why aren't the examples using xTaskCreateStatic()?

Ahh ok. While I'll probably use static tasks to ensure memory is available I can appreciate using some dynamic memory if that can use memory reserved for the boot process. I also agree about not over complicating examples. I searched and didn't see anyone else ask about the topic of static allocatio...
by cmorgan
Thu Aug 24, 2017 12:58 am
Forum: ESP-IDF
Topic: Static vs. dynamic memory allocation, why aren't the examples using xTaskCreateStatic()?
Replies: 2
Views: 5912

Static vs. dynamic memory allocation, why aren't the examples using xTaskCreateStatic()?

Hello.

I've noticed that the examples use xTaskCreate() but there aren't any calls to xTaskCreateStatic(). Wouldn't it reduce memory fragmentation and the chance of failing at runtime to use static memory for large buffers like task stacks?

Chris