esp-idf/components/driver
Michael (XIAO Xufeng) 325fca94c0 spi: fix the bug of connecting SPI peripheral to read-only pins
The requirements of pin capabilites is different for spi master and
slave.  The master needs CS, SCLK, MOSI to be output-able, while slave
needs MISO to be output-able.

Previous code is for master only.

This commit allows to place other 3 pins than MISO on input-only pins
for slaves. Refactoring for spi_common is also included.

Resolves https://github.com/espressif/esp-idf/issues/2455
2019-04-01 18:39:02 +08:00
..
include/driver Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug_v3.2' into 'release/v3.2' 2019-03-06 12:10:38 +08:00
test spi: fix the bug of connecting SPI peripheral to read-only pins 2019-04-01 18:39:02 +08:00
adc1_i2s_private.h driver(i2s): fix broken i2s adc mode 2018-02-07 17:17:20 +08:00
can.c CAN: Add pm_lock, fix gpio bug, update docs 2018-09-01 02:46:05 +08:00
CMakeLists.txt esp_ringbuf: move ringbuf to seperate component 2018-09-17 17:04:57 +05:30
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
gpio.c driver(gpio): fixed digital gpio unable hold bug during deep-sleep for release/v3.2. 2019-02-26 20:20:25 +08:00
i2c.c bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA 2019-01-22 11:43:55 +08:00
i2s.c i2s: add (optional) support to clear tx descriptor in underflow case 2018-12-31 13:42:26 +05:30
Kconfig spi: fix the crash when callbacks are not in the IRAM 2018-12-04 21:35:20 +08:00
ledc.c bugfix(ledc): fix bugs reported from unit-test and github. 2018-07-10 02:22:23 +08:00
mcpwm.c driver(mcpwm): Fix mcpwm api in mcpwm.c mismatch with mcpwm.h bug. 2018-06-22 12:26:43 +08:00
pcnt.c Add some comments in pcnt.h. 2018-07-24 10:33:58 +08:00
periph_ctrl.c aes/sha/mpi: Bugfix a use of shared registers. 2018-11-05 04:22:47 +00:00
rmt.c driver(rmt): Fixed some RMT related issues. 2019-02-26 20:46:23 +08:00
rtc_module.c driver/gpio: support wakeup function for RTC IOs 2018-09-06 15:40:46 +08:00
sdio_slave.c sdio_slave: fix the ret_queue crash issue when being reset by the master 2018-09-25 20:30:25 +08:00
sdmmc_host.c sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sdmmc_private.h sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sdmmc_transaction.c sdmmc: implement partial DDR support 2018-08-30 13:11:54 +08:00
sdspi_crc.c Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_crc.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_host.c Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_private.h Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
sdspi_transaction.c feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sigmadelta.c components/driver: 'const' all config calls. 2017-04-13 18:33:33 +01:00
spi_common.c spi: fix the bug of connecting SPI peripheral to read-only pins 2019-04-01 18:39:02 +08:00
spi_master.c spi: fix the crash when callbacks are not in the IRAM 2018-12-04 21:35:20 +08:00
spi_slave.c spi: fix the crash when callbacks are not in the IRAM 2018-12-04 21:35:20 +08:00
timer.c Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
uart.c driver(uart): fixed uart read error bug when using dual core for release/v3.2. 2018-11-28 16:37:59 +08:00