Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/haas1000/drivers/services/interconnection/green/
A Dapp_interaction_ota.h16 #define FLASH_SECTOR_SIZE_IN_BYTES 4096 macro
17 #define OTA_DATA_BUFFER_SIZE_FOR_BURNING FLASH_SECTOR_SIZE_IN_BYTES
18 #define INTERACTION_OTA_NORFLASH_BUFFER_LEN (FLASH_SECTOR_SIZE_IN_BYTES*2)
66 uint32_t upgradeSize[(FLASH_SECTOR_SIZE_IN_BYTES - 8) / 4];
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/interconnection/red/
A Dapp_interconnection_ota.h19 #define FLASH_SECTOR_SIZE_IN_BYTES 4096 macro
20 #define OTA_DATA_BUFFER_SIZE_FOR_BURNING FLASH_SECTOR_SIZE_IN_BYTES
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dflash.c295 uint16_t start_sec = (addr / FLASH_SECTOR_SIZE_IN_BYTES);
296 uint16_t end_sec = ((addr + size - 1) / FLASH_SECTOR_SIZE_IN_BYTES);
298 if (addr % FLASH_SECTOR_SIZE_IN_BYTES != 0) {
308 ret = hal_norflash_erase(HAL_NORFLASH_ID_0, start_addr, FLASH_SECTOR_SIZE_IN_BYTES);
313 start_addr += FLASH_SECTOR_SIZE_IN_BYTES;
/AliOS-Things-master/hardware/chip/haas1000/aos/
A Dota_port.c84 uint8_t buffer[FLASH_SECTOR_SIZE_IN_BYTES] = {0}; in ota_set_bootinfo()
110 ret = hal_norflash_erase(HAL_NORFLASH_ID_0, start_addr, FLASH_SECTOR_SIZE_IN_BYTES); in ota_set_bootinfo()
116 ret = hal_norflash_write(HAL_NORFLASH_ID_0, start_addr, buffer, FLASH_SECTOR_SIZE_IN_BYTES); in ota_set_bootinfo()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_norflash.h17 #define FLASH_SECTOR_SIZE_IN_BYTES 4096 macro

Completed in 12 milliseconds