mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8aa0b7fb1a
When data was sent through USB Serial JTAG before the driver was installed, the bus was malfunctioning. This was because the interrupt bit for data reception was cleared regardless of whether data was received or not. Consequently, usb_serial_jtag_isr_handler_default was not triggered and the data was never read causing the bus to malfunction. This commit is modifying usb_serial_jtag_driver_install to prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback usb_serial_jtag_isr_handler_default to trigger for possible data exchanged prior to the call to usb_serial_jtag_driver_install. This commit also modified the while logic in linenoiseProbe to discard any data that doesn't match the expected chaaracter sequences to prevent random input from interfering with evaluating whether the terminal supports escape sequences or not. See https://github.com/espressif/esp-idf/issues/13940 |
||
---|---|---|
.. | ||
analog_comparator | ||
dac | ||
deprecated | ||
gpio | ||
gptimer | ||
i2c | ||
i2s | ||
include/esp_private | ||
ledc | ||
mcpwm | ||
parlio | ||
pcnt | ||
rmt | ||
sdio_slave | ||
sdmmc | ||
sigma_delta | ||
spi | ||
temperature_sensor | ||
test_apps | ||
touch_sensor | ||
twai | ||
uart | ||
usb_serial_jtag | ||
.build-test-rules.yml | ||
CMakeLists.txt | ||
Kconfig | ||
linker.lf | ||
sdkconfig.rename |