-
Notifications
You must be signed in to change notification settings - Fork 20
/
platformio.ini
111 lines (95 loc) · 2.78 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
; 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
[env]
framework = arduino
lib_deps =
bblanchon/ArduinoJson @ ~6.19.4
; bblanchon/[email protected]
knolleary/PubSubClient@^2.8
;git+https://github.com/PaulWieland/arduinoImprovBootstrapper#ratgdo
symlink://../arduinoImprovBootstrapper
symlink://../secplus
build_flags =
'-D IMPROV_ENABLED=15000'
'-D MQTT_KEEP_ALIVE=15'
'-D AUTHOR="Paul Wieland"'
'-D DEBUG_QUEUE_MSG=1'
'-D MQTT_MAX_PACKET_SIZE=768'
monitor_speed = 115200 ; must remain at 115200 for improv
extra_scripts = build_script.py
[env:ratgdo_esp8266_hV2]
custom_prog_version = 2.29
platform = espressif8266
board = d1_mini_lite
board_build.ldscript = eagle.flash.4m3m.ld
board_build.filesystem = littlefs
build_flags =
${env.build_flags}
'-D VERSION="${this.custom_prog_version}"'
'-D ASSIGN_OUTPUT_GDO=D4'
'-D HWV=2.0'
monitor_filters = esp8266_exception_decoder
[env:ratgdo_esp8266_hV2_nowifi]
custom_prog_version = 2.29
platform = espressif8266
board = d1_mini_lite
board_build.ldscript = eagle.flash.4m3m.ld
board_build.filesystem = littlefs
build_flags =
${env.build_flags}
'-D DISABLE_WIFI=1'
'-D VERSION="${this.custom_prog_version}"'
'-D ASSIGN_OUTPUT_GDO=D4'
'-D HWV=2.0'
monitor_filters = esp8266_exception_decoder
[env:ratgdo_esp8266_hV25]
custom_prog_version = 2.59
platform = espressif8266
board = d1_mini_lite
board_build.ldscript = eagle.flash.4m3m.ld
board_build.filesystem = littlefs
build_flags =
${env.build_flags}
'-D VERSION="${this.custom_prog_version}"'
'-D ASSIGN_OUTPUT_GDO=D1'
'-D HWV=2.5'
monitor_filters = esp8266_exception_decoder
; [env:ratgdo_esp8266_hV2_no_wifi]
; framework = ${env.framework}
; platform = espressif8266
; board = d1_mini_lite
; board_build.ldscript = eagle.flash.4m3m.ld
; board_build.filesystem = littlefs
; build_flags =
; ${env.build_flags}
; '-D ASSIGN_OUTPUT_GDO=D4'
; '-D DISABLE_WIFI=1'
; lib_deps =
; ${env.lib_deps}
; monitor_filters = esp8266_exception_decoder
; monitor_speed = ${env.monitor_speed}
; [env:ratgdo_esp8266_hV25_no_wifi]
; framework = ${env.framework}
; platform = espressif8266
; board = d1_mini_lite
; board_build.ldscript = eagle.flash.4m3m.ld
; board_build.filesystem = littlefs
; build_flags =
; ${env.build_flags}
; '-D ASSIGN_OUTPUT_GDO=D1'
; '-D DISABLE_WIFI=1'
; lib_deps =
; ${env.lib_deps}
; monitor_filters = esp8266_exception_decoder
; monitor_speed = ${env.monitor_speed}
; [env:d1_mini_lite_ota]
; extends = env:d1_mini_lite
; upload_protocol = espota
; upload_port = 10.0.1.246