Home
last modified time | relevance | path

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

/lk-master/platform/stm32f7xx/
A Dflash.c24 #define _128K (128 * 1024U) macro
30 #define ERASE_RANGE1_END (ERASE_RANGE1_START + _128K)
64 flash.geometry[1].erase_size = _128K; in stm32_flash_init()
65 flash.geometry[1].erase_size = log2_uint(_128K); in stm32_flash_init()
138 *sector = (offset - ERASE_RANGE1_START) / _128K + 4; in offset_to_sector()
139 *sector_offset = ROUNDDOWN(offset - ERASE_RANGE1_START, _128K) + ERASE_RANGE1_START; in offset_to_sector()
140 *next_offset = *sector_offset + _128K; in offset_to_sector()

Completed in 4 milliseconds