]> granicus.if.org Git - esp-idf/commit
spi_flash: Split large SPI flash operations into parts, allowing preemption
authorAngus Gratton <angus@espressif.com>
Wed, 22 Mar 2017 03:48:33 +0000 (11:48 +0800)
committerAngus Gratton <angus@espressif.com>
Wed, 22 Mar 2017 07:35:54 +0000 (15:35 +0800)
commitd8fda4855193d28eb81681a58b7ef7202d93d8aa
tree149ece85d8022a6a422939fbee6e2b8cd4b701ab
parent57486a1f618fa39771e7e1e875fd4ab59584e2c5
spi_flash: Split large SPI flash operations into parts, allowing preemption

* Erase range operations allow preemption after each block or sector.
* Write operations allow preemption every 8KB of data.
* Reado operations allow preemption every 16KB of data.
components/spi_flash/flash_ops.c
components/spi_flash/test/test_partitions.c [new file with mode: 0644]
components/spi_flash/test/test_read_write.c