-
CONFIG_SPI_FLASH_AT45_USE_READ_MODIFY_WRITE
¶
Use Read-Modify-Write command in flash_write()
Type: bool
Help¶
Use the Read-Modify-Write command (opcode 0x58) instead of the default Main Memory Program without Built-In Erase (opcode 0x02). This allows writing of data without prior erasing of corresponding pages.
Default¶
y
Kconfig definition¶
At <Zephyr>/drivers/flash/Kconfig.at45:22
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:60
→ <Zephyr>/drivers/flash/Kconfig:61
Menu path: (Top) → Device Drivers → Flash hardware support → AT45 family flash driver
config SPI_FLASH_AT45_USE_READ_MODIFY_WRITE bool "Use Read-Modify-Write command in flash_write()" default y depends onSPI_FLASH_AT45
&&FLASH
help Use the Read-Modify-Write command (opcode 0x58) instead of the default Main Memory Program without Built-In Erase (opcode 0x02). This allows writing of data without prior erasing of corresponding pages.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)