From 203e871c4a47be32d6a9c34267d0b58baf1dd745 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Thu, 16 Nov 2023 17:15:18 +0100 Subject: [PATCH 1/2] Add Esp32-Stick-PoE-A --- docs/DeviceProfiles/esp32_stick_poe_a.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/DeviceProfiles/esp32_stick_poe_a.json diff --git a/docs/DeviceProfiles/esp32_stick_poe_a.json b/docs/DeviceProfiles/esp32_stick_poe_a.json new file mode 100644 index 0000000..92c8174 --- /dev/null +++ b/docs/DeviceProfiles/esp32_stick_poe_a.json @@ -0,0 +1,22 @@ +[ + { + "name": "Esp32-Stick-PoE-A", + "nrf24": { + "miso": 2, + "mosi": 15, + "clk": 14, + "irq": 34, + "en": 12, + "cs": 4 + }, + "eth": { + "enabled": true, + "phy_addr": 1, + "power": -1, + "mdc": 23, + "mdio": 18, + "type": 0, + "clk_mode": 3 + } + } +] From b158a5682ec57b8d7808899c29e1c215d26ccb45 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Wed, 22 Nov 2023 22:58:37 +0100 Subject: [PATCH 2/2] remove broken LilyGO_T_ETH_POE config, use device profile instead --- platformio.ini | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/platformio.ini b/platformio.ini index 6fcbb88..cbb76a6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -148,25 +148,6 @@ build_flags = ${env.build_flags} -DOPENDTU_ETHERNET -[env:LilyGO_T_ETH_POE] -; http://www.lilygo.cn/claprod_view.aspx?TypeId=21&Id=1344&FId=t28:21:28 -board = esp32dev -build_flags = ${env.build_flags} - -DHOYMILES_PIN_MISO=2 - -DHOYMILES_PIN_MOSI=15 - -DHOYMILES_PIN_SCLK=14 - -DHOYMILES_PIN_IRQ=34 - -DHOYMILES_PIN_CE=12 - -DHOYMILES_PIN_CS=4 - -DOPENDTU_ETHERNET - -DETH_CLK_MODE=ETH_CLOCK_GPIO17_OUT - -DETH_POWER_PIN=-1 - -DETH_TYPE=ETH_PHY_LAN8720 - -DETH_ADDR=0 - -DETH_MDC_PIN=23 - -DETH_MDIO_PIN=18 - - [env:esp_s3_12k_kit] ; https://www.waveshare.com/wiki/NodeMCU-ESP-S3-12K-Kit board = esp32-s3-devkitc-1