:orphan: .. title:: SPI_FLASH_AT45_USE_READ_MODIFY_WRITE .. option:: 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. Direct dependencies =================== \ :option:`SPI_FLASH_AT45 ` && \ :option:`FLASH ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== .. highlight:: kconfig At ``drivers/flash/Kconfig.at45:22`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:60`` → ``drivers/flash/Kconfig:61`` Menu path: (Top) → Device Drivers → Flash hardware support → AT45 family flash driver .. parsed-literal:: config SPI_FLASH_AT45_USE_READ_MODIFY_WRITE bool "Use Read-Modify-Write command in flash_write()" default y depends on \ :option:`SPI_FLASH_AT45 ` && \ :option:`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.)*