bootloader_flash_update_size() function
Update the flash size in g_rom_flashchip (global esp_rom_spiflash_chip_t structure).
Syntax
void bootloader_flash_update_size(uint32_t size); Arguments
size
The size to store, in bytes.
Return value
None
bootloader_flash_update_size() reads 1 variable and writes 1 variable:
![]()
bootloader_flash_update_size()