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

drivers: esp32: SDHC implementation #71165

Merged
merged 4 commits into from
Apr 30, 2024

Conversation

raffarost
Copy link
Collaborator

@raffarost raffarost commented Apr 5, 2024

ESP32 support for SD cards using SDIO interface

@zephyrbot
Copy link
Collaborator

zephyrbot commented Apr 5, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_espressif zephyrproject-rtos/hal_espressif@dddb7cf (zephyr) zephyrproject-rtos/hal_espressif@e554857 zephyrproject-rtos/hal_espressif@dddb7cf3..e554857b

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Copy link
Collaborator

@danieldegrasse danieldegrasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comment- please avoid using static global variables in this driver, unless the variable can be shared across multiple instances. For example, it seems one HAL context structure would need to be allocated per device instance, so that structure should be defined in a device data structure

@raffarost raffarost force-pushed the feature/sdhc branch 2 times, most recently from 3cb2ed3 to e90c96a Compare April 23, 2024 20:32
@raffarost raffarost force-pushed the feature/sdhc branch 2 times, most recently from ffdebde to ab54a1f Compare April 25, 2024 20:09
hal_espressif update for SDHC driver support

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
@raffarost raffarost force-pushed the feature/sdhc branch 3 times, most recently from 3e2802f to d239364 Compare April 26, 2024 13:21
danieldegrasse
danieldegrasse previously approved these changes Apr 26, 2024
Copy link
Collaborator

@danieldegrasse danieldegrasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work here!

Raffael Rostagno added 3 commits April 26, 2024 11:28
Implementation of SDHC driver for ESP32

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Configuration files to enable SDHC in esp_wrover_kit

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
Alias created for sdhc0 SPI device to avoid conflict with
SDIO device names.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
@carlescufi carlescufi merged commit 254aae1 into zephyrproject-rtos:main Apr 30, 2024
24 checks passed
@ithinuel
Copy link
Collaborator

ithinuel commented May 1, 2024

Hei, I'm seeing error about e554857b07d54e2152c6f1a9b39da6d6c13fe7f7 not being in hal_espressif. It looks like it should be c49581173bab8625d1f08d5c41d5a186afc240b3 instead.

sylvioalves added a commit to sylvioalves/zephyr that referenced this pull request May 1, 2024
Update revision reference for PR zephyrproject-rtos#71165 as needed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
fabiobaltieri pushed a commit that referenced this pull request May 2, 2024
Update revision reference for PR #71165 as needed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
@raffarost raffarost deleted the feature/sdhc branch May 7, 2024 18:36
mariopaja pushed a commit to mariopaja/zephyr that referenced this pull request May 26, 2024
Update revision reference for PR zephyrproject-rtos#71165 as needed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants