Home
last modified time | relevance | path

Searched refs:chip_size (Results 1 – 19 of 19) sorted by relevance

/hal_espressif-3.7.0/components/bootloader_support/src/
Dflash_partitions.c18 uint32_t chip_size = g_rom_flashchip.chip_size; in esp_partition_table_verify() local
26 if (pos->offset > chip_size || pos->offset + pos->size > chip_size) { in esp_partition_table_verify()
29 num_parts, pos->offset, pos->size, chip_size); in esp_partition_table_verify()
/hal_espressif-3.7.0/components/spi_flash/sim/
DSpiFlash.cpp42 void SpiFlash::init(uint32_t chip_size, uint32_t block_size, uint32_t sector_size, uint32_t page_si… in init() argument
48 this->chip_size = chip_size; in init()
53 this->blocks = DIV_AND_CEIL(this->chip_size, this->block_size); in init()
54 this->sectors = DIV_AND_CEIL(this->chip_size, this->sector_size); in init()
55 this->pages = DIV_AND_CEIL(this->chip_size, this->page_size); in init()
67 this->memory = (uint8_t *) malloc(this->chip_size); in init()
68 memset(this->memory, 0xFF, this->chip_size); in init()
94 return this->chip_size; in get_chip_size()
Dflash_mock.cpp39 extern "C" void _spi_flash_init(const char* chip_size, size_t block_size, size_t sector_size, size_… in _spi_flash_init() argument
41 size_t size = convert_chip_size_string(chip_size); in _spi_flash_init()
47 g_rom_flashchip.chip_size = size; in _spi_flash_init()
DSpiFlash.h26 …void init(uint32_t chip_size, uint32_t block_size, uint32_t sector_size, uint32_t page_size, const…
52 uint32_t chip_size;
/hal_espressif-3.7.0/components/spi_flash/
Desp_flash_spi_init.c393 if (default_chip.size < legacy_chip->chip_size) { in esp_flash_init_default_chip()
394 …the binary image header(%dk). Probe failed.", default_chip.size/1024, legacy_chip->chip_size/1024); in esp_flash_init_default_chip()
398 if (default_chip.size > legacy_chip->chip_size) { in esp_flash_init_default_chip()
399 … Using the size in the binary image header.", default_chip.size/1024, legacy_chip->chip_size/1024); in esp_flash_init_default_chip()
402 default_chip.size = legacy_chip->chip_size; in esp_flash_init_default_chip()
Dflash_mmap.c375 if (addr >= g_rom_flashchip.chip_size) { in spi_flash_check_and_flush_cache()
Desp_flash_api.c1300 if (address + length > g_rom_flashchip.chip_size) { in esp_flash_read_encrypted()
/hal_espressif-3.7.0/components/esp_rom/include/
Desp_rom_spiflash.h36 uint32_t chip_size; // chip size in bytes member
166 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/patches/
Desp_rom_spiflash.c272 if ((flash_addr + byte_length) > (spi->chip_size)) { in esp_rom_spiflash_read_data()
443 if (block_num >= ((g_rom_spiflash_chip.chip_size) / (g_rom_spiflash_chip.block_size))) { in esp_rom_spiflash_erase_block()
463 if (sector_num >= ((g_rom_spiflash_chip.chip_size) / (g_rom_spiflash_chip.sector_size))) { in esp_rom_spiflash_erase_sector()
489 if ( (dest_addr + len) > (g_rom_spiflash_chip.chip_size)) { in esp_rom_spiflash_write()
626 if ((start_addr + area_len) > g_rom_spiflash_chip.chip_size) { in esp_rom_spiflash_erase_area()
/hal_espressif-3.7.0/tools/esptool_py/flasher_stub/include/
Drom_functions.h47 uint32_t SPIParamCfg(uint32_t deviceId, uint32_t chip_size, uint32_t block_size, uint32_t sector_si…
84 uint32_t chip_size; // chip size in bytes member
/hal_espressif-3.7.0/components/esp_rom/include/esp32/rom/
Dspi_flash.h262 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/include/esp32s2/rom/
Dspi_flash.h233 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/include/esp32c3/rom/
Dspi_flash.h233 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/include/esp32c2/rom/
Dspi_flash.h239 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/include/esp32c6/rom/
Dspi_flash.h226 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/include/esp32h2/rom/
Dspi_flash.h226 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/esp_rom/include/esp32s3/rom/
Dspi_flash.h270 esp_rom_spiflash_result_t esp_rom_spiflash_config_param(uint32_t deviceId, uint32_t chip_size, uint…
/hal_espressif-3.7.0/components/bootloader_support/bootloader_flash/src/
Dbootloader_flash_config_esp32s2.c40 g_rom_flashchip.chip_size = size; in bootloader_flash_update_size()
Dbootloader_flash_config_esp32.c44 g_rom_flashchip.chip_size = size; in bootloader_flash_update_size()