-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Write a GPIO driver for ESP32 #3721
Comments
by Leandro Pereira: Got most of the driver written today; will likely post the code up for review tomorrow after testing and confirming it works as expected. |
by Leandro Pereira: The driver is working for outputs; however, I can't get interrupts to work when attached to the GPIO interrupt source: an exception is thrown while trying to execute the ISR: It's the same exception that happens when using IRQ offloading, so I think they're related. I know that the ISR is in the IRAM region, so in theory it should work. Will investigate more on Monday. |
by Leandro Pereira: Spent some time on this driver today:
|
by Leandro Pereira: Found the culprit for the exception when calling the ISR, and the callback function is working as expected. Will clean everything up tomorrow and post it up for review. |
by Mark Linkmeyer: Since Leandro is now on vacation I'm reassigning this to Andy Ross to finish driving it to the Merged state before the 1.9 Feature Merge Window closes next week. Thanks for the help Andy! |
by Chandrakala Kempanna: Nirmala Devi M Please Verify the Story |
by Nirmala Devi M: This story can be tested with $Zephyr_base/tests/drivers/gpio/gpio_basic_api. And code support for ESP32 for this story is merged in zephyr/master. Tested and verified this story in master/1f46eb66. |
Reported by Leandro Pereira:
Write a GPIO driver for ESP32.
(Imported from Jira ZEP-2286)
The text was updated successfully, but these errors were encountered: