This repository was archived by the owner on Jan 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 23 files changed +140
-94
lines changed Expand file tree Collapse file tree 23 files changed +140
-94
lines changed Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
Original file line number Diff line number Diff line change 445445 //#define USING_SPI2 true
446446
447447 #if USING_SPI2
448- #define PIN_MISO HSPI_IOMUX_PIN_NUM_MISO
449- #define PIN_MOSI HSPI_IOMUX_PIN_NUM_MOSI
450- #define PIN_SCK HSPI_IOMUX_PIN_NUM_CLK
451- #define PIN_SS HSPI_IOMUX_PIN_NUM_CS
448+ // HSPI_IOMUX_PIN_NUM_???? deprecated from core v2.0.6+
449+ // For ESP32 core v2.0.6+
450+ #define PIN_MISO SPI2_IOMUX_PIN_NUM_MISO
451+ #define PIN_MOSI SPI2_IOMUX_PIN_NUM_MOSI
452+ #define PIN_SCK SPI2_IOMUX_PIN_NUM_CLK
453+ #define PIN_SS SPI2_IOMUX_PIN_NUM_CS
452454
453455 #define SHIELD_TYPE "W5x00 using Ethernet_Generic Library on SPI2"
454456
You can’t perform that action at this time.
0 commit comments