esp-idf/components/driver
Wangjialin c4bb528c61 bugfix(i2c): use queue instead of event group for internal commands
Reported from github:
https://github.com/espressif/esp-idf/issues/1312
https://github.com/espressif/esp-idf/issues/1193

Issues:
1. We used to use event group in the driver, which would cause:
    a. longer operation time since the event group are based on FreeRTOS timer.
    b. Operation fails if the timer queue is not long enough.
2. There might be some issue with event group, we will still try to provide a small test code in other branch.

modification:
1. use queue instead of event-bit for internal commands
2. use queue overwrite for cmd_done event
2017-12-27 16:54:23 +08:00
..
include/driver LEDC Driver: Added back original definitions of 'duty_resolution' and 'clock_divider'. This update is to provide backward compatibility with ESP-IDF 2.1. 2017-12-07 20:52:54 +08:00
test test(spi): internal connection test master with slave for address and command field. 2017-11-17 12:15:19 +08:00
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
gpio.c Add GPIO input and output disable option 2017-11-22 15:00:27 +08:00
i2c.c bugfix(i2c): use queue instead of event group for internal commands 2017-12-27 16:54:23 +08:00
i2s.c Merge branch 'bugfix/i2s_bck_polariy' into 'master' 2017-10-22 12:36:27 +08:00
ledc.c Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master' 2017-12-01 19:33:53 +08:00
mcpwm.c feature: add Motor Control PWM(mcpwm) driver 2017-05-12 15:47:59 +08:00
pcnt.c PCNT: fix for pcnt_set_pin API, it can now use all pcnt channels 2017-06-16 11:18:00 +05:30
periph_ctrl.c refractor WiFi clock setting 2017-11-02 15:24:21 +08:00
rmt.c bugfix(rmt): fix event thresh check issue 2017-10-18 18:49:09 +08:00
rtc_module.c Typo fix. Closes https://github.com/espressif/esp-idf/issue/1323 2017-12-01 09:06:08 +01:00
sdmmc_host.c sdmmc: use periph_ctrl to enable peripheral when initializing the host 2017-09-04 22:43:52 +08:00
sdmmc_private.h sdmmc: add peripheral driver and protocol layer 2017-01-09 04:51:24 +08:00
sdmmc_transaction.c sdmmc: lock APB frequency while in transaction 2017-10-18 14:19:20 +08:00
sdspi_crc.c driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_crc.h driver: SD protocol driver for SPI peripheral 2017-07-20 13:43:07 +08:00
sdspi_host.c sdspi: use response timeout passed from upper layer 2017-12-27 16:54:21 +08:00
sdspi_private.h sdspi: use response timeout passed from upper layer 2017-12-27 16:54:21 +08:00
sdspi_transaction.c sdspi: use response timeout passed from upper layer 2017-12-27 16:54:21 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_common.c periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround 2017-10-02 17:48:16 +11:00
spi_master.c fix(spi_master): release temporary memory when queue new trans timeout. 2017-11-17 12:15:19 +08:00
spi_slave.c fix(spi_slave): add interrupt free into bus free process. 2017-11-17 12:14:40 +08:00
timer.c Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
uart.c bugfix(uart): workaround for uart fifo reset issue 2017-11-13 15:23:00 +08:00