esp-idf/components/driver
Luca Burelli e41e67f2f1 uart: Add missing critical section wrappers around rx_buffered_len
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.

Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>

Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
..
esp32 driver: update copyright notice 2021-05-24 02:02:15 +02:00
esp32c3 adc: support adc2 working with WiFi 2021-07-28 17:50:14 +08:00
esp32h2 temp_sensor: add docs for esp32c3 2021-07-21 13:34:52 +08:00
esp32s2 temp_sensor: add docs for esp32c3 2021-07-21 13:34:52 +08:00
esp32s3/include/driver driver/adc: support adc single sample on s3 2021-07-15 19:13:50 +08:00
include Merge branch 'docs/provide_apb_clock_frequency_in_api-reference_timers' into 'master' 2021-08-06 06:50:26 +00:00
test MCPWM/capture: API workflow optimization 2021-08-05 19:12:58 +08:00
adc1_private.h driver: update copyright notice 2021-05-25 17:43:57 +02:00
adc_common.c adc: make adc single api only build pm lock on s2 2021-07-30 10:16:24 +08:00
CMakeLists.txt usb_serial_jtag: enable blocking implementation on esp32s3 2021-07-31 16:32:09 +08:00
component.mk usb_serial_jtag: Add blocking driver to support vfs. 2021-07-05 11:22:38 +08:00
dac_common.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
dedic_gpio.c dedic_gpio: support on esp32s3 2021-06-30 18:10:54 +08:00
gdma.c gdma: set transfer ability 2021-07-16 14:47:09 +08:00
gpio.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
i2c.c i2c: fix I2C slave clock source selection 2021-07-15 12:28:57 +08:00
i2s.c driver/i2s: support mclk 2021-08-04 10:20:03 +08:00
Kconfig TWAI: FIFO overrun handling and errata workarounds 2021-03-30 14:17:31 +08:00
ledc.c ledc: Add a callback for LEDC fade end 2021-07-29 17:56:22 +08:00
linker.lf TWAI: FIFO overrun handling and errata workarounds 2021-03-30 14:17:31 +08:00
mcpwm.c MCPWM/capture: API workflow optimization 2021-08-05 19:12:58 +08:00
pcnt.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
periph_ctrl.c esp32h2: code clean up 2021-07-01 19:53:50 +08:00
rmt.c rmt: apply general check macro 2021-06-22 15:29:11 +08:00
rtc_io.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
rtc_module.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdio_slave.c sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled 2021-07-24 22:29:15 +08:00
sdkconfig.rename Rename Kconfig options (components/driver) 2019-05-21 09:09:01 +02:00
sdmmc_host.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdmmc_private.h driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdmmc_transaction.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdspi_crc.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdspi_crc.h driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdspi_host.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdspi_private.h driver: update copyright notice 2021-05-25 17:43:57 +02:00
sdspi_transaction.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
sigmadelta.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
spi_bus_lock.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
spi_common.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
spi_master.c spi_master: fix the crash when using interrupt mode when cache is disabled 2021-08-05 12:04:39 +08:00
spi_slave_hd.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
spi_slave.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
timer.c driver/timer: only re-enable alarm in callback when auto reload is true 2021-06-25 15:44:23 +08:00
touch_sensor_common.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
twai.c driver: update copyright notice 2021-05-25 17:43:57 +02:00
uart.c uart: Add missing critical section wrappers around rx_buffered_len 2021-08-12 10:52:16 +08:00
usb_serial_jtag.c usb_serial_jtag: enable blocking implementation on esp32s3 2021-07-31 16:32:09 +08:00