mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-03 23:57:34 +00:00
Merge branch 'feature/docs_partition_ota_flash' into 'master'
Partition/SPI/OTA docs & OTA new functionality * Update partition, SPI flash & OTA docs to reflect functionality changes * Refactor OTA implementation to perform checks mentioned in API doc * Add new functions to OTA API: esp_ota_get_running_partition() & esp_ota_get_next_update_partition() functions * Add spi_flash_cache2phys() & spi_flash_phys2cache() functions to support esp_ota_get_running_partition() See merge request !513
This commit is contained in:
@@ -107,14 +107,13 @@ void IRAM_ATTR call_start_cpu0()
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @function : load_partition_table
|
||||
* @description: Parse partition table, get useful data such as location of
|
||||
* OTA info sector, factory app sector, and test app sector.
|
||||
/** @brief Load partition table
|
||||
*
|
||||
* @inputs: bs bootloader state structure used to save the data
|
||||
* @return: return true, if the partition table is loaded (and MD5 checksum is valid)
|
||||
* Parse partition table, get useful data such as location of
|
||||
* OTA data partition, factory app partition, and test app partition.
|
||||
*
|
||||
* @param bs bootloader state structure used to save read data
|
||||
* @return return true if the partition table was succesfully loaded and MD5 checksum is valid.
|
||||
*/
|
||||
bool load_partition_table(bootloader_state_t* bs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user