Skip to content

Conversation

renzenicolai
Copy link

@renzenicolai renzenicolai commented Sep 21, 2025

Description

Adds a kconfig option for resetting the SDIO slave using a callback function instead of a GPIO.

This change is needed because on my product the reset line of the ESP32-C6 slave is not directly connected to the ESP32-P4.

This PR adds support for optionally defining a function in user code to replace the reset action normally executed using a GPIO pin, allowing for a custom reset procedure. In our case we send a command to an I2C device in order to reset the ESP32-C6 radio.

Related

Testing

Tested on our hardware using an ESP32-C6 as SDIO slave device.


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 21, 2025
@github-actions github-actions bot changed the title Feature: allow SDIO slave reset using callback instead of GPIO Feature: allow SDIO slave reset using callback instead of GPIO (EHM-104) Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants