Skip to content
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

Initial release of SD/MMC interface driver #13214

Closed
wants to merge 7 commits into from

Conversation

pic16f887
Copy link

Pull request contains generic API interface for SD/MMC device and device specific driver for STM32F7 MCU family.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Feb 9, 2019

All checks are passing now.

Review history of this comment for details about previous failed status.
Note that some checks might have not completed yet.

@codecov-io
Copy link

codecov-io commented Feb 9, 2019

Codecov Report

Merging #13214 into master will decrease coverage by 3.37%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13214      +/-   ##
==========================================
- Coverage   52.12%   48.75%   -3.38%     
==========================================
  Files         316      319       +3     
  Lines       46819    46871      +52     
  Branches    10851    10835      -16     
==========================================
- Hits        24404    22850    -1554     
- Misses      17479    19394    +1915     
+ Partials     4936     4627     -309
Impacted Files Coverage Δ
lib/libc/minimal/include/stdlib.h 0% <0%> (-100%) ⬇️
...ys/bluetooth/controller/ll_sw/nordic/lll/lll_adv.h 0% <0%> (-88%) ⬇️
subsys/bluetooth/controller/ll_sw/ull_slave.c 0% <0%> (-81.77%) ⬇️
...oth/controller/ll_sw/nordic/lll/lll_adv_internal.h 0% <0%> (-76.48%) ⬇️
.../bluetooth/controller/ll_sw/nordic/lll/lll_slave.c 0% <0%> (-65.52%) ⬇️
...ys/bluetooth/controller/ll_sw/nordic/lll/lll_adv.c 2.16% <0%> (-55.85%) ⬇️
subsys/bluetooth/controller/ll_sw/ull_adv.c 5.45% <0%> (-43.18%) ⬇️
subsys/net/ip/dhcpv4.c 6.14% <0%> (-35.39%) ⬇️
subsys/bluetooth/controller/ll_sw/ull_conn.c 16.67% <0%> (-33.4%) ⬇️
subsys/bluetooth/controller/ll_sw/ull_sched.c 50% <0%> (-33.34%) ⬇️
... and 206 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e58df2c...eab5667. Read the comment docs.

@pic16f887 pic16f887 force-pushed the master branch 2 times, most recently from f28d6ca to e66404b Compare February 10, 2019 09:27
@ChaserTlss
Copy link

Anyone review this? Maybe this patch is useful for me.

@hongshui3000
Copy link
Contributor

+1

@hongshui3000
Copy link
Contributor

What is the status of this pull request?

@erwango erwango added platform: STM32 ST Micro STM32 area: API Changes to public APIs labels May 27, 2019
@erwango
Copy link
Member

erwango commented May 27, 2019

@pic16f887, sorry for late feedback on this. Had missed this proposal.
After having had a very quick look, this seems rather good, even if I can't comment on the proposed API.
Could you rebase the PR so we can start an active review?

Yurii Hamann added 7 commits May 28, 2019 11:25
Driver contains the following APIs:
1. Minimal command set needed for SD/MMC card initialization.
2. R1, R2, R3, R6, R7 response handlers.
3. Block write and read APIs.

Signed-off-by: Yurii Hamann <yurii@hamann.site>
Added pinmux definitions for STM32F7 family

Signed-off-by: Yurii Hamann <yurii@hamann.site>
Device tree binding support for STM32 MCUs

Signed-off-by: Yurii Hamann <yurii@hamann.site>
1. Added SD/MMC interface dts_fixup definitons.
2. Added HAL header for STM32F7 family MCUs.

Signed-off-by: Yurii Hamann <yurii@hamann.site>
Added SD/MMC interface enry in stm32f7 device tree file.

Signed-off-by: Yurii Hamann <yurii@hamann.site>
Notes:
1. The drivers isn't ready for production use.
2. Block read/write API support only single block operations.
3. Currently no DMA support.

Signed-off-by: Yurii Hamann <yurii@hamann.site>
1. Added pinmux definitions for SD/MMC interface.
2. Modified board dts file.
3. SD/MMC interface enabled in board config file.

Signed-off-by: Yurii Hamann <yurii@hamann.site>
@pic16f887
Copy link
Author

@erwango, I have rebased the code.

@erwango
Copy link
Member

erwango commented Jul 25, 2019

@pic16f887, sorry once again for letting this PR not reviewed.
To get more attention on that PR, can you please split the generic API and STM32 parts?
The generic API should get more attention.

@galak
Copy link
Collaborator

galak commented Sep 19, 2019

@pic16f887 any updates on this?

@galak galak added the Stale PR label Sep 19, 2019
@avisconti
Copy link
Collaborator

Adding support to SDMMC looks quite interesting.
Has it been abandoned?

@pic16f887
Copy link
Author

Currently I don't have a free time to finish it. You are free to use this code.

@galak
Copy link
Collaborator

galak commented Jan 30, 2020

Closing PR as its been marked stale for several months. Feel free to re-open and update if desired.

@galak galak closed this Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants