-
Notifications
You must be signed in to change notification settings - Fork 3
/
platformio.ini
142 lines (131 loc) · 3.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
; 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]
src_dir = ESPGeiger
;default_envs = esp32_cajoe_iotgm
;default_envs = esp32_cajoe_iotgm_no_pcnt
;default_envs = esp32_gc10
;default_envs = esp32d1_gc10
;default_envs = esp32_gc10next
;default_envs = esp32_mightyohm
;default_envs = esp32_pulse
;default_envs = esp32_pulse_no_pcnt
;default_envs = esp32_test
;default_envs = esp32_test_gc10
;default_envs = esp32_test_mightyohm
;default_envs = esp32_testpulse
;default_envs = esp32_testpulseint
;default_envs = esp32oled_gc10
;default_envs = esp32oled_gc10next
;default_envs = esp32oled_mightyohm
;default_envs = esp32oled_pulse
;default_envs = esp32oled_pulse_no_pcnt
;default_envs = esp32oled_test
;default_envs = esp32oled_test_gc10
;default_envs = esp32oled_test_mightyohm
;default_envs = esp32oled_testpulse
;default_envs = esp8266_gc10
;default_envs = esp8266_gc10next
;default_envs = esp8266_mightyohm
;default_envs = esp8266_pulse
;default_envs = esp8266_pulsemin
;default_envs = esp8266_test
;default_envs = esp8266_test_gc10
;default_envs = esp8266_test_mightyohm
;default_envs = esp8266_testpulse
;default_envs = esp8266_testpulseint
;default_envs = esp8266oled_gc10
;default_envs = esp8266oled_gc10next
;default_envs = esp8266oled_mightyohm
;default_envs = esp8266oled_pulse
;default_envs = esp8266oled_test
;default_envs = esp8266oled_test_gc10
;default_envs = esp8266oled_testpulse
;default_envs = esp8266oled_testpulseint
;default_envs = espgeigerhw
;default_envs = espgeigerlite
;default_envs = espgeigerlite_test
;default_envs = espgeigerlite_testpulse
;default_envs = espgeigerlog
;default_envs = espgeigerlog_gc10
;default_envs = espgeigerlog_gc10next
;default_envs = espgeigerlog_mightyohm
;default_envs = espgeigerlog_test
;default_envs = espgeigerlog_testpulse
;default_envs = espgeigerlog_testpulseint
;default_envs = espgeigerlog_test_mightyohm
;default_envs = espgeigerlog_test_gc10
lib_dir = lib/default
extra_configs =
environments.ini
*_env.ini
[libraries]
arduinojson = [email protected]
async_http = khoih-prog/[email protected]
softwareserial = plerup/[email protected]
smoothed = MattFryer/[email protected]
wifimanager = https://github.com/tzapu/WiFiManager.git#v2.0.17
ssd1306display = thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.6.1
jled = jandelgado/JLed@^4.13.1
neopixel = makuna/NeoPixelBus@^2.8.0
[env]
framework = arduino
lib_deps =
${libraries.arduinojson}
${libraries.async_http}
${libraries.jled}
${libraries.smoothed}
${libraries.wifimanager}
build_flags =
-w ; supress all warnings
!python scripts/git_rev.py
monitor_speed = 115200
# Uncomment these 2 lines by deleting ";" and edit as needed to upload through OTA
;upload_protocol = espota
;upload_port = IP_OF_THE_BOARD
[com]
esp32_platform = [email protected]
esp8266_platform = [email protected]
[com-esp]
lib_deps =
${env.lib_deps}
build_flags =
${env.build_flags}
-D LOROL_LITTLEFS
-D WM_NOHELP
-D GMCOUT
-D RADMONOUT
-D THINGSPEAKOUT
-D MQTTOUT
-D MQTTAUTODISCOVER
-D SERIALOUT
; -D MQTT_MEM_DEBUG
[com-esp32]
lib_deps =
${com-esp.lib_deps}
${libraries.softwareserial}
board_build.partitions = min_spiffs.csv
[com-esp8266]
lib_deps =
${com-esp.lib_deps}
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m64.ld ;this frees more space for firmware uplad via OTA.
[geiger_type]
pulse = 1
serial = 2
test = 3
testpulse = 4
testserial = 5
testpulseint = 6
[serial_type]
gc10 = 1
gc10nx = 2
mightyohm = 3
espgeiger = 4