Home
last modified time | relevance | path

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

/components/drivers/usb/cherryusb/platform/uf2/
A Dbootuf2.c158 if (uf2->NumberOfBlock) { in bootuf2block_check_writable()
159 if (uf2->BlockIndex < block_max) { in bootuf2block_check_writable()
161 uint32_t pos = uf2->BlockIndex / 8; in bootuf2block_check_writable()
175 if (uf2->NumberOfBlock) { in bootuf2block_state_update()
187 if (uf2->BlockIndex < block_max) { in bootuf2block_state_update()
189 uint32_t pos = uf2->BlockIndex / 8; in bootuf2block_state_update()
199 uf2->NumberOfBllock, STATE->NumberOfWritten, uf2->BlockIndex); in bootuf2block_state_update()
241 memcpy(ctx->cache + ctx->cached_bytes, uf2->Data, uf2->PayloadSize); in bootuf2_flash_write_internal()
244 ctx->cached_bytes += uf2->PayloadSize; in bootuf2_flash_write_internal()
413 struct bootuf2_BLOCK *uf2 = (void *)buff; in bootuf2_write_sector() local
[all …]

Completed in 2 milliseconds