Skip to content

Add UART interrupt dispatcher #4745

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

Closed
wants to merge 2 commits into from

Conversation

unaiur
Copy link
Contributor

@unaiur unaiur commented May 19, 2018

ESP8266 UART ports share a single interrupt service routine (ISR).
This code adds an interrupt dispatcher that allows to define a
different ISR for each UART port.

Why?

NeoPixelBus can use an ISR to send data though Serial1 asynchronously. But it only works when Serial0 is configured as TX_ONLY. Otherwise NeoPixelBus and Serial-RX ISRs conflicts and the ESP8266 reboots. This commit allows both ISRs to coexist.

unaiur and others added 2 commits May 19, 2018 14:14
ESP8266 UART ports share a single interrupt service routine (ISR).
This code adds an interrupt dispatcher that allows to define a
different ISR for each UART port.
@devyte devyte self-assigned this May 25, 2018
@earlephilhower
Copy link
Collaborator

Closing in favour of #5555 which is undergoing work presently.

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

Successfully merging this pull request may close these issues.

3 participants