mirror of https://github.com/wolfSSL/wolfBoot.git
F-12892: wolfBoot_update_trigger acts on the update partition
The function sets the update partition state to IMG_STATE_UPDATING and erases the update partition last sector; the doc said boot partition.pull/892/head
parent
180647eb1c
commit
17d6cc2604
|
|
@ -865,8 +865,8 @@ void RAMFUNCTION wolfBoot_erase_partition(uint8_t part)
|
|||
/**
|
||||
* @brief Update trigger function.
|
||||
*
|
||||
* This function updates the boot partition state to "IMG_STATE_UPDATING".
|
||||
* If the FLAGS_HOME macro is defined, it erases the last sector of the boot
|
||||
* This function sets the update partition state to "IMG_STATE_UPDATING".
|
||||
* If the FLAGS_HOME macro is defined, it erases the last sector of the update
|
||||
* partition before updating the partition state. It also checks FLAGS_UPDATE_EXT
|
||||
* and calls the appropriate flash unlock and lock functions before
|
||||
* updating the partition state.
|
||||
|
|
|
|||
Loading…
Reference in New Issue