Other Storages

[中文]


Can ESP32 use LittleFS file system?

LittleFS is a third-party component esp_littlefs, which can be used directly in ESP-IDF. You can use the mklittlefs tool for the image of LittleFS file system.


How to check the memory usage (e.g., DRAM, IRAM, rodata) of ESP32 chips?

You can check the estimated occupied static storage of ESP32 chips by inputting the instruction idf.py size-components under corresponding directories in terminal. You can use heap_caps_get_info to obtain dynamic applied memory during operation.


What is the available size of RTC RAM in ESP8266 for users?


How to enable exFAT?

CHIP: ESP32

  • please modify #define FF_FS_EXFAT 0 as #define FF_FS_EXFAT 1 , please reffer to ffconf.h for details.


Is there a limit to the number of partitions in the partition table of ESP32?

  • Yes. The length of partition table is 0xC00 bytes (can store up to 95 partition table entries). Please refer to the description in partition table.


How to read the remaining memory of the ESP32 chip?


What should I pay attention to when using xTaskCreateStatic() in ESP-IDF?


Based on the ESP-IDF SDK, when defining a global variable with RTC_NOINIT_ATTR uint32_t counter = 0;, the printed value is 1368610594. What is the reason for this?

  • The RTC_NOINIT_ATTR variable is compiled into the .rtc_noinit section, which is not cleared at startup. Therefore, assigning a value at variable initialization will not take effect. It only becomes effective when assigned after initialization.

  • When using RTC_NOINIT_ATTR to define a global variable, it is necessary to assign a value to the variable in the application code. The correct approach is as follows:

    RTC_NOINIT_ATTR uint32_t counter;
    counter = 0;
    printf("Counter value: %"PRIu32" \n",counter);