Description
Note: This is just a template, so feel free to use/remove the unnecessary things
Description
- Type: Enhancement
- Related issue: Enable flow control in Greentea #6660
- Priority: Minor
Enhancement
Greentea client is unnecessarily tied to RawSerial
, potentially limiting performance, and preventing its use over any other comms interface. It's also causing configuration complications with tracking the serial port settings specified for the stdout console, as illustrated by #6660.
It's apparently avoiding the simplest printf
and putc
to permit use from interrupt (ARMmbed/greentea-client@ff62371).
This can be now be achieved in a more elegant and portable fashion using write(STDOUT_FILENO)
- this will in principle work from interrupt, subject to limitations of the FileHandle
being used for the console. It will currently work with the default non-buffered console, equivalent to RawSerial
.
A little more discussion in comments on #6660