Merge branch 'contrib/github_pr_18290' into 'master'

docs(spi_flash): Fix redundant phrasing in esp_flash_get_size description (GitHub PR)

Closes IDFGH-17305

See merge request espressif/esp-idf!46191
This commit is contained in:
morris
2026-03-02 23:01:31 +08:00

View File

@@ -71,7 +71,7 @@ esp_err_t esp_flash_read_id(esp_flash_t *chip, uint32_t *out_id);
*
* @note 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.
* 2. 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.
*
* @return ESP_OK on success, or a flash error code if operation failed.