d-a-v / W5500lwIP

W5100, W5500 and ENC28J60 for esp8266 and lwIP (or any other uC using lwIP)
43 stars 11 forks source link

IRQs: please always consider near-realtime implications #8

Closed dok-net closed 5 years ago

dok-net commented 5 years ago

https://github.com/d-a-v/W5500lwIP/blob/9de94714fb20d4b367da7343e6b245064f01fca0/src/utility/lwIPeth.h#L126 This fairly certainly breaks SoftwareSerail RX and anything like it that depends on exact timings. Using attachScheduledInterrupt() is the correct, available, use here.

d-a-v commented 5 years ago

IRQ currently does not work. Users will however be free to chose the way of receiving data, by polling or interrupts. Your notice will be taken into consideration and will be added in documentation when this driver will move into the esp8266 arduino core, eventually.