esp-idf/components
Michael (XIAO Xufeng) f6015c29d5 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-02 11:33:53 +08:00
..
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2019-01-23 17:06:11 +08:00
2018-09-13 11:13:27 +08:00
2019-01-26 13:07:06 +00:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2019-03-06 21:07:22 +08:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00