Hi @floows-s,
esp_err_t is defined as an integer value ( typedef int esp_err_t ), which in C-language means it is by default (== variable declared without explicit initial value):
0 when declared as global or static variable
undefined value when used in a local context (eg variable inside a ...
Search found 40 matches
- Tue Feb 24, 2026 11:36 am
- Forum: General Discussion
- Topic: Default value of esp_err_t
- Replies: 1
- Views: 96
- Tue Dec 30, 2025 10:10 am
- Forum: ESP-IDF 中文讨论版
- Topic: SD卡SDIO初始化问题
- Replies: 10
- Views: 2369
Re: SD卡SDIO初始化问题
Hi @13302657252 ,
could you please switch Verbose logging on and share the logs here? Although it sounds like a hardware trouble, it may be helpful to see what's going on in the code
could you please switch Verbose logging on and share the logs here? Although it sounds like a hardware trouble, it may be helpful to see what's going on in the code
- Tue Dec 30, 2025 10:00 am
- Forum: ESP-IDF
- Topic: Need help mounting a FAT partition
- Replies: 9
- Views: 1488
Re: Need help mounting a FAT partition
Hi MickPF ,
addendum to your research:
- formatting FAT means all the data is lost, the file system is simply (re)built from scratch (as any other file system)
- the sector size matters a lot as it's the basic unit for building clusters (the smallest cluster == 1 sector). fatfsgen.py has a command ...
addendum to your research:
- formatting FAT means all the data is lost, the file system is simply (re)built from scratch (as any other file system)
- the sector size matters a lot as it's the basic unit for building clusters (the smallest cluster == 1 sector). fatfsgen.py has a command ...
- Wed Aug 27, 2025 4:02 pm
- Forum: ESP-IDF
- Topic: SDMMC Best Practices for Continual Writing
- Replies: 1
- Views: 424
Re: SDMMC Best Practices for Continual Writing
I have a setup where I will continually write data to the SD card whenever there is an SD card inserted (187.5 KB/sec written in chunks of ~9600 every 50 milliseconds). The SD card can be removed at any point and reinserted later. The data between then is unimportant, and losing a few chunks when ...
- Tue Apr 15, 2025 11:28 am
- Forum: General Discussion
- Topic: Task generation tool to LitlleFS workflow in VSCode
- Replies: 2
- Views: 183
Re: Task generation tool to LitlleFS workflow in VSCode
Hi PoleG97,
thank you for sharing your tool. We will certainly check it and provide a feedback!
Thanks for your ESP32 community suport.
thank you for sharing your tool. We will certainly check it and provide a feedback!
Thanks for your ESP32 community suport.
- Tue Apr 15, 2025 11:25 am
- Forum: General Discussion
- Topic: does FATFS and LITTLEFS supports encryption natively ?
- Replies: 1
- Views: 241
Re: does FATFS and LITTLEFS supports encryption natively ?
Hi kesha.modhia,
the flash encryption is actually provided by integrated HW module and there is no specific work to be done at file system level. The only point is the file system of your choice must be compatible with the encryption block size (32B) - which applies only to FatFS and LittleFS, not ...
the flash encryption is actually provided by integrated HW module and there is no specific work to be done at file system level. The only point is the file system of your choice must be compatible with the encryption block size (32B) - which applies only to FatFS and LittleFS, not ...
- Mon Mar 10, 2025 10:25 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ota 怎么升级storage分区数据
- Replies: 1
- Views: 2760
Re: ota 怎么升级storage分区数据
Hi,
I think you can, though it's not the default intention of OTA partition updates. See this discussion: https://esp32.com/viewtopic.php?t=8029
Let us know if it doesn't work you, please.
I think you can, though it's not the default intention of OTA partition updates. See this discussion: https://esp32.com/viewtopic.php?t=8029
Let us know if it doesn't work you, please.
- Sun Nov 24, 2024 8:55 am
- Forum: ESP-IDF
- Topic: NVS access issue when app size >8MB and PSRAM enabled
- Replies: 6
- Views: 4896
Re: NVS access issue when app size >8MB and PSRAM enabled
Hi @VinayDand,
error 0x101 means out of memory, which can have various reasons in your case. Quick-fix proposal before checking your logs:
try to enable NVS allocations in PSRAM in the menuconfig (idf.py menuconfig):
Component config > NVS > Prefers allocation of in-memory cache structures in SPI ...
error 0x101 means out of memory, which can have various reasons in your case. Quick-fix proposal before checking your logs:
try to enable NVS allocations in PSRAM in the menuconfig (idf.py menuconfig):
Component config > NVS > Prefers allocation of in-memory cache structures in SPI ...
- Sun Nov 24, 2024 8:34 am
- Forum: General Discussion
- Topic: host generated key if using idf.py encrypted-app-flash / encrypted-flash ?
- Replies: 2
- Views: 1911
Re: host generated key if using idf.py encrypted-app-flash / encrypted-flash ?
Hi @julcol,
ESP32* chips support development mode for applications using the flash-encryption features, so you don't need to "sacrifice" your hardware for testing. Reading through this chapter should give you all the necessary context: https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32 ...
ESP32* chips support development mode for applications using the flash-encryption features, so you don't need to "sacrifice" your hardware for testing. Reading through this chapter should give you all the necessary context: https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32 ...
- Thu Oct 31, 2024 10:43 am
- Forum: General Discussion
- Topic: Loading Image From SD Card
- Replies: 15
- Views: 7463
Re: Loading Image From SD Card
Ok, it sounds like your main trouble is resolved. I cannot provide much help for processing pictures, not my domain. Generally, you can expect troubles with the system resources when processing any larger image data - ESP32* is embedded platform, which naturally brings in quite a few limitations ...