Commit Graph

4 Commits (eb2153ec499be43de69b73b6b65f33e62b36217d)

Author SHA1 Message Date
Bogdan Marinescu a2853d2aa4 Revert "Fixed crash issue in RawSerial::printf for uARM"
This reverts commit d05b7f51d8.

I am reverting this commit because:

- it uses alloca(), which is a dangerous function
- it uses vsprintf instead of vsnprintf, which can lead to a stack overflow.

Until we find a better solution, this might do more bad than good, so I am reverting it.
2014-09-12 10:47:34 +01:00
Toyomasa Watarai d05b7f51d8 Fixed crash issue in RawSerial::printf for uARM
Fixed crash issue in RawSerial::printf() function for microlib platforms
since microlib doesn't fully support C99 functions such as vsnprintf().
2014-08-25 16:13:43 +09:00
Bogdan Marinescu 5f62a399db Added preliminary printf() support to RawSerial 2013-12-19 15:05:17 +02:00
Bogdan Marinescu 2404dc0092 Added new serial class, remove interrupt chaining
The new RawSerial class is a simple wrapper over the serial HAL that can
be safely used from an interrupt handler.
Interrupt chaining code was removed from InterruptIn, Serial and Ticker
because it caused lots of issues with the RTOS. Interrupt chaining is
still possible using the InterruptManager class.
2013-10-23 16:08:34 +03:00