forked from OpenEVSE/ESP8266_WiFi_v2.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
53 lines (47 loc) · 1.48 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
42
43
44
45
46
47
48
49
50
51
52
53
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
data_dir = src/data
env_default = openevse
[common]
version = -DBUILD_TAG=2.3.0
lib_deps = [email protected], ESPAsyncWebServer@be12e0c171
[env:openevse]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version}
# Upload at faster baud: takes 20s instead of 50s. Use 'pio run -t upload -e evse_slow to use slower default baud rate'
upload_speed=921600
monitor_baud = 115200
[env:openevse_slow]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version}
monitor_baud = 115200
[env:openevse_ota]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DENABLE_OTA -DWIFI_LED=0 -DENABLE_DEBUG -DENABLE_PROFILE -DDEBUG_PORT=Serial
upload_port = openevse.local
monitor_baud = 115200
[env:openevse_dev]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DENABLE_OTA -DWIFI_LED=0 -DENABLE_DEBUG -DDEBUG_PORT=Serial
upload_speed=921600
monitor_baud = 115200