Skip to content

Add UART interrupt dispatcher - #4745

Closed
unaiur wants to merge 2 commits into
esp8266:masterfrom
unaiur:master-uart-isr-dispatch
Closed

Add UART interrupt dispatcher#4745
unaiur wants to merge 2 commits into
esp8266:masterfrom
unaiur:master-uart-isr-dispatch

Conversation

@unaiur

@unaiur unaiur commented May 19, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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