mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'backport/eth-start-spi-initialize-failure-v5.0' into 'release/v5.0'
Fix eth_start initializes spi bus with SPI_DMA_CH_AUTO (backport v5.0) See merge request espressif/esp-idf!23816
This commit is contained in:
commit
086412cb56
@ -122,7 +122,7 @@ static esp_netif_t *eth_start(void)
|
||||
.quadwp_io_num = -1,
|
||||
.quadhd_io_num = -1,
|
||||
};
|
||||
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_EXAMPLE_ETH_SPI_HOST, &buscfg, 1));
|
||||
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_EXAMPLE_ETH_SPI_HOST, &buscfg, SPI_DMA_CH_AUTO));
|
||||
spi_device_interface_config_t spi_devcfg = {
|
||||
.mode = 0,
|
||||
.clock_speed_hz = CONFIG_EXAMPLE_ETH_SPI_CLOCK_MHZ * 1000 * 1000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user