ESP-IDF + 0/4 examples
SourceVu will show references to esp_flash_get_size() from the following samples and libraries:
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsRelatedExamplesReferencesCall TreeData Use

Return value

ESP_OK on success, or a flash error code if operation failed.

Notes

1. Most flash chips use a common format for flash ID, where the lower 4 bits specify the size as a power of 2. If the manufacturer doesn't follow this convention, the size may be incorrectly detected. 2. The out_size returned only stands for The out_size stands for the size in the binary image header. If you want to get the real size of the chip, please call `esp_flash_get_physical_size` instead.

References

from 0/4 examples