mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-22 00:46:54 +00:00
refactor(spi): hal driver doesn't depend on sdkconfig.h
This commit is contained in:
@@ -33,11 +33,7 @@ sending a transaction. As soon as the transaction is done, the line gets set low
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
////////////// Please update the following configuration according to your HardWare spec /////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32
|
||||
#define RCV_HOST HSPI_HOST
|
||||
#else
|
||||
#define RCV_HOST SPI2_HOST
|
||||
#endif
|
||||
|
||||
#define GPIO_HANDSHAKE 2
|
||||
#define GPIO_MOSI 12
|
||||
|
Reference in New Issue
Block a user