esp-idf/components
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
..
2018-09-11 09:44:12 +08:00
2018-10-20 12:07:24 +08:00
2019-03-12 11:55:42 +08:00
2019-01-23 17:02:02 +08:00
2018-10-20 12:07:24 +08:00
2018-09-11 09:44:12 +08:00
2018-09-11 09:44:12 +08:00
2018-09-11 09:44:12 +08:00
2019-03-06 20:01:36 +08:00
2018-11-26 15:55:17 +11:00
2018-09-11 09:44:12 +08:00
2018-10-20 12:07:24 +08:00