micropython/ports
Damien George 581d43b774 stm32/usbd_cdc_interface: Check and handle CDC TX wrap-overflow.
If the device is not connected over USB CDC to a host then all output to
the CDC (eg initial boot messages) is written to the CDC TX buffer with
wrapping, so that the most recent data is retained when the USB CDC is
eventually connected (eg so the REPL banner is displayed upon connection).

This commit fixes a bug in this behaviour, which was likely introduced in
e4fcd216e0, where the initial data in the CDC
TX buffer is repeated multiple times on first connection of the device to
the host.

Signed-off-by: Damien George <damien@micropython.org>
2020-10-22 15:32:41 +11:00
..
bare-arm
cc3200
esp32 esp32/mpconfigport.h: Enable MICROPY_PY_DELATTR_SETATTR. 2020-10-21 11:11:48 +11:00
esp8266
javascript
mimxrt ports: Use correct in/out endpoint size in TUD_CDC_DESCRIPTOR. 2020-10-17 15:49:16 +11:00
minimal
nrf ports: Use correct in/out endpoint size in TUD_CDC_DESCRIPTOR. 2020-10-17 15:49:16 +11:00
pic16bit
powerpc
qemu-arm
samd ports: Use correct in/out endpoint size in TUD_CDC_DESCRIPTOR. 2020-10-17 15:49:16 +11:00
stm32 stm32/usbd_cdc_interface: Check and handle CDC TX wrap-overflow. 2020-10-22 15:32:41 +11:00
teensy
unix unix/mpconfigport.h: Enable MICROPY_PY_DELATTR_SETATTR. 2020-10-20 23:47:50 +11:00
windows
zephyr