mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-21 18:22:00 +00:00
spi: remove HSPI macro on esp32c3 and esp32s3
This commit is contained in:
@@ -22,6 +22,17 @@
|
||||
#define SPI_IOMUX_PIN_NUM_MISO 31
|
||||
#define SPI_IOMUX_PIN_NUM_WP 28
|
||||
|
||||
#define SPI2_FUNC_NUM FSPI_FUNC_NUM
|
||||
#define SPI2_IOMUX_PIN_NUM_HD FSPI_IOMUX_PIN_NUM_HD
|
||||
#define SPI2_IOMUX_PIN_NUM_CS FSPI_IOMUX_PIN_NUM_CS
|
||||
#define SPI2_IOMUX_PIN_NUM_MOSI FSPI_IOMUX_PIN_NUM_MOSI
|
||||
#define SPI2_IOMUX_PIN_NUM_CLK FSPI_IOMUX_PIN_NUM_CLK
|
||||
#define SPI2_IOMUX_PIN_NUM_MISO FSPI_IOMUX_PIN_NUM_MISO
|
||||
#define SPI2_IOMUX_PIN_NUM_WP FSPI_IOMUX_PIN_NUM_WP
|
||||
|
||||
//SPI3 has no iomux pins
|
||||
|
||||
//Following Macros are deprecated. Please use the Macros above
|
||||
#define FSPI_FUNC_NUM 4
|
||||
#define FSPI_IOMUX_PIN_NUM_HD 9
|
||||
#define FSPI_IOMUX_PIN_NUM_CS 10
|
||||
@@ -29,5 +40,3 @@
|
||||
#define FSPI_IOMUX_PIN_NUM_CLK 12
|
||||
#define FSPI_IOMUX_PIN_NUM_MISO 13
|
||||
#define FSPI_IOMUX_PIN_NUM_WP 14
|
||||
|
||||
//SPI3 has no iomux pins
|
||||
|
Reference in New Issue
Block a user