Added support for LilyGO_T_ETH_POE board
This commit is contained in:
parent
fe22c95221
commit
c0e6e13139
@ -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
|
||||
-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
|
||||
Loading…
Reference in New Issue
Block a user