mirror of https://github.com/ARMmbed/mbed-os.git
0f98338153
SerialWireOutput was outputting 1 character per 32-bit write to the ITM stimulus port. This is inefficient, and causes processing problems with some viewers due to them receiving 3 NUL bytes between each desired character. Rework to allow us to be more efficient, and eliminate those NUL bytes: * Retain existing mbed_itm_send() and clarify it's a single 32-bit write. * Add new mbed_itm_send_block() that is appropriate for sending character data, and modify SerialWireOutput to use it. * Move "wait for FIFO ready" check to before the write, rather than after. One minor correction - FIFOREADY is a single bit of the register read. Don't interpret reserved bits. |
||
---|---|---|
.. | ||
AnalogIn.cpp | ||
AnalogIn.h | ||
AnalogOut.h | ||
BusIn.cpp | ||
BusIn.h | ||
BusInOut.cpp | ||
BusInOut.h | ||
BusOut.cpp | ||
BusOut.h | ||
CAN.cpp | ||
CAN.h | ||
DigitalIn.h | ||
DigitalInOut.h | ||
DigitalOut.h | ||
Ethernet.cpp | ||
Ethernet.h | ||
FlashIAP.cpp | ||
FlashIAP.h | ||
I2C.cpp | ||
I2C.h | ||
I2CSlave.cpp | ||
I2CSlave.h | ||
InterruptIn.cpp | ||
InterruptIn.h | ||
InterruptManager.cpp | ||
InterruptManager.h | ||
LowPowerTicker.h | ||
LowPowerTimeout.h | ||
LowPowerTimer.h | ||
MbedCRC.cpp | ||
MbedCRC.h | ||
PortIn.h | ||
PortInOut.h | ||
PortOut.h | ||
PwmOut.h | ||
RawSerial.cpp | ||
RawSerial.h | ||
SPI.cpp | ||
SPI.h | ||
SPISlave.cpp | ||
SPISlave.h | ||
Serial.cpp | ||
Serial.h | ||
SerialBase.cpp | ||
SerialBase.h | ||
SerialWireOutput.h | ||
TableCRC.cpp | ||
TableCRC.h | ||
Ticker.cpp | ||
Ticker.h | ||
Timeout.cpp | ||
Timeout.h | ||
Timer.cpp | ||
Timer.h | ||
TimerEvent.cpp | ||
TimerEvent.h | ||
UARTSerial.cpp | ||
UARTSerial.h | ||
mbed_lib.json |