ARMmbed / dataflash-driver

Block device driver for DataFlash devices
Apache License 2.0
7 stars 4 forks source link

Add thread safety, robustness, and filesystem tests #1

Closed marcuschangarm closed 2 years ago

marcuschangarm commented 7 years ago
marcuschangarm commented 7 years ago

I didn't use the SPI mutex after all since that would lock the SPI bus longer than necessary.

The not-write-protect pin comes after the frequency so that the arguments are compatible with the spif-driver.

The software reset is there because the device seem to enter an undefined state sometimes.