Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_ambiq.c26 #define FLASH_WRITE_BLOCK_SIZE MAX(DT_PROP(SOC_NV_FLASH_NODE, write_block_size), MIN_WRITE_SIZE) macro
29 BUILD_ASSERT((FLASH_WRITE_BLOCK_SIZE & (MIN_WRITE_SIZE - 1)) == 0,
49 .write_block_size = FLASH_WRITE_BLOCK_SIZE,
90 uint32_t aligned[FLASH_WRITE_BLOCK_SIZE / sizeof(uint32_t)] = {0}; in flash_ambiq_write()
97 ((uint32_t)offset & (FLASH_WRITE_BLOCK_SIZE - 1)) || in flash_ambiq_write()
98 (len & (FLASH_WRITE_BLOCK_SIZE - 1))) { in flash_ambiq_write()
110 for (int i = 0; i < len / FLASH_WRITE_BLOCK_SIZE; i++) { in flash_ambiq_write()
111 for (int j = 0; j < FLASH_WRITE_BLOCK_SIZE / sizeof(uint32_t); j++) { in flash_ambiq_write()
119 (uint32_t *)(SOC_NV_FLASH_ADDR + offset + i * FLASH_WRITE_BLOCK_SIZE), in flash_ambiq_write()
120 FLASH_WRITE_BLOCK_SIZE / sizeof(uint32_t)); in flash_ambiq_write()
[all …]
/Zephyr-latest/tests/subsys/settings/fcb_init/src/
Dsettings_test_fcb_init.c38 #define FLASH_WRITE_BLOCK_SIZE \ macro
41 __aligned(FLASH_WRITE_BLOCK_SIZE)
42 uint8_t prepared_mark[FLASH_WRITE_BLOCK_SIZE] = {ERASED_VAL};
106 uint8_t new_val[FLASH_WRITE_BLOCK_SIZE]; in test_prepare_storage()
122 FLASH_WRITE_BLOCK_SIZE); in test_prepare_storage()
/Zephyr-latest/subsys/dfu/img_util/
Dflash_img.c48 #define FLASH_WRITE_BLOCK_SIZE \ macro
51 BUILD_ASSERT((CONFIG_IMG_BLOCK_BUF_SIZE % FLASH_WRITE_BLOCK_SIZE == 0),
/Zephyr-latest/doc/releases/
Drelease-notes-1.11.rst337 * :github:`5305` - flash: use generated FLASH_WRITE_BLOCK_SIZE in flash_stm32_api