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. |
||
---|---|---|
.. | ||
TARGET_FLASH_CMSIS_ALGO | ||
storage_abstraction | ||
analogin_api.h | ||
analogout_api.h | ||
buffer.h | ||
can_api.h | ||
can_helper.h | ||
crc_api.h | ||
critical_section_api.h | ||
dma_api.h | ||
ethernet_api.h | ||
flash_api.h | ||
gpio_api.h | ||
gpio_irq_api.h | ||
i2c_api.h | ||
itm_api.h | ||
lp_ticker_api.h | ||
mbed_critical_section_api.c | ||
mbed_flash_api.c | ||
mbed_gpio.c | ||
mbed_itm_api.c | ||
mbed_lp_ticker_api.c | ||
mbed_lp_ticker_wrapper.cpp | ||
mbed_pinmap_common.c | ||
mbed_sleep_manager.c | ||
mbed_ticker_api.c | ||
mbed_us_ticker_api.c | ||
pinmap.h | ||
port_api.h | ||
pwmout_api.h | ||
rtc_api.h | ||
serial_api.h | ||
sleep_api.h | ||
spi_api.h | ||
ticker_api.h | ||
trng_api.h | ||
us_ticker_api.h |