Searched refs:FLASH_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance
50 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()
497 SPIParamCfg(0, FLASH_MAX_SIZE, FLASH_BLOCK_SIZE, FLASH_SECTOR_SIZE, in stub_main()
19 #define FLASH_BLOCK_SIZE 65536 macro22 #define SECTORS_PER_BLOCK (FLASH_BLOCK_SIZE / FLASH_SECTOR_SIZE)
18 #define FLASH_BLOCK_SIZE 0x10000 macro
169 #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()