
Search found 32 matches
- Thu Nov 19, 2020 11:52 am
- Forum: ESP-IDF
- Topic: Google IoT client's memory limiter conflicts with ESP-IDF heap corruption detector
- Replies: 2
- Views: 439
Re: Google IoT client's memory limiter conflicts with ESP-IDF heap corruption detector
Yes, it took me a while to recognize that bug reports belong to an issue tracker, not forum
Anyway, I guess this forum thread can be suspended.

- Wed Nov 18, 2020 11:46 am
- Forum: ESP-IDF
- Topic: Google IoT client's memory limiter conflicts with ESP-IDF heap corruption detector
- Replies: 2
- Views: 439
Google IoT client's memory limiter conflicts with ESP-IDF heap corruption detector
Hi! I'm using the excellent Google IoT Core client port from https://github.com/espressif/esp-google-iot. The CMakeLists.txt in this project enables the memory limiter (-DIOTC_MEMORY_LIMITER_ENABLED). This option seems to conflict rather badly with ESP-IDF v 4.1 heap corruption detection (enabled by...
- Tue Nov 17, 2020 4:11 pm
- Forum: General Discussion
- Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
- Replies: 8
- Views: 1250
Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
It is not that the emac task will cause connection drops directly. As you say there should be retransmission etc. The exhaustion of memory will cause others to drop the connection however, no memory left! Ah, right. NW gobbles up all available RAM as buffer and starves every other task. This launch...
- Tue Nov 17, 2020 1:35 pm
- Forum: General Discussion
- Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
- Replies: 8
- Views: 1250
Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
OK, this specifically is Ethernet code which I don't use. But when the heap is exhausted, it simply drops incoming packets - which seems like a reasonable strategy to me. That shouldn't cause a TCP connection to drop, unless its flow control and re-transmission are stretched to a breaking point. I g...
- Mon Nov 16, 2020 9:34 am
- Forum: General Discussion
- Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
- Replies: 8
- Views: 1250
Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
That sounds like a disaster waiting to happen. I'd like to have a look. PeterR, would you mind pointing out the file and function where this code is implemented?The emac task (ESP32 mac) will just malloc on frame (rather inefficientlty if you ask me) & close connection on fail.
- Thu Nov 12, 2020 9:11 am
- Forum: General Discussion
- Topic: How long does it take for uart data to be available on RX Buffer?
- Replies: 9
- Views: 1270
Re: How long does it take for uart data to be available on RX Buffer?
Ok, thank you again. I'm just pointing out that the UART reference documentation (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html#_CPPv419uart_driver_install11uart_port_tiiiP13QueueHandle_ti) doesn't really describe what the driver's receive buffer doe...
- Wed Nov 11, 2020 12:35 pm
- Forum: General Discussion
- Topic: How long does it take for uart data to be available on RX Buffer?
- Replies: 9
- Views: 1270
Re: How long does it take for uart data to be available on RX Buffer?
Note that the UART has an internal FIFO buffer that hardware will try to fill up first before generating an interrupt: only after either the FIFO is decently full or the Rx line is idle for a wile will the interrupt go off. This is configurable, though. Thank you for the insight, ESP_Sprite. I unde...
- Wed Nov 11, 2020 12:28 pm
- Forum: General Discussion
- Topic: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
- Replies: 8
- Views: 1250
Re: Using an HTTP GET method to download large files (upto 8MB) to an external EEPROM of ESP32-WROVERB
The ESP IDF includes a reasonably capable HTTP(S) client: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_http_client.html# If I understand this correctly the HTTP client will download the file in chunks to a RAM buffer (the size of which is up to you to defin...
- Fri Oct 23, 2020 1:22 pm
- Forum: ESP-IDF
- Topic: Integrating an external CMake library (github.com/nlohmann/json)
- Replies: 0
- Views: 297
Integrating an external CMake library (github.com/nlohmann/json)
Hi! How am I supposed to import an external CMake library (specifically https://github.com/nlohmann/json) into an ESP-IDF project? The ESP-IDF does not seem to comply with CMake's usual procedure for pulling in external stuff - adding "add_subdirectory(components/nlohmann_json)" will fail with a nas...
- Tue Jun 02, 2020 7:03 am
- Forum: ESP-IDF
- Topic: Newlib with "nano" option enabled fails to link
- Replies: 3
- Views: 873
Re: Newlib with "nano" option enabled fails to link
Great, thank you for the information.
I moved my project to v4.2 branch and here the newlib with "nano" option enabled both links and works as expected (reducing binary size).
I moved my project to v4.2 branch and here the newlib with "nano" option enabled both links and works as expected (reducing binary size).