esp-idf/components/driver
Guillaume Souchere c2683af2a6 fix(console): USB Serial JTAG freezes when input received before init
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
2024-07-01 09:36:18 +02:00
..
analog_comparator feat(ana_cmpr): supported etm in analog comparator example 2023-09-25 19:57:34 +08:00
dac fix(tsens): 300us delay in phy cause extra power consumption 2024-02-21 11:58:30 +08:00
deprecated fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash, 2024-02-21 11:58:26 +08:00
gpio docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all 2024-05-13 16:27:49 +08:00
gptimer feat(gptimer): check the alarm config is not in flash 2024-04-09 17:29:47 +08:00
i2c fix(i2c): fix issues related to timeout and alive interval tick 2024-04-17 15:52:56 +08:00
i2s fix(i2s): fix pdm rx high pass filter cut off coeff 2023-11-02 10:10:14 +08:00
include/esp_private bugfix(driver): fix wrong DMA bus usage 2023-10-20 09:08:54 +00:00
ledc feat(ledc): support ledc on esp32p4 2023-10-17 16:40:04 +08:00
mcpwm fix(rmt): fix the counting clock used by rx filter on esp32/s2 2024-04-08 11:16:18 +08:00
parlio feat(parlio_tx): support non-blocking transaction queue 2024-03-19 12:06:44 +08:00
pcnt feat(pcnt): replace periph_module func with new ll func 2023-09-20 15:06:04 +08:00
rmt fix(rmt): fix the counting clock used by rx filter on esp32/s2 2024-04-08 11:16:18 +08:00
sdio_slave refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t 2023-07-31 17:10:34 +02:00
sdmmc change(sdmmc): replace periph_module_x with rcc 2023-10-18 11:57:55 +00:00
sigma_delta driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
spi bugfix(driver): fix wrong DMA bus usage 2023-10-20 09:08:54 +00:00
temperature_sensor fix(tsens): 300us delay in phy cause extra power consumption 2024-02-21 11:58:30 +08:00
test_apps feat(uart): support uart module sleep retention on c6/h2 2024-06-18 15:04:20 +08:00
touch_sensor change(xtensa): Deprecate ".../xtensa_api.h" include path 2023-12-05 18:04:52 +08:00
twai docs(doxygen): fix misc issues with new version of doxygen 2024-05-30 13:42:18 +08:00
uart feat(uart): support uart module sleep retention on c6/h2 2024-06-18 15:04:20 +08:00
usb_serial_jtag fix(console): USB Serial JTAG freezes when input received before init 2024-07-01 09:36:18 +02:00
CMakeLists.txt feat(rmt): support calling rmt_receive in ISR callback 2023-11-08 14:32:26 +08:00
Kconfig feat(twai): support multiple twai controllers 2023-10-12 09:59:27 +08:00
linker.lf refactor(ledc): move related kconfig and linker.lf to its own folder 2023-10-02 07:32:16 +00:00
sdkconfig.rename mcpwm: rename MCPWM_ISR_IN_IRAM to MCPWM_ISR_IRAM_SAFE 2022-06-02 15:01:18 +08:00