-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
83 lines (78 loc) · 2.09 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
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
; 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 = esp32dev_debug
[common_env_data]
lib_deps_builtin =
WebServer
DNSServer
FS
https://github.com/tzapu/WiFiManager.git#development
; 849
build_flags =
-D DFW_VERSION=2020110601
'-D FWURLBASE="http://192.168.2.40/ESPOTA/"'
-D USE_SECRET_SSID
-D SENSOR_WIFI_RETRY_COUNT=3
-D SENSOR_SERVER_RETRY_COUNT=3
[env:esp32dev_debug]
platform = espressif32
board = lolin_d32
framework = arduino
build_type = debug
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
lib_deps =
${common_env_data.lib_deps_builtin}
build_flags =
${common_env_data.build_flags}
-D PINDHT22=23
-D SENSOR_READ_INTERVAL=10
-D SENSOR_ERROR_INTERVAL=30
-D SENSOR_MIN_UPDATE=10
-D SENSOR_OTA_INTERVAL=60
;-D SENSOR_MEASURE_PERFORMANCE
-D DEBUG
'-D SENSOR_TYPE="DEBUG sensor"'
; -D DFW_VERSION=2020090201
[env:outside_sensor]
platform = espressif32
board = lolin_d32
framework = arduino
monitor_speed = 115200
lib_deps =
${common_env_data.lib_deps_builtin}
build_flags =
${common_env_data.build_flags}
-D PINDHT22=23
-D SENSOR_READ_INTERVAL=240
-D SENSOR_ERROR_INTERVAL=240
-D SENSOR_MIN_UPDATE=5
-D SENSOR_OTA_INTERVAL=240
-D SENSOR_T_PRECISION=2
-D SENSOR_H_PRECISION=5
'-D SENSOR_TYPE="outside sensor"'
[env:inside_sensor]
platform = espressif32
board = lolin_d32
framework = arduino
monitor_speed = 115200
lib_deps =
${common_env_data.lib_deps_builtin}
build_flags =
${common_env_data.build_flags}
-D PINDHT22=23
-D SENSOR_READ_INTERVAL=60
-D SENSOR_ERROR_INTERVAL=60
-D SENSOR_MIN_UPDATE=20
-D SENSOR_OTA_INTERVAL=120
-D SENSOR_T_PRECISION=2
-D SENSOR_H_PRECISION=5
'-D SENSOR_TYPE="inside sensor"'