-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
feat(sdmmc): Add SDMMC support for P4 + remove BUILTIN LED #10460
Merged
me-no-dev
merged 17 commits into
espressif:release/v3.1.x
from
P-R-O-C-H-Y:feat/sdmm-p4
Oct 21, 2024
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
3267407
feat(sdmmc): Add support for P4
P-R-O-C-H-Y 5b59ba4
fix(board): Remove builtin led
P-R-O-C-H-Y e7ae985
Update libraries/SD_MMC/examples/SDMMC_Test/SDMMC_Test.ino
P-R-O-C-H-Y dd024ab
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] 21d2b13
feat(sdmmc): Option to set power channel
P-R-O-C-H-Y 41934e5
feat(sdmmc): Update pins_arduino.h
P-R-O-C-H-Y 58b1967
feat(sdmmc): remove sdmmc power from periman
P-R-O-C-H-Y e2ffbee
fix(sdmmc): use corrent variable
P-R-O-C-H-Y f533457
fix(sdmmc): Remove periman
P-R-O-C-H-Y a3968f4
feat(sdmmc): Toggle power pin if defined
P-R-O-C-H-Y f8d1989
feat(sdmmc): setPowerChannel available only when supported
P-R-O-C-H-Y 96a513f
feat(sdmmc): Toggle sd power pin for 200ms
P-R-O-C-H-Y 3ff5492
fix(example): Remove p4 pins as they are listed already
P-R-O-C-H-Y 773e0a8
feat(sdmmc): Check if power channel is specified
P-R-O-C-H-Y f9a5271
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] a14824f
fix(ci): codespell fix
P-R-O-C-H-Y a753474
Merge branch 'feat/sdmm-p4' of https://github.com/P-R-O-C-H-Y/arduino…
P-R-O-C-H-Y File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually work? IIUC, the current sdmmc driver expects all pins to be set to 0 for IOMUX slots.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need the pins for Peripheral manager.
Later the config is cleared, as the SDMMC_SLOT_CONFIG_DEFAULT for P4 is setting the pins in the config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For P4 it will be always this config:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As both IOMUX and GPIO Matrix are supported, this will never be used for P4.
#if SOC_SDMMC_USE_IOMUX && !SOC_SDMMC_USE_GPIO_MATRIX