Search found 21 matches

by Oromis
Thu Feb 27, 2020 12:17 pm
Forum: General Discussion
Topic: Bad flash command line generation with CMake
Replies: 3
Views: 4717

Bad flash command line generation with CMake

Hi, we just migrated our project from the make-based build system to CMake (on ESP-IDF v3.3.1 on a Windows 10 machine). The project compiles well but when flashing we get the wrong command generated by idf.py: >ninja flash [1/4] Performing build step for 'bootloader' ninja: no work to do. [1/2] cmd....
by Oromis
Mon Feb 24, 2020 4:56 pm
Forum: General Discussion
Topic: ESP-IDF memory usage
Replies: 4
Views: 11972

Re: ESP-IDF memory usage

Thanks for the reply! You need to be careful. Two or more tasks using may have bigger peaks (depends on free strategy). We are aware. We know about all locations in the code where dynamic memory is allocated and we know an upper bound for each of these allocations. There's also a mechanism to stop t...
by Oromis
Mon Feb 24, 2020 8:34 am
Forum: General Discussion
Topic: ESP-IDF memory usage
Replies: 4
Views: 11972

Re: ESP-IDF memory usage

Thanks for the suggestions, here are the results for size-components: Total sizes: DRAM .data size: 14284 bytes DRAM .bss size: 36056 bytes Used static DRAM: 50340 bytes ( 130396 available, 27.9% used) Used static IRAM: 89757 bytes ( 41315 available, 68.5% used) Flash code: 914464 bytes Flash rodata...
by Oromis
Fri Feb 21, 2020 4:12 pm
Forum: General Discussion
Topic: ESP-IDF memory usage
Replies: 4
Views: 11972

ESP-IDF memory usage

Hi, I just upgraded our ESP32 firmware from 3.1.x to 3.2.x and then to 3.3.1. Unfortunately it seems that the RAM footprint increased dramatically: On 3.1.x we had about 51 kB of free RAM (as reported by esp_get_free_heap_size()). Our application is quite large. On 3.2.x it went down to 48 kB (which...
by Oromis
Mon Feb 04, 2019 12:53 pm
Forum: ESP-IDF
Topic: Using the new NVS multi-page BLOBs
Replies: 3
Views: 5540

Re: Using the new NVS multi-page BLOBs

Hi, thank you for your response. I just figured out what the problem was and it's not ESP-IDF's fault at all. I'm very sorry for bothering you. The problem was that we copied the 'nvs_flash' component from ESP-IDF v3.0.x into our project since we needed to apply a bugfix that arrived in the stable b...
by Oromis
Tue Jan 29, 2019 12:16 pm
Forum: ESP-IDF
Topic: LWIP listening socket breaks when attempting to connect to WiFi access point
Replies: 10
Views: 13360

Re: LWIP listening socket breaks when attempting to connect to WiFi access point

I just want to clarify that are you facing issue every time while commissioning WiFi credentials means LWIP listening socket is going to break when attempting to connect to WiFi access point? No, it doesn't happen every single time, but in about 90% of cases. So it very rarely works as intended. Al...
by Oromis
Tue Jan 29, 2019 7:58 am
Forum: ESP-IDF
Topic: LWIP listening socket breaks when attempting to connect to WiFi access point
Replies: 10
Views: 13360

Re: LWIP listening socket breaks when attempting to connect to WiFi access point

My plan B is to abandon the AP mode and HTTP server altogether and use Bluetooth in combination with a custom Android / iOS app to configure WiFi credentials. This solution is a lot more work but it also avoids (legitimate) security warnings from browsers when the user tries to enter their WiFi cred...
by Oromis
Mon Jan 28, 2019 1:16 pm
Forum: ESP-IDF
Topic: LWIP listening socket breaks when attempting to connect to WiFi access point
Replies: 10
Views: 13360

Re: LWIP listening socket breaks when attempting to connect to WiFi access point

Hi, sorry for the super-long delay, I've been busy with more pressing issues, but yes, this still is an issue for us. To answer the questions: Would you please provide few more details like are you using any http components like nghttp or something like third party components? We don't use any third...
by Oromis
Wed Jan 23, 2019 5:11 pm
Forum: ESP-IDF
Topic: Using the new NVS multi-page BLOBs
Replies: 3
Views: 5540

Using the new NVS multi-page BLOBs

I just saw that 3.1.1 introduced a new feature called "multi-page BLOBs" (CONFIG_MP_BLOB_SUPPORT). I need such a feature (at the moment, I split a certificate file into multiple BLOBs at application level to get around the 1984 bytes limit), so I enabled the option. Unfortunately, a simple test prog...
by Oromis
Fri Jan 11, 2019 9:41 am
Forum: ESP-IDF
Topic: Ethernet initialization error handling
Replies: 8
Views: 12081

Re: Ethernet initialization error handling

True, you also need to go to the header file containing

Code: Select all

emac_reset()
(emac_dev.h) and change its return type from

Code: Select all

void emac_reset(void);
to

Code: Select all

bool emac_reset(void);
.