Search found 1231 matches

by ESP_Angus
Mon Oct 22, 2018 6:47 am
Forum: ESP32 IDF
Topic: esp32 resets after memory allocation failed by asprintf
Replies: 6
Views: 102

Re: esp32 resets after memory allocation failed by asprintf

The reason for the crash is that after you log ESP_LOGI(tag, "asprintf:memory allocation failed"); ... mydata is NULL. Then when you try to log this as a string, it crashes. You need to change your program logic so it won't try to use "mydata" if asprintf fails. (although if you ...
by ESP_Angus
Mon Oct 22, 2018 6:44 am
Forum: ESP32 IDF
Topic: esp32 resets after memory allocation failed by asprintf
Replies: 6
Views: 102

Re: esp32 resets after memory allocation failed by asprintf

Code: Select all

mydata=NULL;
free(mydata);



You need to swap the order of these two lines, or mydata is never freed - free(NULL) does nothing.
by ESP_Angus
Mon Oct 22, 2018 6:42 am
Forum: ESP32 IDF
Topic: Heap memory consumption in webserver example
Replies: 4
Views: 46

Re: Heap memory consumption in webserver example

Does the free memory go back up or is it permanently going down?

Are you using the http_server example or some other code? Can you post the code you're running somewhere?
by ESP_Angus
Mon Oct 22, 2018 3:53 am
Forum: ESP32 IDF
Topic: Heap memory consumption in webserver example
Replies: 4
Views: 46

Re: Heap memory consumption in webserver example

Hi, this example takes lot of heap memory. In the webserver task I am diaplaying free heap memory. as I hit the ip on browser, the web page gets opened but there is lot of heap memory consumption during task execution maybe due to my html code which is am hitting as my web page. Can you give some in...
by ESP_Angus
Sun Oct 21, 2018 10:43 pm
Forum: ESP32 IDF
Topic: Windows error finding requirements.txt
Replies: 1
Views: 48

Re: Windows error finding requirements.txt

Hi Dhananjay,

The requirements.txt file is in a different directory to your project. If you copy and paste the suggested command from the error (with the full path to requirements.txt) then it should work.

Angus
by ESP_Angus
Sun Oct 21, 2018 10:41 pm
Forum: General Discussion
Topic: Running "make monitor" in windows command prompt or other shells
Replies: 1
Views: 30

Re: Running "make monitor" in windows command prompt or other shells

Hi James, The short answer is that the make-based build system only supports MINGW32. The long answer is that the different behaviour depends on which versions of python & make are being run from each instance. The "TypeError: cannot use a bytes pattern on a string-like object" makes m...
by ESP_Angus
Fri Oct 19, 2018 7:18 am
Forum: ESP32 IDF
Topic: ESP-IDF V3.0.5 has been released
Replies: 0
Views: 62

ESP-IDF V3.0.5 has been released

Full details, release notes, download instructions and links can be found on GitHub:
https://github.com/espressif/esp-idf/re ... tag/v3.0.5

Note that currently the latest stable release is ESP-IDF V3.1.
by ESP_Angus
Thu Oct 18, 2018 3:07 am
Forum: ESP32 IDF
Topic: encryption is working on one device not other
Replies: 28
Views: 880

Re: encryption is working on one device not other

Thanks everyone for your patience. 3/4 Coding Scheme support is now available in the ESP-IDF master branch, as of this commit . Manufacturing has provided more detailed information showing there were some ESP32-WROVER, ESP32-WROVER-I and ESP32-WROVER-B modules produced with this coding scheme, altho...
by ESP_Angus
Thu Oct 18, 2018 3:05 am
Forum: General Discussion
Topic: using efuse BLK3
Replies: 15
Views: 653

Re: using efuse BLK3

Thanks everyone for your patience. 3/4 Coding Scheme support is now available in the ESP-IDF master branch, as of this commit . Hi Angus - this is great news. Is there a mailing list that I can subscribe to that will inform me when this is available? No mailing list for this kind of thing, unfortuna...
by ESP_Angus
Wed Oct 17, 2018 2:52 am
Forum: ESP32 IDF
Topic: Compatibility between "normal CMake" and ESP-IDF
Replies: 13
Views: 480

Re: Compatibility between "normal CMake" and ESP-IDF

Angus, I've reached a point where I no longer can hold off the software side of the project. As such I'm going to start converting my framework into components and I just want to ask if there are any major changes coming to the CMake build system that, if known, can prevent double work. As always, ...

Go to advanced search