Search found 147 matches

by PeterR
Mon Aug 12, 2019 10:12 am
Forum: General Discussion
Topic: ESP32 memory allocation
Replies: 1
Views: 173

ESP32 memory allocation

I have add memory diagnostocs to my application so that I may check for leaks/fragmentation. heap_caps_get_info() and requesting capabilities: MALLOC_CAP_8BIT, MALLOC_CAP_EXEC, MALLOC_CAP_SPIRAM I am suprised to see that I have MALLOC_CAP_EXEC 214,660 bytes free. make -j8 size-components reports tha...
by PeterR
Wed Jul 03, 2019 5:53 pm
Forum: General Discussion
Topic: Cannot build the RESTful server example
Replies: 2
Views: 171

Re: Cannot build the RESTful server example

Cool. Looks like I also have install a load of stuff as well. Just a comment (to ESP) but this example requires that I learn a bit about vue when really all I want is directory handling in SPIFFS and/or to understand how to build and upload a FATFS image to flash. Its difficult to understand your re...
by PeterR
Wed Jul 03, 2019 10:17 am
Forum: General Discussion
Topic: Asynchronous webserver with websockets
Replies: 4
Views: 302

Re: Asynchronous webserver with websockets

Great. That's async enough for me! End user experience 'real time' not hard!
by PeterR
Wed Jul 03, 2019 10:15 am
Forum: General Discussion
Topic: [SOLVED] How to download files from browser using AsyncWebServer ?
Replies: 3
Views: 256

Re: Is there a way of making a file and then download it using a web-server and a browser without touching the file-syst

Well depend what you mean. It is possible to 'create, upload' file/data from browser the exact details depend on your back end (ESP32) and how complicated you want to get. You could just POST a JSON text record which you create in Javascript. That would be easiest but if you must use the same back e...
by PeterR
Tue Jul 02, 2019 6:00 pm
Forum: General Discussion
Topic: Cannot build the RESTful server example
Replies: 2
Views: 171

Cannot build the RESTful server example

Trying to build \esp-idf\examples\protocols\http_server\restful_server on a PC with MINGW32 How do I build the webpages on a PC? npm run build doesnt run within MINGW32 As is I can create the webserver but the files have not been downloaded into SPI flash. I dont have JTAG and really wanted to see h...
by PeterR
Mon Jul 01, 2019 3:19 pm
Forum: General Discussion
Topic: Embedded file system
Replies: 1
Views: 136

Embedded file system

I need a readonly filesystem to hold the webserver. Its a legacy cross platform set of web pages so (ideally) I need directory support. I want to be able to create a the webpage image and program that using esptool I seem to remember bumping into a SPIFFs implementation with directory support but ca...
by PeterR
Mon Jul 01, 2019 1:32 pm
Forum: General Discussion
Topic: Asynchronous webserver with websockets
Replies: 4
Views: 302

Re: Asynchronous webserver with websockets

Thanks. May I ask why you need it to be asynchronous? I want the HTTP engine to handle multiple connections and not to block because of traffic on a connection. There can be a limit to the number of workers of course. Lets take Kolban's webserver as an example; a connection socket is create with acc...
by PeterR
Mon Jul 01, 2019 11:31 am
Forum: General Discussion
Topic: Asynchronous webserver with websockets
Replies: 4
Views: 302

Asynchronous webserver with websockets

I need a simple asynchronous webserver with websockets. I could accept asynchronous FTM and convert/add websockets latter. I have had a quick look at: 1) HTTP Server. Does not seem to be asynchronous and lacks websockets. Its not clear if the HTTP server interface supports multiple threads (start/st...
by PeterR
Fri Jun 28, 2019 7:08 pm
Forum: ESP32 IDF
Topic: ESP32 Bare Metal Implementation
Replies: 6
Views: 458

Re: ESP32 Bare Metal Implementation

The SPI communications I would like to implement with the host controller have extremely high latency (relatively speaking) when executed with the existing driver implementation due to its use of queues and the reliance on the RTOS. Understood. I am using an MPC2515 (cost) which has a maximum bus o...

Go to advanced search