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

Return value

ESP_OK on success, or a flash error code if initialisation fails.

Notes

Only the ``host`` and ``read_mode`` fields of the chip structure must be initialised before this function is called. Other fields may be auto-detected if left set to zero or NULL. If the chip->drv pointer is NULL, chip chip_drv will be auto-detected based on its manufacturer & product IDs. See ``esp_flash_registered_flash_drivers`` pointer for details of this process.

References

from 0/1 examples