Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
OS version known to have issue: 5.5.6
Description
UARTSerial driver not cleaning up enabled ISR on destruction.
Steps to reproduce
Construct and destroy UARTSerial class, then pull RX line line low. IRQ fires causing potential hard fault.
Solution
in UARTSerial.cpp, add SerialBase::attach() calls as follows.