Commit Graph

139 Commits (304288f00db8ad8a028ab1a4568c5227a69b0036)

Author SHA1 Message Date
Deepika 304288f00d
Merge pull request #73 from soramame21/ren-disco-f429
Support SD card driver on DISCO_F429ZI
2017-12-18 09:47:02 -06:00
Deepika e51f9c629c
Merge pull request #74 from deepikabhavnani/config_changes
Update the config file
2017-12-06 16:25:34 -06:00
deepikabhavnani e00a773a38 Removed application specific configs and kept SD driver library configs only 2017-12-01 11:25:31 -06:00
Boting Ren 43005346ad Support SD card driver on DISCO_F429ZI. 2017-11-30 18:13:43 +09:00
Deepika c16fa2bf36
Merge pull request #66 from deepikabhavnani/test_files
Adding test cases from littlefs filesystem
2017-11-28 14:25:21 -06:00
Deepika bfc3b4e015
Merge pull request #71 from ARMmbed/dev_Size
Block size as uint32_t gave incorrect device size
2017-11-23 08:54:19 -06:00
deepikabhavnani 8cf4f4d02a Use retarget defines 2017-11-22 17:39:44 -06:00
deepikabhavnani 0e21d07e5d Block size as uint32_t gave incorrect device size 2017-11-22 14:24:14 -06:00
Deepika 5df332930c
Merge pull request #70 from deepikabhavnani/mutex_rtos
Change mutex to PlatformMutex
2017-11-20 16:50:12 -06:00
Deepika dbc75efeb5 Change mutex to PlatformMutex 2017-11-20 15:29:53 -06:00
deepikabhavnani aab1f57a1e Seek test added from littlefs 2017-11-17 18:01:51 -06:00
deepikabhavnani 3051d5472c Space required between macro and string in C++11 2017-11-17 17:54:12 -06:00
Deepika 2f7660cdf3 Removed check for . and .. enteries in filesystem test
ChanFs -  Dot entries ("." and "..") in the sub-directory are filtered out and
they will never appear in the read items
2017-11-17 17:52:47 -06:00
Deepika 6dfd44366c
Merge pull request #65 from ashok-rao/master
Adding SPI pins for Thunderboard Sense 2.
2017-11-16 08:06:32 -06:00
Ashok Rao 376ddcc34d Slowing down SPI frequency in block_device basic test due to HW limitation in EFR32 2017-11-16 11:45:15 +00:00
deepikabhavnani 2900de1bdf Multithreaded test cases added 2017-11-15 16:07:20 -06:00
deepikabhavnani 11181798af Adding test cases from littlefs filesystem 2017-11-15 15:58:07 -06:00
Deepika a601d852b8
Merge pull request #67 from deepikabhavnani/test_checks
FSFAT_SDCARD_INSTALLED - Accepted from mbed_app.json only
2017-11-14 16:53:09 -06:00
Deepika e606c17627 FSFAT_SDCARD_INSTALLED - Null test were tested
FSFAT_SDCARD_INSTALLED if present in SD library no test was actually tested.
Using MBED_CONF_APP_FSFAT_SDCARD_INSTALLED or MBED_CONF_SD_FSFAT_SDCARD_INSTALLED,
to allow this define to be used from app and lib json files.
2017-11-14 09:48:32 -06:00
Deepika e0e0d0d34d Erase is not supported in newer versions, use trim 2017-11-14 09:47:27 -06:00
Ashok Rao 0d76922509 Adding SPI pins for Thunderboard Sense 2 2017-11-09 12:28:44 +00:00
Christopher Haster ae7e744005 Merge pull request #64 from deepikabhavnani/master
Updated Version and included block device test
2017-10-07 09:08:48 -05:00
Deepika 63b45dc7e6 Merge pull request #57 from ARMmbed/g-trim
Remove erase in favor of trim
2017-10-06 13:15:36 -05:00
Deepika 790d20786c Updated Version and included block device test
SD driver version is updated to 1.2 to indicate dependency on mbed-os 5.6.1
2017-10-06 11:33:35 -05:00
Christopher Haster 7a67bc5748 Incremented dependency to 5.6.1
Required for trim addition
2017-10-06 11:22:59 -05:00
Deepika c29add2058 Merge pull request #63 from ARMmbed/g-fix-travis-1
Fix .travis.yml requirements install
2017-09-27 11:49:18 -05:00
Christopher Haster f32cad9c5c Fix .travis.yml requirements install
Needs --user flag for reasons, see https://github.com/ARMmbed/mbed-os/pull/5061

