Commit Graph

4 Commits (69f3902e95d1b0800f6f077df15243a567aa49c8)

Author SHA1 Message Date
Christopher Haster 69f3902e95 Remove erase in favor of trim
For better or worse, erase in the block device API is intended for flash
erases, which is a low-level operation that must occur before every
write and limits the write size of the underlying blocks. This is
different than the erase size found in SD cards, which does not limit
the write size for blocks.

Following the standard set by ATA and the ioctl function, we are adding
a seperate operation for the SD card erase behaviour named trim.

See for more info:
https://en.wikipedia.org/wiki/Trim_(computing)
2017-08-28 15:56:57 -05:00
Christopher Haster 97248873a4 Added constructor parameter for frequency 2017-07-05 12:27:22 -05:00
Christopher Haster 15f33154c6 Renamed set_freq -> frequency 2017-07-05 12:19:29 -05:00
Simon Hughes 3fa6b88ef8 Repository re-organisation and cleanup to follow same structure as other mbed-os component repositories. 2017-07-05 11:45:11 -05:00