esp-idf/components/driver
Omar Chebib c10c604af9 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-14 10:55:26 +08:00
..
esp32 Refactor the touch sensor driver 2019-11-27 20:08:44 +08:00
esp32s2beta [cxx]: fixed extern "C" declarations 2021-04-23 07:35:47 +00:00
include/driver spi_docs: Fixed the default value of max_transfer_sz. 2021-07-05 14:15:39 +08:00
test esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA 2021-03-22 17:18:58 +08:00
adc1_i2s_private.h adc_i2s: solve the i2s_adc issue when using wifi 2020-12-15 20:57:02 +08:00
adc.c esp_wifi: Fixes issue of crashing when verbose logs are enabled. 2021-02-26 19:11:17 +05:30
can.c CAN: ISR runs when cache is disabled 2021-03-09 08:47:58 +08:00
CMakeLists.txt Refactor the touch sensor driver 2019-11-27 20:08:44 +08:00
component.mk global: remove gcc 5.2 support 2019-11-20 11:17:27 +01:00
dac.c Driver(adc): Disable the synchronization operation function of ADC1 and DAC 2020-08-14 06:49:35 +00:00
gpio.c driver(gpio): fix gpio can't wakeup light sleep 2021-03-24 16:39:16 +08:00
i2c.c i2c: Acquire PM lock after acquiring mutex 2020-12-30 13:25:02 +05:30
i2s.c i2s: fix driver uninstall issue 2021-06-17 16:37:11 +08:00
Kconfig CAN: ISR runs when cache is disabled 2021-03-09 08:47:58 +08:00
ledc.c bugfix(ledc): fix crash when use one speed mode and enable ledc fade test case 2019-12-16 02:49:26 +00:00
mcpwm.c mcpwm: fix second fault line broken 2021-02-06 21:45:51 +08:00
pcnt.c pcnt: fix bug in clear interrupt status 2020-09-30 11:12:33 +08:00
periph_ctrl.c wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM 2020-08-05 16:30:16 +08:00
rmt.c driver(rmt): Fix the rmt err interrupt crash bug when sending 63 items 2020-01-13 08:30:20 +00:00
rtc_io.c rtcio: add hal for driver 2019-11-21 10:40:49 +08:00
rtc_module.c Refactor the touch sensor driver 2019-11-27 20:08:44 +08:00
sdio_slave.c sdio_slave: support HAL layer 2019-12-13 18:33:15 +08:00
sdkconfig.rename Rename Kconfig options (components/driver) 2019-05-21 09:09:01 +02:00
sdmmc_host.c sdmmc: Correctly check function parameters before using them 2020-06-04 11:49:40 +08:00
sdmmc_private.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
sdmmc_transaction.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
sdspi_crc.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
sdspi_crc.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_host.c sdspi: revert pin configs when deinit 2019-12-03 22:58:42 +08:00
sdspi_private.h sdmmc: support SDIO over SPI 2019-04-12 02:24:28 +08:00
sdspi_transaction.c driver: remove unused drivers for esp32s2beta 2019-09-04 10:53:25 +10:00
sigmadelta.c refactor(sigmadelta): add hal sigmadelta driver 2019-11-21 11:53:07 +08:00
spi_common.c ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation 2019-11-28 09:20:00 +08:00
spi_master.c spi: fix duplex mode switch issue for multi devices 2021-01-07 12:05:14 +08:00
spi_slave.c spi_slave.c:fix DMA channel set to zero which might gets conflict with assert 2019-11-26 13:11:48 +08:00
timer.c driver/timer: only re-enable alarm in callback when auto reload is true 2021-06-17 10:37:32 +08:00
touch_sensor_common.c Refactor the touch sensor driver 2019-11-27 20:08:44 +08:00
uart.c uart: Add missing critical section wrappers around rx_buffered_len 2021-08-14 10:55:26 +08:00