:orphan: .. title:: CONFIG_SPI_FLASH_AT45_USE_READ_MODIFY_WRITE .. kconfig:: CONFIG_SPI_FLASH_AT45_USE_READ_MODIFY_WRITE CONFIG_SPI_FLASH_AT45_USE_READ_MODIFY_WRITE ########################################### *Use Read-Modify-Write command in flash\_write()* Type: ``bool`` Help ==== .. code-block:: none 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. Direct dependencies =================== \ :kconfig:`SPI_FLASH_AT45 ` && \ :kconfig:`FLASH ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/flash/Kconfig.at45:22`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:62`` → ``/flash/Kconfig:63`` Menu path: (Top) → Device Drivers → Flash hardware support → AT45 family flash driver .. code-block:: kconfig config SPI_FLASH_AT45_USE_READ_MODIFY_WRITE bool "Use Read-Modify-Write command in flash_write()" default y depends on SPI_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.)*