-
Notifications
You must be signed in to change notification settings - Fork 8.2k
tests: fs: fat_fs_api: add support for testing SDMMC devices #73437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: fs: fat_fs_api: add support for testing SDMMC devices #73437
Conversation
|
@sylvioalves sorry for the ping here, I don't fully understand the twister error here: I can't reproduce this locally with Working example with Broken example with twister: Any idea why the twister image would be a different size? |
|
@danieldegrasse, the issue is already known in our side and we have a fix already for it. However, |
@sylvioalves any news here? |
@danieldegrasse, sorry for taking that long. Will submit a fix tomorrow. |
|
@danieldegrasse would you rebase this? |
Wipe partition header prior to fatfs testsuite starting. This insures that the disk will be in an unformatted state at the start of the test, so the first fs_mount() calls will fail as expected. Signed-off-by: Daniel DeGrasse <[email protected]>
Add support for testings SDMMC devices using the fat_fs_api test. Signed-off-by: Daniel DeGrasse <[email protected]>
d2ef7ef to
82180e0
Compare
|
@danieldegrasse do you need this to be merged within v3.7.0? |
Not particularly, no. The additional test coverage would be a nice to have though |
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
|
@de-nordic ping, could you take a look at this change? |
Add support for testing SDMMC devices to the fatfs API test. This also requires wiping the beginning of the disk at the start of the test, in order to make sure a filesystem partition is not present on the SD card from a previous run of the test