mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
325fca94c0
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
component.mk | ||
test_adc2.c | ||
test_gpio.c | ||
test_ledc.c | ||
test_pcnt.c | ||
test_rmt.c | ||
test_sdmmc_sdspi_init.cpp | ||
test_sigmadelta.c | ||
test_spi_master.c | ||
test_spi_slave.c | ||
test_timer.c | ||
test_uart.c |