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

ESP32C6 design bootloader,gpio interrupt (IDFGH-14345) #15135

Open
zzff-sys opened this issue Jan 4, 2025 · 1 comment
Open

ESP32C6 design bootloader,gpio interrupt (IDFGH-14345) #15135

zzff-sys opened this issue Jan 4, 2025 · 1 comment
Labels
Status: Opened Issue is new

Comments

@zzff-sys
Copy link

zzff-sys commented Jan 4, 2025

  I use ESP32C6 design bootloader,Need to use the gpio interrupt.Because design bootloader, so freertos System unavailable,so I need to rewrite the gpio driver function。For example:gpio_install_isr_service,gpio_isr_handler_add,gpio_isr_register,esp_intr_alloc_intrstatus
I have redesigned it, but now the problem is that my interrupt cannot be triggered when the system is running. After checking, the gpio interrupt failed to register, which I suspect is related to my rewritten function. Please help me analyze the rewritten function

image
image
image
image

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 4, 2025
@github-actions github-actions bot changed the title ESP32C6 design bootloader,gpio interrupt ESP32C6 design bootloader,gpio interrupt (IDFGH-14345) Jan 4, 2025
@KonstantinKondrashov
Copy link
Collaborator

Hi @zzff-sys!
I wonder why you need to use GPIO interrupts in the bootloader. Could you provide more details about your specific use case? There might be alternative approaches we can suggest that better align with your requirements.

It's also important to note that ESP-IDF does not officially support using the GPIO driver in the bootloader. The bootloader operates in a minimal environment without FreeRTOS or the full ESP-IDF framework.

If you can share more about your goals, we can help explore other solutions that work within the constraints of the bootloader.

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

No branches or pull requests

3 participants