Search found 9 matches

by yaghmr
Thu Feb 29, 2024 3:12 pm
Forum: ESP-IDF
Topic: Efuse error when Running ESP32-C3 app on QEMU
Replies: 1
Views: 1924

Efuse error when Running ESP32-C3 app on QEMU

I am trying to run an ESP32-C3 application in QEMU using Espressif's qemu-system-riscv32 . After compiling it and creating the flash with esptool.py as mentioned here: https://github.com/espressif/esp-toolchain-docs/blob/main/qemu/esp32c3/README.md#compiling-the-esp-idf-program-to-emulate, I get the...
by yaghmr
Thu Nov 09, 2023 1:04 pm
Forum: General Discussion
Topic: Heap free size: multi_heap_free_size vs esp_get_free_heap_size
Replies: 2
Views: 1349

Re: Heap free size: multi_heap_free_size vs esp_get_free_heap_size

multi_heap_free_size(...) is the lower-level function ... Thanks for the clarification. I understand, just like esp_get_free_heap_size() is equals to heap_caps_get_free_size((MALLOC_CAP_DEFAULT)) ? Another question, is the heap_caps_print_heap_info() function also intended for internal use or simpl...
by yaghmr
Thu Nov 09, 2023 9:53 am
Forum: General Discussion
Topic: Heap free size: multi_heap_free_size vs esp_get_free_heap_size
Replies: 2
Views: 1349

Heap free size: multi_heap_free_size vs esp_get_free_heap_size

What is the difference between multi_heap_free_size() and esp_get_free_heap_size()?

The documentation for the former says: 'Returns free heap size. Returns the number of bytes available in the heap.' For the latter: 'Returns the current size of free heap memory'.
by yaghmr
Mon Oct 23, 2023 2:21 pm
Forum: General Discussion
Topic: Data storage
Replies: 6
Views: 4201

Re: Data storage

Ok. Please try the solution us suggested and let me know, if it doesn't work - I would try to find something more suitable. I don't expect troubles due SPI throughput, though, it's pretty fast compared to network operations Certainly, I will first try using the SPI flash, and if I notice any signif...
by yaghmr
Mon Oct 23, 2023 1:38 pm
Forum: General Discussion
Topic: Data storage
Replies: 6
Views: 4201

Re: Data storage

Still not sure what "very high" frequency means - could you describe in milliseconds, please? Like the shortest possible period, or approximate average Writing operations are linked to network initialization, handler registration, network traffic, task operations, so the frequency is not easily det...
by yaghmr
Mon Oct 23, 2023 9:24 am
Forum: General Discussion
Topic: Data storage
Replies: 6
Views: 4201

Re: Data storage

this depends on data update period in your application, the amount of data to be stored, etc... assuming you would like to store the data in ESP chip once per second (or slower), and send them to the cloud eventually, I recommend using standard file(s) in SPI Flash (FatFS partition). Please, take a...
by yaghmr
Tue Oct 17, 2023 2:50 pm
Forum: General Discussion
Topic: Data storage
Replies: 6
Views: 4201

Data storage

I need to save data to send periodically to the cloud.
There will be many write operations and a single read operation during each task cycle that sends the data to the cloud.
Where do you recommend storing this data: in the RTC memory, in the heap, in flash memory, or where?
by yaghmr
Thu Dec 15, 2022 1:14 pm
Forum: ESP-IDF
Topic: Additional Kconfig file
Replies: 2
Views: 1340

Re: Additional Kconfig file

Can you give a bit more context on what you want and why you want that? In general, you can include other KConfig files from a KConfig file, so if you simply want to make your KConfig more modular, that would be an option. More context: I have to distribute a component as a static library. In the a...
by yaghmr
Fri Dec 09, 2022 4:16 pm
Forum: ESP-IDF
Topic: Additional Kconfig file
Replies: 2
Views: 1340

Additional Kconfig file

Hi. Can I add a Kconfig file in addition to the default ones (Kconfig.projbuild and Kconfig)?
I've found only the argument KCONFIG of idf_component_register, but this argument overrides the default Kconfig file.