superseeds https://github.com/ARMmbed/sd-driver/pull/60
cc @deepikabhavnani
2017-09-27 11:33:06 -05:00
Deepika 1cb007fb38 Merge pull request #61 from deepikabhavnani/sd_diff_cards
Deselecting card between read/write ops caused issues
2017-09-11 11:36:31 -05:00
Deepika c46d0779e7 Deselecting card between read/write ops caused issues
Deselecting card while it is busy programming and selecting again was causing
corruption (Illegal command) with slow speed cards. Will wait for read/write
operations to complete before deselecting the card.
2017-09-07 09:56:57 -05:00
Christopher Haster 9edd43dba5 Merge pull request #60 from ARMmbed/g-fix-travis
Fix .travis.yml requirements install
2017-09-06 18:35:05 -05:00
Christopher Haster 685e971c9e Fix .travis.yml requirements install
Recently, how pip installs dependencies in travis has changed.
Now, installing dependecies with sudo prevents import in user space.
2017-09-06 17:47:56 -05:00
Deepika 49262a39cd Merge pull request #58 from deepikabhavnani/sd_cmd12
Should not wait for card to be ready when sending stop command
2017-09-06 14:11:11 -05:00
Christopher Haster 94392432be Merge pull request #59 from deepikabhavnani/big_buf_issue
Force D0 enabled during device select
2017-08-31 10:24:19 -05:00
Deepika 6c6a594c95 Force D0 enabled during device select 2017-08-30 15:48:01 -05:00
Deepika d4d1d87bf8 Should not wait for card to be ready when sending stop command 2017-08-29 13:14:56 -05:00
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
Deepika 1d3fa9db3a Merge pull request #55 from ARMmbed/g-softer-erase
Changed erase to just noop if erases are too small for erase command
2017-08-28 15:17:46 -05:00
Ren Boting 6b10f286f5 Merge pull request #56 from soramame21/master
Add SD card reader support over DISCO_L476VG platform for running Cloud Client.
2017-08-24 01:36:26 +09:00
Deepika 2f6b8ead03 Merge pull request #54 from bentcooke/HEXIWEAR-add
add support for SD card holder on HEXIWEAR base board.
2017-08-21 10:14:06 -05:00
Deepika d5671e2b39 Merge pull request #48 from ARMmbed/cmd41_init_issue
Fixed SD card intialization failure
2017-08-21 10:13:30 -05:00
Boting Ren cbc18048a6 Add SD card reader support on DISCO_L476VG platform. 2017-08-21 23:44:36 +09:00
bentcooke fd4cd6aa0b increased test timeout to fix failing test due to slow sd card 2017-08-18 11:15:07 -05:00
Christopher Haster bab6699799 Changed erase to just noop if erases are too small for erase command
Since it's an optimization, we should only send the command if the range
of bytes being erased fits. get_erase_size should still report 512, and
the erase should just noop with <SECTOR_SIZE bytes being erased. If
filesystems erase a larger range (at least spiffs does this), the
optimization can kick in.
2017-08-18 11:12:39 -05:00
bentcooke e77f0ee9af add support for SD card holder on HEXIWEAR base board. 2017-08-18 10:38:32 -05:00
Deepika 0ac12a0251 Merge pull request #49 from LemonBoy/erase_size
Correct calculation of the erase sector size
2017-08-17 13:37:53 -05:00
LemonBoy 705462d321 Correct calculation of the erase sector size
The specification states that the real value is obtained by increasing
by one the value extracted from the csd register.
2017-08-17 17:18:44 +02:00
Deepika c7347c967c Merge pull request #50 from LemonBoy/sdcard-init-seq
Make the initialization sequence more flexible
2017-08-17 10:06:06 -05:00
Deepika 48c1b7e973 Merge pull request #42 from ARMmbed/test
Add support for Travis CI
2017-08-17 10:05:00 -05:00
Christopher Haster 2a1c923ec7 Merge pull request #53 from deepikabhavnani/dummy_read
Checking for version, for OS master support
2017-08-16 17:11:29 -05:00
Christopher Haster 521e7aeea7 Added support for Travis CI 2017-08-15 15:33:53 -05:00