OVMS3-idf/components/driver/test
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
..
CMakeLists.txt cmake: Add support for test build 2018-10-20 12:07:24 +08:00
component.mk
test_adc2.c unit tests: Only initialise tcpip_adapter() when needed by the test 2018-10-17 22:53:46 +00:00
test_gpio.c
test_ledc.c
test_pcnt.c
test_rmt.c
test_sdmmc_sdspi_init.cpp
test_sigmadelta.c
test_spi_master.c spi: fix the bug of connecting SPI peripheral to read-only pins 2019-04-01 18:39:02 +08:00
test_spi_slave.c test_spi_slave: fix warnings about unused identifiers 2018-10-21 15:11:45 +08:00
test_timer.c
test_uart.c