esp-idf/components/spi_flash/test
Ivan Grokhotkov 92436021ab spi_flash: fix race condition in s_flash_op_complete access
Flash operation complete flag was cleared by the core initiating flash
operation. If the other core was running an ISR, then IPC task could
be late to enter the loop to check s_flash_op_complete by the time next
flash operation started. If the flag is cleared on the CPU waiting on
this flag, then the race condition can not happen.
2017-03-28 01:34:17 +08:00
..
component.mk add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_cache_disabled.c spi_flash: Add spi_flash_cache_enabled() test function 2017-03-03 15:33:23 +11:00
test_flash_encryption.c unit tests: Use a unit test app partition table, configure spi_flash to use data partition 2017-02-22 10:26:04 +11:00
test_mmap.c spi_flash: fix stale data being read from mmaped region 2017-03-04 17:48:44 +08:00
test_partitions.c spi_flash: Split large SPI flash operations into parts, allowing preemption 2017-03-22 15:35:54 +08:00
test_read_write.c spi_flash: Split large SPI flash operations into parts, allowing preemption 2017-03-22 15:35:54 +08:00
test_spi_flash.c spi_flash: fix race condition in s_flash_op_complete access 2017-03-28 01:34:17 +08:00