-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
95 lines (91 loc) · 2.82 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
84
85
86
87
88
89
90
91
92
93
94
95
; 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
[common_env_data]
upload_speed = 921600
monitor_speed = 115200
platform = espressif8266
framework = arduino
board = d1_mini
board_build.filesystem = littlefs
build_unflags =
build_flags =
-D BAUD=${common_env_data.monitor_speed}
-D ACTIVATE_BLYNK
-D ACTIVATE_WIFI
-D ACTIVATE_OTA
-D ACTIVATE_PUSH
-D ACTIVATE_TEMP
-D EMBED_HTML
-D USE_LITTLEFS=true
-D CFG_APPVER="\"1.0.0\""
lib_deps =
https://github.com/graphitemaster/incbin
https://github.com/thijse/Arduino-Log
https://github.com/enjoyneering/LiquidCrystal_I2C
https://github.com/blynkkk/blynk-library
https://github.com/bblanchon/ArduinoJson
https://github.com/PaulStoffregen/OneWire
https://github.com/khoih-prog/ESP_DoubleResetDetector
https://github.com/tzapu/WiFiManager
milesburton/DallasTemperature @ ^3.9.1
[env:stirplate-release]
board_build.filesystem = ${common_env_data.board_build.filesystem}
extra_scripts = script/copy_firmware.py
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
framework = ${common_env_data.framework}
platform = ${common_env_data.platform}
build_unflags = ${common_env_data.build_unflags}
build_flags =
${common_env_data.build_flags}
-D LOG_LEVEL=5
# -D LOG_LEVEL=6
lib_deps =
${common_env_data.lib_deps}
board = ${common_env_data.board}
build_type = release
[env:stirplate-release-nowifi]
board_build.filesystem = ${common_env_data.board_build.filesystem}
extra_scripts = script/copy_firmware.py
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
framework = ${common_env_data.framework}
platform = ${common_env_data.platform}
build_unflags = ${common_env_data.build_unflags}
-D ACTIVATE_BLYNK
-D ACTIVATE_PUSH
-D ACTIVATE_WIFI
-D ACTIVATE_OTA
build_flags =
${common_env_data.build_flags}
-D LOG_LEVEL=5
lib_deps =
${common_env_data.lib_deps}
board = ${common_env_data.board}
build_type = release
[env:stirplate-debug]
board_build.filesystem = ${common_env_data.board_build.filesystem}
extra_scripts = script/copy_firmware.py
upload_speed = ${common_env_data.upload_speed}
monitor_speed = ${common_env_data.monitor_speed}
framework = ${common_env_data.framework}
platform = ${common_env_data.platform}
build_unflags = ${common_env_data.build_unflags}
build_flags =
${common_env_data.build_flags}
-D LOG_LEVEL=6
-D SIMULATE_SENSOR
-D SIMULATE_TEMP
-D SIMULATE_RPM
# -D DISPLAY_SELFTEST
lib_deps =
${common_env_data.lib_deps}
board = ${common_env_data.board}
build_type = debug