![]() ![]() ![]() The OTA data partition will be cleared.ĬONFIG_BOOTLOADER_NUM_PIN_FACTORY_RESET- number of the GPIO input for factory reset uses to trigger a factory reset, this GPIO must be pulled low on reset to trigger this.ĬONFIG_BOOTLOADER_HOLD_TIME_GPIO- this is hold time of GPIO for reset/test mode (by default 5 seconds). Partitions of type “app” cannot be specified here.ĬONFIG_BOOTLOADER_OTA_DATA_ERASE - the device will boot from “factory” partition after a factory reset. Make sure that the name specified in the partition table and here are the same. ![]() (Like this: “nvs, phy_init, nvs_custom, …”). The factory reset mechanism allows to reset the device to factory settings:ĬONFIG_BOOTLOADER_DATA_FACTORY_RESET allows customers to select which data partitions will be erased when the factory reset is executed.Ĭan specify the names of partitions through comma-delimited with optional spaces for readability. If you want to be able to roll back to the factory firmware and clear the settings, then you need to set CONFIG_BOOTLOADER_FACTORY_RESET. The updated firmware will be loaded into an OTA app partition slot and the OTA data partition is updated to boot from this partition. Next, update the firmware via OTA (over the air). The user can write a basic working firmware and load it into the factory partition. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |