-
Notifications
You must be signed in to change notification settings - Fork 7
/
build_log.txt
350 lines (312 loc) · 9.2 KB
/
build_log.txt
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
--------------------------------------------------------------
Select Flash -> Erase Flash (All Contents)
-------------------------------------------------------------
--------------------------------------------------------------
Select Tools -> Flash Size: "1MB (FS:none OTA:~502KB)"
-------------------------------------------------------------
-------------------------------------------------------------------------------
Build and Upload (completely erase ESP8266 flash and flash application firmware)
-------------------------------------------------------------------------------
... output doesn't matter ...
--------------------------------------------------------------
Select Tools -> Flash Size: "4MB (FS:1MB OTA:~1019KB)"
-------------------------------------------------------------
-------------------------------------------------------------------------------
Build and Upload (completely erase ESP8266 flash and flash application firmware)
-------------------------------------------------------------------------------
In file included from /home/hari/Arduino/ESP8266/ESP8266_BLUETOOTH_AUDIO_VARIO/ESP8266_BLUETOOTH_VARIO/wificfg.cpp:5:
/home/hari/Arduino/libraries/AsyncElegantOTA/src/AsyncElegantOTA.h:4:2: warning: #warning AsyncElegantOTA.loop(); is deprecated, please remove it from loop() if defined. This function will be removed in a future release. [-Wcpp]
4 | #warning AsyncElegantOTA.loop(); is deprecated, please remove it from loop() if defined. This function will be removed in a future release.
| ^~~~~~~
In file included from /home/hari/Arduino/libraries/ESPAsyncWebServer/src/SPIFFSEditor.cpp:1:
/home/hari/Arduino/libraries/ESPAsyncWebServer/src/SPIFFSEditor.h:16:101: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
16 | SPIFFSEditor(const String& username=String(), const String& password=String(), const fs::FS& fs=SPIFFS);
| ^~~~~~
In file included from /home/hari/Arduino/libraries/ESPAsyncWebServer/src/ESPAsyncWebServer.h:27,
from /home/hari/Arduino/libraries/ESPAsyncWebServer/src/SPIFFSEditor.h:3,
from /home/hari/Arduino/libraries/ESPAsyncWebServer/src/SPIFFSEditor.cpp:1:
/home/hari/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/FS.h:275:15: note: declared here
275 | extern fs::FS SPIFFS __attribute__((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
Executable segment sizes:
ICACHE : 32768 - flash instruction cache
IROM : 401424 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 30101 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1524 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 6192 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 27264 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 439241 bytes (42%) of program storage space. Maximum is 1044464 bytes.
Global variables use 34980 bytes (42%) of dynamic memory, leaving 46940 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 18:fe:34:d4:c1:a6
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Erasing flash (this may take a while)...
Chip erase completed successfully in 7.3s
Compressed 443392 bytes to 332659...
Writing at 0x00000000... (4 %)
Writing at 0x00004000... (9 %)
Writing at 0x00008000... (14 %)
Writing at 0x0000c000... (19 %)
Writing at 0x00010000... (23 %)
Writing at 0x00014000... (28 %)
Writing at 0x00018000... (33 %)
Writing at 0x0001c000... (38 %)
Writing at 0x00020000... (42 %)
Writing at 0x00024000... (47 %)
Writing at 0x00028000... (52 %)
Writing at 0x0002c000... (57 %)
Writing at 0x00030000... (61 %)
Writing at 0x00034000... (66 %)
Writing at 0x00038000... (71 %)
Writing at 0x0003c000... (76 %)
Writing at 0x00040000... (80 %)
Writing at 0x00044000... (85 %)
Writing at 0x00048000... (90 %)
Writing at 0x0004c000... (95 %)
Writing at 0x00050000... (100 %)
Wrote 443392 bytes (332659 compressed) at 0x00000000 in 7.5 seconds (effective 473.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
------------------------------------------
Select Flash -> Erase Flash (Sketch Only)
------------------------------------------
--------------------------------------------------------------
Select Tools -> ESP8266 LittleFS Data Upload
to build the LittleFS partition from /data contents and flash it.
--------------------------------------------------------------
[LittleFS] data : /home/hari/Arduino/ESP8266/ESP8266_BLUETOOTH_AUDIO_VARIO/ESP8266_BLUETOOTH_VARIO/data
[LittleFS] size : 1000
[LittleFS] page : 256
[LittleFS] block : 8192
/style.css
/index.html
[LittleFS] upload : /tmp/arduino_build_39727/ESP8266_BLUETOOTH_VARIO.mklittlefs.bin
[LittleFS] address : 0x300000
[LittleFS] reset : --before default_reset --after hard_reset
[LittleFS] port : /dev/ttyUSB0
[LittleFS] speed : 460800
[LittleFS] python : /home/hari/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3
[LittleFS] uploader : /home/hari/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/upload.py
esptool.py v3.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 18:fe:34:d4:c1:a6
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 1024000 bytes to 3021...
Writing at 0x00300000... (100 %)
Wrote 1024000 bytes (3021 compressed) at 0x00300000 in 0.1 seconds (effective 102373.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
-----------------------------
Tools->Serial Monitor
Press reset for first boot
----------------------------
ESP8266 BLUETOOTH VARIO compiled on Jan 8 2022 at 13:16:02
Firmware Revision 1.21
Checking non-volatile data (calibration and configuration)
Sizeof(NVD_PARAMS) = 28 bytes
Calculated checkSum = 0x1d84
Saved checkSum = ~0x0000
ERROR!! NVD BAD CHECKSUM, SETTING DEFAULTS
To start web configuration mode, press and hold the PCC button
until you hear a low-frequency tone. Then release the button
4
3
2
1
Battery voltage = 4.02V
Vario mode
Checking communication with MS5611
MS5611 PROM CRC = 0x9
Calculated CRC = 0x9
MS5611 OK
Checking communication with MPU9250
MPU9250 OK
Calibration parameters from NVD
Accel : axBias 0, ayBias 0, azBias 0
Gyro : gxBias 0, gyBias 0, gzBias 0
! Uncalibrated accelerometer !
Starting accelerometer calibration
-- Accelerometer calibration --
Place vario on a level surface with accelerometer z axis vertical and leave it undisturbed
You have 10 seconds, counted down with rapid beeps from 50 to 0
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Calibrating accelerometer
ax = -4 ay = -159 az = 8291
axBias = -4
ayBias = -159
azBias = 99
Accelerometer calibration done
Counting down to gyro calibration
Press the PCC button to enforce accelerometer calibration first
10
9
8
7
6
5
4
3
2
1
Calibrating gyro
Num Tries = 1
gxBias = 22
gyBias = -10
gzBias = 23
Gyro calibration OK
MS5611 config
MS5611 Calibration Coeffs : 48939 50595 29263 26380 30963 26826
Tavg : 29C
Pavg : 91410Pa
Zavg : 86013cm
KalmanFilter config
climbToneCps = 50
zeroesToneCps = 5
sinkToneCps = -250
crossoverCps = 400
Starting Vario
------------------------------------------------------------
Press reset again (normal, accelerometer calibrated boot)
-----------------------------------------------------------
ESP8266 BLUETOOTH VARIO compiled on Jan 8 2022 at 13:16:02
Firmware Revision 1.21
Checking non-volatile data (calibration and configuration)
Sizeof(NVD_PARAMS) = 28 bytes
Calculated checkSum = 0x0569
Saved checkSum = ~0x0569
NVD checkSum OK
ACCEL & GYRO Calibration Values
axBias = -4
ayBias = -159
azBias = 99
gxBias = 22
gyBias = -10
gzBias = 23
VARIO
climbThresholdCps = 50
zeroThresholdCps = 5
sinkThresholdCps = -250
crossoverCps = 400
KALMAN FILTER
accelVariance = 100
zMeasVariance = 200
MISCELLANEOUS
sleepTimeoutMinutes = 15
To start web configuration mode, press and hold the PCC button
until you hear a low-frequency tone. Then release the button
4
3
2
1
Battery voltage = 4.02V
Vario mode
Checking communication with MS5611
MS5611 PROM CRC = 0x9
Calculated CRC = 0x9
MS5611 OK
Checking communication with MPU9250
MPU9250 OK
Calibration parameters from NVD
Accel : axBias -4, ayBias -159, azBias 99
Gyro : gxBias 22, gyBias -10, gzBias 23
Counting down to gyro calibration
Press the PCC button to enforce accelerometer calibration first
10
9
8
7
6
5
4
3
2
1
Calibrating gyro
Num Tries = 1
gxBias = 23
gyBias = -11
gzBias = 22
Gyro calibration OK
MS5611 config
MS5611 Calibration Coeffs : 48939 50595 29263 26380 30963 26826
Tavg : 29C
Pavg : 91405Pa
Zavg : 86060cm
KalmanFilter config
climbToneCps = 50
zeroesToneCps = 5
sinkToneCps = -250
crossoverCps = 400
Starting Vario