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

call to IDF function gpio_install_isr_service() fails with error code 0x105 #566

Open
scaprile opened this issue Jan 6, 2021 · 5 comments

Comments

@scaprile
Copy link

scaprile commented Jan 6, 2021

A call to gpio_install_isr_service() always fails with error code 0x105:
ESP_ERR_NOT_FOUND (0x105): Requested resource not found (No free interrupt found with the specified flags)
even on an empty project (attached)

Is this expected behavior ? (Does mOS use gpio_isr_register() ?)
Function header reads:

esp_err_t gpio_install_isr_service(int intr_alloc_flags)
Install the driver’s GPIO ISR handler service, which allows per-pin GPIO interrupt handlers.
This function is incompatible with gpio_isr_register() - if that function is used, a single global ISR is registered for all GPIO interrupts. If this function is used, the ISR service provides a global GPIO ISR and individual pin handlers are registered via the gpio_isr_handler_add() function.

I'm on stable 2.18.0
Regards

isr-service.zip

@gibzwein
Copy link

Hi,
have You solved that issue?
Regards

@scaprile
Copy link
Author

scaprile commented Feb 14, 2021

have You solved that issue?

Nope, I've left the project aside until I either get support or have the extra time to play around with this. I'll post it here either way, if ever.

@gibzwein
Copy link

Thanks for reply

@gadget-man
Copy link

Did you ever get to the bottom of this? I've seen a couple of issues of interrupts failing mid-code - only a reboot works (calling an RPC function to create a new button_handler doesn't work even though it returns success. I'm wondering whether it might be linked to this issue if gpio_install_isr_service isn't being used.

@scaprile
Copy link
Author

Hi gadget-man, no, I abandoned this and moved on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants