-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
28 lines (27 loc) · 977 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32doit-devkit-v1]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc2/platform-espressif32.zip ; Arduino core 3.1.0 rc2 based on IDF 5.3.1+
board = esp32dev
framework = arduino
monitor_speed = 115200
build_flags = ${env.build_flags}
-D ESPCONNECT_ETH_SUPPORT
-D ETH_PHY_ADDR=1
-D ETH_PHY_CS=15
-D ETH_PHY_IRQ=4
-D ETH_PHY_RST=5
-D ETH_PHY_SPI_MISO=12
-D ETH_PHY_SPI_MOSI=13
-D ETH_PHY_SPI_SCK=14
-D ETH_PHY_TYPE=ETH_PHY_W5500
lib_deps =
https://github.com/mathieucarbou/AsyncTCP.git
https://github.com/mathieucarbou/ESPAsyncWebServer.git