-
Notifications
You must be signed in to change notification settings - Fork 77
/
platformio.old.ini
107 lines (90 loc) · 3.04 KB
/
platformio.old.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[platformio]
env_default = emonesp
data_dir = src/data
[common]
version = -DBUILD_TAG=2.3.1
lib_deps = [email protected], ESP Async [email protected]
monitor_speed = 115200
# specify exact Arduino ESP SDK version, requires platformio 3.5+ (curently dev version)
# http://docs.platformio.org/en/latest/projectconf/section_env_general.html#platform
platform = https://github.com/platformio/platform-espressif8266.git#feature/2.4.0-rc2
[env:emonesp]
platform = [email protected]
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DWIFI_LED=0 -DENABLE_DEBUG
monitor_speed = ${common.monitor_speed}
[env:emonesp_fast]
# Upload at faster baud reate 50s upload reduced to 20s :-)
platform = [email protected]
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DWIFI_LED=0 -DENABLE_DEBUG
upload_speed=921600
monitor_speed = ${common.monitor_speed}
[env:emonesp_ota]
platform = [email protected]
framework = arduino
board = esp12e
upload_port = emonesp.local
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DWIFI_LED=0 -DENABLE_DEBUG
monitor_speed = ${common.monitor_speed}
[env:emonesp_spiffs]
platform = [email protected]
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version}
upload_flags = --spiffs
monitor_speed = ${common.monitor_speed}
[env:emonesp_deploy]
platform = [email protected]
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
src_build_flags = !(test -z $TRAVIS_TAG && echo '${common.version}') || echo '-DBUILD_TAG='$TRAVIS_TAG
[env:emonesp01]
platform = [email protected]
framework = arduino
board = esp01
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DESP01 -DENABLE_DEBUG
monitor_speed = ${common.monitor_speed}
# http://docs.platformio.org/en/latest/platforms/espressif8266.html#using-arduino-framework-with-staging-version
# Staging Arduino framework and common lib version
[env:emonesp_staging]
platform = espressif8266_stage
board = esp12e
framework = arduino
lib_deps = ${common.lib_deps}
src_build_flags = ${common.version} -DWIFI_LED=0 -DENABLE_DEBUG
upload_port = emonesp.local
monitor_speed = ${common.monitor_speed}
# staging Arduino framwork and latest libs
[env:emonesp_staging_libs]
platform = espressif8266_stage
board = esp12e
framework = arduino
lib_deps = https://github.com/knolleary/pubsubclient, https://github.com/me-no-dev/ESPAsyncWebServer.git, https://github.com/me-no-dev/ESPAsyncTCP.git
src_build_flags = ${common.version} -DWIFI_LED=0 -DENABLE_DEBUG
upload_port = emonesp.local
monitor_speed = ${common.monitor_speed}