Home
last modified time | relevance | path

Searched refs:FLASH_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.5.0/components/esptool_py/esptool/flasher_stub/
Dstub_commands.c50 while (len > 0 && (addr % FLASH_BLOCK_SIZE != 0)) { in handle_flash_erase()
64 while (len > FLASH_BLOCK_SIZE) { in handle_flash_erase()
67 if (esp_rom_opiflash_erase_block_64k(addr / FLASH_BLOCK_SIZE) != 0) return 0x36; in handle_flash_erase()
69 if (SPIEraseBlock(addr / FLASH_BLOCK_SIZE) != 0) return 0x36; in handle_flash_erase()
72 if (SPIEraseBlock(addr / FLASH_BLOCK_SIZE) != 0) return 0x36; in handle_flash_erase()
74 len -= FLASH_BLOCK_SIZE; in handle_flash_erase()
75 addr += FLASH_BLOCK_SIZE; in handle_flash_erase()
Dstub_flasher.c497 SPIParamCfg(0, FLASH_MAX_SIZE, FLASH_BLOCK_SIZE, FLASH_SECTOR_SIZE, in stub_main()
/hal_espressif-3.5.0/components/esptool_py/esptool/flasher_stub/include/
Dstub_flasher.h19 #define FLASH_BLOCK_SIZE 65536 macro
22 #define SECTORS_PER_BLOCK (FLASH_BLOCK_SIZE / FLASH_SECTOR_SIZE)
/hal_espressif-3.5.0/components/bootloader_support/include_bootloader/
Dbootloader_flash_priv.h18 #define FLASH_BLOCK_SIZE 0x10000 macro
/hal_espressif-3.5.0/components/bootloader_support/src/
Dbootloader_flash.c169 #define MMU_FREE_PAGES (MMU_SIZE / FLASH_BLOCK_SIZE)
469 const size_t sectors_per_block = FLASH_BLOCK_SIZE / FLASH_SECTOR_SIZE; in bootloader_flash_erase_range()