diff --git a/platformio.ini b/platformio.ini index 2ce6216..99f64fc 100644 --- a/platformio.ini +++ b/platformio.ini @@ -36,8 +36,8 @@ monitor_speed = 115200 upload_protocol = esptool ; Specify port here. Comment out (add ; in front of line) to use auto detection. -monitor_port = COM4 -upload_port = COM4 +monitor_port = COM5 +upload_port = COM5 [env:generic] @@ -92,4 +92,22 @@ build_flags = ${env.build_flags} -DHOYMILES_PIN_IRQ=33 -DHOYMILES_PIN_CE=14 -DHOYMILES_PIN_CS=15 - -DOPENDTU_ETHERNET \ No newline at end of file + -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 \ No newline at end of file