flash_write_check_gap() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDflash_write_check_gap()

flash_write_check_gap() function

Check if gap between sections is bigger than minimum required to discontinue flash write

Syntax

static bool flash_write_check_gap(struct flash_bank *bank,     target_addr_t addr1,     target_addr_t addr2);

Arguments

bank

addr1

addr2

References

LocationReferrerText
core.c:701
static bool flash_write_check_gap(struct flash_bank *bank,
core.c:835flash_write_unlock_verify()
if (flash_write_check_gap(c, run_next_addr - 1, next_section_base)) {

Call Tree

Functions calling flash_write_check_gap()
Functions called by flash_write_check_gap()
all items filtered out
flash_write_check_gap()
Data read by flash_write_check_gap()
Data written by flash_write_check_gap()
flash_write_check_gap()::sect
flash_write_check_gap()::offset1
flash_write_check_gap()::offset2
flash_write_check_gap()::aligned1
flash_write_check_gap()::aligned2
all items filtered out
flash_write_check_gap()
flash_write_check_gap()::sect
all items filtered out
Type of flash_write_check_gap()
flash_write_check_gap()
uint32_t
all items filtered out