-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
platformio.ini
41 lines (35 loc) · 1.17 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
; 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
[platformio]
default_envs = esp32debug
[env]
platform = espressif32
framework = arduino
lib_deps =
https://github.com/PBRunot/WiFiManager.git#0404abde0d9d2da5c09be7d0cc669b1188bb1c81
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/eModbus/eModbus.git#ed343224827600409e4d57e77e60b73ff9c22f1a
SPI
build_flags = -Wall -Werror -DLOG_LEVEL=LOG_LEVEL_DEBUG
monitor_speed = 115200
[env:esp32release]
board = esp32dev
build_flags = ${env.build_flags}
[env:esp32debug]
board = esp32dev
build_flags = ${env.build_flags}
[env:olimex-poe]
board = esp32-poe
build_flags = ${env.build_flags} -DRX_PIN=14 -DTX_PIN=5
upload_port = COM9
monitor_port = COM9
[env:d1mini]
board = wemos_d1_mini32
build_flags = ${env.build_flags}