Search found 2344 matches

by ESP_Angus
Fri Apr 16, 2021 6:21 am
Forum: Hardware
Topic: turning off VDD_SDIO in deepsleep possible?
Replies: 1
Views: 2188

Re: turning off VDD_SDIO in deepsleep possible?

Hi Oers, The support for ESP_PD_DOMAIN_VDDSDIO is actually to allow leaving it ON during sleep (particularly light sleep, if GPIOs are connected to it). Do you find that VDD_SDIO is not powering down in deep sleep already? It should be (if the flash is also suspended, it may take a little while for ...
by ESP_Angus
Tue Apr 13, 2021 8:34 am
Forum: ESP-IDF
Topic: malloc recursive mutex error
Replies: 1
Views: 2293

Re: malloc recursive mutex error

Hi thesulaj, Are you calling malloc() inside a critical section, i.e. with interrupts disabled? (this actually used to work, but looks like it might not any more.) This looks similar to ISR context from point of view of the CPU state. Otherwise, can you please share the ESP-IDF version you're using?...
by ESP_Angus
Tue Apr 13, 2021 4:12 am
Forum: ESP-IDF
Topic: Is uint32_t atomic ?
Replies: 3
Views: 6001

Re: Is uint32_t atomic ?

Can you confirm if this is the case for memory used by threads on different cores? If each read/write is atomic, does this apply when each core reads or writes simultaneously? Yes, it does. If both cores write to the same 32-bit variable, the value should hold either the value written by one core o...
by ESP_Angus
Mon Apr 12, 2021 12:09 am
Forum: ESP-IDF
Topic: Section start and stop markers in Linker Fragments
Replies: 3
Views: 4900

Re: Section start and stop markers in Linker Fragments

Yes, this feature is new in ESP-IDF v4.4 but is designed for this purpose.
by ESP_Angus
Mon Apr 12, 2021 12:07 am
Forum: IDEs for ESP-IDF
Topic: After Update to IDF version 4.3 - Ninja error due to missing "libwapi.a"
Replies: 1
Views: 3561

Re: After Update to IDF version 4.3 - Ninja error due to missing "libwapi.a"

Hi Grasmower,

Try doing a "git submodule update --init --recursive" to get the latest version of the related libraries. (CMake prints a warning about this, but only the first time after changing the IDF version.)

Angus
by ESP_Angus
Thu Apr 08, 2021 8:29 am
Forum: General Discussion
Topic: ESP32 Flash Download Tool
Replies: 3
Views: 10650

Re: ESP32 Flash Download Tool

Hi selec, chegewara is right, the only way to "skip" part of the flash is to flash two files (which can still be done in a single command) so that the range with nvs_flash isn't covered by the file contents. The "combined binary" is a plain binary file where any gaps are filled with 0xFF, so this wi...
by ESP_Angus
Thu Apr 08, 2021 7:36 am
Forum: ESP IoT Solution
Topic: Change creation path of build folder
Replies: 4
Views: 8685

Re: Change creation path of build folder

Yes, you can pass the -B <dirname> option to do this.

For more about idf.py see https://docs.espressif.com/projects/esp ... tml#idf-py
by ESP_Angus
Thu Apr 08, 2021 1:19 am
Forum: General Discussion
Topic: Global ESP32 IDF developers count?
Replies: 3
Views: 3092

Re: Global ESP32 IDF developers count?

Hi Mike, It's difficult to relate units shipped to developer community, as any graph of "units shipped per developer" would look like an exponential "long tail" - there are some very high volume products built with ESP-IDF, where the development team (even if it's fairly large team) is very small if...
by ESP_Angus
Fri Apr 02, 2021 1:13 am
Forum: ESP-IDF
Topic: Why so many unnecessary allocations? [IDFGH-4980]
Replies: 5
Views: 5278

Re: Why so many unnecessary allocations? [IDFGH-4980]

> the default FreeRTOS APIs assume dynamic allocation for nearly all RTOS resources including task heaps Not really. FreeRTOS is very carefully written - it never allocates anything at run time (unless you use some diagnostics APIs). All tasks, queues, etc are allocated at init time. So does nimble...
by ESP_Angus
Wed Mar 31, 2021 7:04 am
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 51
Views: 61085

Re: Gripes on ESP32/ESP-IDF

Hi Vader Mester, I'm sad to read you had such a terrible experience. I think IDF is a great system, it is maintained well, and it is extremelly easy to work with - when it actually works :mrgreen: - I remember deving some stuff with IDF back in v3.1 with Eclipse. Now on VSCode I can not imagine ever...