Subversion Repositories dashGPS

Rev

Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19 mjames 1
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                    page 1
16 mjames 2
 
3
 
4
   1                            .cpu cortex-m3
5
   2                            .eabi_attribute 20, 1
6
   3                            .eabi_attribute 21, 1
7
   4                            .eabi_attribute 23, 3
8
   5                            .eabi_attribute 24, 1
9
   6                            .eabi_attribute 25, 1
10
   7                            .eabi_attribute 26, 1
11
   8                            .eabi_attribute 30, 1
12
   9                            .eabi_attribute 34, 1
13
  10                            .eabi_attribute 18, 4
14
  11                            .file   "display.cpp"
15
  12                            .text
16
  13                    .Ltext0:
17
  14                            .cfi_sections   .debug_frame
18
  15                            .section        .text._Z41__static_initialization_and_destruction_0ii,"ax",%progbits
19
  16                            .align  1
20
  17                            .arch armv7-m
21
  18                            .syntax unified
22
  19                            .thumb
23
  20                            .thumb_func
24
  21                            .fpu softvfp
25
  23                    _Z41__static_initialization_and_destruction_0ii:
26
  24                    .LVL0:
27
  25                    .LFB98:
28
  26                            .file 1 "src/display.cpp"
29
   1:src/display.cpp **** #include "main.h"
30
   2:src/display.cpp **** #include "libNMEA/nmea.h"
31
   3:src/display.cpp **** #include <cstring>
32
   4:src/display.cpp **** #include "libOLED/stm32_halDisplay.H"
33
   5:src/display.cpp **** #include "libOLED/fontclass.H"
34
   6:src/display.cpp **** #include "libOLED/displayDial.H"
35
   7:src/display.cpp ****
19 mjames 36
   8:src/display.cpp **** #include "libBME280/bme280.h"
16 mjames 37
   9:src/display.cpp ****
38
  10:src/display.cpp **** #include "libSmallPrintf/small_printf.h"
39
  11:src/display.cpp ****
40
  12:src/display.cpp **** #if defined USB_DEVICE
41
  13:src/display.cpp **** #include "usbd_cdc_if.h"
42
  14:src/display.cpp **** #endif
43
  15:src/display.cpp ****
44
  16:src/display.cpp **** namespace
45
  17:src/display.cpp **** {
46
  18:src/display.cpp ****   int const WIDTH = 128;
47
  19:src/display.cpp ****   int const HEIGHT = 64;
48
  20:src/display.cpp ****   int const DISPLAY_RAMWIDTH = 132;
49
  21:src/display.cpp ****
50
  22:src/display.cpp **** }
51
  23:src/display.cpp ****
52
  24:src/display.cpp **** float speedMPH = 0.0;
53
  25:src/display.cpp **** float speedAVG = 0.0;
19 mjames 54
  26:src/display.cpp **** int speedTimer = 0;
16 mjames 55
  27:src/display.cpp **** float speedDist = 0.0;
56
  28:src/display.cpp ****
19 mjames 57
  29:src/display.cpp **** int heading = 0;
58
  30:src/display.cpp **** Location loc;
59
  31:src/display.cpp ****
60
  32:src/display.cpp **** uint32_t lastTick = 0;
61
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 2
16 mjames 62
 
63
 
19 mjames 64
  33:src/display.cpp **** int32_t rslt;
65
  34:src/display.cpp ****
66
  35:src/display.cpp **** uint8_t displayBuffer[dataSize (WIDTH, HEIGHT)];
67
  36:src/display.cpp ****
68
  37:src/display.cpp **** stm32_halDisplay_t display1 (WIDTH, HEIGHT, DISPLAY_RAMWIDTH, displayBuffer,
69
  38:src/display.cpp ****                            &hspi1,
16 mjames 70
  39:src/display.cpp ****
19 mjames 71
  40:src/display.cpp ****                            SPI_CD_GPIO_Port,
72
  41:src/display.cpp ****                            SPI_CD_Pin,
73
  42:src/display.cpp ****                            SPI_RESET_GPIO_Port,
74
  43:src/display.cpp ****                            SPI_RESET_Pin,
75
  44:src/display.cpp ****                            SPI_NSS1_GPIO_Port,
76
  45:src/display.cpp ****                            SPI_NSS1_Pin);
77
  46:src/display.cpp ****
78
  47:src/display.cpp **** displayDial_t dial (display1, 96, 32, 32, 180);
79
  48:src/display.cpp ****
80
  49:src/display.cpp **** extern "C" void
81
  50:src/display.cpp **** cc_init ()
82
  51:src/display.cpp **** {
83
  52:src/display.cpp ****   display1.reset ();
84
  53:src/display.cpp ****
85
  54:src/display.cpp ****   display1.init ();
86
  55:src/display.cpp ****   display1.clearDisplay ();
16 mjames 87
  56:src/display.cpp ****
19 mjames 88
  57:src/display.cpp ****   dial.draw_scale (0, 360, 8, 1, 45);
89
  58:src/display.cpp ****
90
  59:src/display.cpp ****   display1.display ();
91
  60:src/display.cpp ****
92
  61:src/display.cpp ****   memset (loc.time, '-', 6);
93
  62:src/display.cpp **** }
16 mjames 94
  63:src/display.cpp ****
19 mjames 95
  64:src/display.cpp **** char fontBuf[] = "01234567";
96
  65:src/display.cpp **** extern "C" void
97
  66:src/display.cpp **** cc_run (struct bme280_dev *dev)
98
  67:src/display.cpp ****
99
  68:src/display.cpp **** {
100
  69:src/display.cpp ****
101
  70:src/display.cpp ****   display1.clearDisplay ();
102
  71:src/display.cpp ****   dial.draw_scale (0, 360, 8, 1, 45);
16 mjames 103
  72:src/display.cpp ****
19 mjames 104
  73:src/display.cpp ****   bool stat = updateLocation (&loc, &uc1);
105
  74:src/display.cpp ****   if (loc.good)
106
  75:src/display.cpp ****     {
107
  76:src/display.cpp ****       heading = loc.heading;
108
  77:src/display.cpp ****
109
  78:src/display.cpp ****       loc.good = false;
110
  79:src/display.cpp ****     }
111
  80:src/display.cpp ****   if (loc.valid == 'V')
112
  81:src/display.cpp ****     memset (loc.time, '-', 6);
113
  82:src/display.cpp ****
114
  83:src/display.cpp ****   // print out the GMT time at the top of the screen
115
  84:src/display.cpp ****   display1.gotoxy (0, 0);
116
  85:src/display.cpp ****   display1.printString (small_font, &loc.time[0], 2, WHITE);
117
  86:src/display.cpp ****   display1.printString (small_font, ":", 1, WHITE);
118
  87:src/display.cpp ****   display1.printString (small_font, &loc.time[2], 2, WHITE);
119
  88:src/display.cpp ****
120
  89:src/display.cpp ****   display1.printString (small_font, ":", 1, WHITE);
121
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 3
16 mjames 122
 
123
 
19 mjames 124
  90:src/display.cpp ****   display1.printString (small_font, &loc.time[4], 2, WHITE);
125
  91:src/display.cpp ****   int dial_ang = heading + 180;
126
  92:src/display.cpp ****   dial.draw_needle (dial_ang);
16 mjames 127
  93:src/display.cpp ****
19 mjames 128
  94:src/display.cpp ****   display1.gotoxy (70, 25);
129
  95:src/display.cpp ****   if (loc.valid == 'A')
130
  96:src/display.cpp ****     {
131
  97:src/display.cpp ****       display1.fontDigits (large_font, 3, -1, heading);
132
  98:src/display.cpp ****     }
133
  99:src/display.cpp ****   else
134
 100:src/display.cpp ****     display1.printString (large_font, "GPS?", 4, WHITE);
135
 101:src/display.cpp ****
136
 102:src/display.cpp ****   if (loc.valid == 'A')
137
 103:src/display.cpp ****     speedMPH = loc.speed / 1.815;
138
 104:src/display.cpp ****
139
 105:src/display.cpp ****   display1.gotoxy (0, 8);
140
 106:src/display.cpp ****   display1.printString (small_font, "Speed", 5, WHITE);
141
 107:src/display.cpp ****   display1.gotoxy (0, 16);
142
 108:src/display.cpp ****   display1.fontDigits (large_font, 4, 1, speedMPH * 10);
16 mjames 143
 109:src/display.cpp ****
19 mjames 144
 110:src/display.cpp ****   display1.gotoxy (0, 32);
145
 111:src/display.cpp ****   display1.printString (small_font, "Average", 7, WHITE);
146
 112:src/display.cpp ****   display1.gotoxy (0, 40);
147
 113:src/display.cpp ****   display1.fontDigits (large_font, 4, 1, speedAVG * 10);
16 mjames 148
 114:src/display.cpp ****
19 mjames 149
 115:src/display.cpp **** if (HAL_GetTick () - lastTick > 100)
150
 116:src/display.cpp ****   {
151
 117:src/display.cpp ****     lastTick = HAL_GetTick ();
152
 118:src/display.cpp ****
153
 119:src/display.cpp ****     // storage for readings
154
 120:src/display.cpp ****     struct bme280_data comp_data;
16 mjames 155
 121:src/display.cpp ****
19 mjames 156
 122:src/display.cpp ****     rslt = bme280_get_sensor_data (BME280_ALL, &comp_data, dev);
157
 123:src/display.cpp ****     if (rslt == BME280_OK)
158
 124:src/display.cpp ****       {
159
 125:src/display.cpp ****
160
 126:src/display.cpp ****       float temp, press, hum;
16 mjames 161
 127:src/display.cpp ****
19 mjames 162
 128:src/display.cpp **** #ifdef BME280_FLOAT_ENABLE
163
 129:src/display.cpp ****       temp = comp_data.temperature;
164
 130:src/display.cpp ****       press = 0.01 * comp_data.pressure;
165
 131:src/display.cpp ****       hum = comp_data.humidity;
166
 132:src/display.cpp **** #else
167
 133:src/display.cpp **** #ifdef BME280_64BIT_ENABLE
168
 134:src/display.cpp ****       temp = 0.01f * comp_data.temperature;
169
 135:src/display.cpp ****       press = 0.0001f * comp_data.pressure;
170
 136:src/display.cpp ****       hum = 1.0f / 1024.0f * comp_data.humidity;
171
 137:src/display.cpp **** #else
172
 138:src/display.cpp ****       temp = 0.01f * comp_data.temperature;
173
 139:src/display.cpp ****       press = 0.01f * comp_data.pressure;
174
 140:src/display.cpp ****       hum = 1.0f / 1024.0f * comp_data.humidity;
175
 141:src/display.cpp **** #endif
176
 142:src/display.cpp **** #endif
177
 143:src/display.cpp ****
178
 144:src/display.cpp ****       uint32_t temp32 = 0;
179
 145:src/display.cpp ****       uint32_t press32 = 0;
180
 146:src/display.cpp ****       uint32_t hum32 = 0;
181
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 4
16 mjames 182
 
183
 
19 mjames 184
 147:src/display.cpp ****
185
 148:src/display.cpp **** #if defined USB_DEVICE
186
 149:src/display.cpp ****       /*
187
 150:src/display.cpp ****        *  $--XDR,a,x.x,a,c--c, ..... *hh<CR><LF> \\
188
 151:src/display.cpp ****
189
 152:src/display.cpp ****             Field Number:
190
 153:src/display.cpp ****        1) Transducer Type
191
 154:src/display.cpp ****        2) Measurement Data
192
 155:src/display.cpp ****        3) Units of measurement
193
 156:src/display.cpp ****        4) Name of transducer
194
 157:src/display.cpp ****        x) More of the same
195
 158:src/display.cpp ****        n) Checksum
196
 159:src/display.cpp ****
197
 160:src/display.cpp ****        Example:
198
 161:src/display.cpp ****        $IIXDR,C,19.52,C,TempAir*19
199
 162:src/display.cpp ****        $IIXDR,P,1.02481,B,Barometer*29
200
 163:src/display.cpp ****
201
 164:src/display.cpp ****        Currently, OpenCPN recognizes the following transducers:
202
 165:src/display.cpp ****
203
 166:src/display.cpp ****        Measured Value | Transducer Type | Measured Data   | Unit of measure | Transducer Name
204
 167:src/display.cpp ****        -------------------------------------------------------------------------------------------------
205
 168:src/display.cpp ****        barometric     | "P" pressure    | 0.8..1.1 or 800..1100           | "B" bar         | "Barometer
206
 169:src/display.cpp ****        air temperature| "C" temperature |   2 decimals                    | "C" celsius     | "TempAir"
207
 170:src/display.cpp ****        pitch          | "A" angle       |-180..0 nose down 0..180 nose up | "D" degrees     | "PTCH" or
208
 171:src/display.cpp ****        rolling        | "A" angle       |-180..0 L         0..180 R       | "D" degrees     | "ROLL"
209
 172:src/display.cpp ****        water temp     | "C" temperature |   2 decimals                    | "C" celsius     | "ENV_WATER
210
 173:src/display.cpp ****        */
211
 174:src/display.cpp ****       // compile a logger message over USB
212
 175:src/display.cpp ****       char buffer[200];
213
 176:src/display.cpp ****       int cnt = small_sprintf(buffer,"$MJXDR,C,%ld.%02ld,C,AirTemp,P,%01ld.%05ld,B,AirPres",temp32/100,t
214
 177:src/display.cpp ****       uint8_t sum=0;
215
 178:src/display.cpp ****       for(int i=1; i<cnt; i++)
216
 179:src/display.cpp ****       sum += buffer[i];
217
 180:src/display.cpp ****       cnt+= small_sprintf(buffer+cnt,"*%02X\n",sum);
218
 181:src/display.cpp ****
219
 182:src/display.cpp ****       CDC_Transmit_FS(reinterpret_cast<uint8_t*>(&buffer[0]),cnt);
220
 183:src/display.cpp **** #endif
221
 184:src/display.cpp ****
222
 185:src/display.cpp ****       display1.gotoxy (0, 56);
223
 186:src/display.cpp ****       display1.printString (small_font, "T", 2, WHITE);
224
 187:src/display.cpp ****       display1.fontDigits (small_font, 4, 1, temp32 / 10, WHITE);
225
 188:src/display.cpp ****       display1.printString (small_font, " P", 2, WHITE);
226
 189:src/display.cpp ****       display1.fontDigits (small_font, 5, 0, press32 / 100, WHITE);
227
 190:src/display.cpp ****       display1.printString (small_font, " ", 1, WHITE);
228
 191:src/display.cpp ****
229
 192:src/display.cpp ****       display1.display ();
230
 193:src/display.cpp ****       }
231
 194:src/display.cpp ****   }
232
 195:src/display.cpp **** }
233
  27                            .loc 1 195 1 view -0
16 mjames 234
  28                            .cfi_startproc
235
  29                            @ args = 0, pretend = 0, frame = 0
236
  30                            @ frame_needed = 0, uses_anonymous_args = 0
19 mjames 237
  31                            .loc 1 195 1 is_stmt 0 view .LVU1
16 mjames 238
  32 0000 0128                  cmp     r0, #1
239
  33 0002 00D0                  beq     .L7
240
  34                    .L4:
19 mjames 241
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 5
242
 
243
 
16 mjames 244
  35 0004 7047                  bx      lr
245
  36                    .L7:
19 mjames 246
  37                            .loc 1 195 1 discriminator 1 view .LVU2
16 mjames 247
  38 0006 4FF6FF73              movw    r3, #65535
248
  39 000a 9942                  cmp     r1, r3
249
  40 000c FAD1                  bne     .L4
19 mjames 250
  41                            .loc 1 195 1 view .LVU3
16 mjames 251
  42 000e 10B5                  push    {r4, lr}
252
  43                    .LCFI0:
253
  44                            .cfi_def_cfa_offset 8
254
  45                            .cfi_offset 4, -8
255
  46                            .cfi_offset 14, -4
256
  47 0010 88B0                  sub     sp, sp, #32
257
  48                    .LCFI1:
258
  49                            .cfi_def_cfa_offset 40
19 mjames 259
  45:src/display.cpp ****
260
  50                            .loc 1 45 21 view .LVU4
16 mjames 261
  51 0012 134C                  ldr     r4, .L8
262
  52 0014 4022                  movs    r2, #64
263
  53 0016 0792                  str     r2, [sp, #28]
264
  54 0018 03F18043              add     r3, r3, #1073741824
265
  55 001c 03F60103              addw    r3, r3, #2049
266
  56 0020 0693                  str     r3, [sp, #24]
267
  57 0022 1021                  movs    r1, #16
268
  58                    .LVL1:
19 mjames 269
  45:src/display.cpp ****
270
  59                            .loc 1 45 21 view .LVU5
16 mjames 271
  60 0024 0591                  str     r1, [sp, #20]
272
  61 0026 0493                  str     r3, [sp, #16]
273
  62 0028 0821                  movs    r1, #8
274
  63 002a 0391                  str     r1, [sp, #12]
275
  64 002c 0293                  str     r3, [sp, #8]
276
  65 002e 0D4B                  ldr     r3, .L8+4
277
  66 0030 0193                  str     r3, [sp, #4]
278
  67 0032 0D4B                  ldr     r3, .L8+8
279
  68 0034 0093                  str     r3, [sp]
280
  69 0036 8423                  movs    r3, #132
281
  70 0038 8021                  movs    r1, #128
282
  71 003a 2046                  mov     r0, r4
283
  72                    .LVL2:
19 mjames 284
  45:src/display.cpp ****
285
  73                            .loc 1 45 21 view .LVU6
16 mjames 286
  74 003c FFF7FEFF              bl      _ZN18stm32_halDisplay_tC1EiiiPhP19__SPI_HandleTypeDefP12GPIO_TypeDeftS4_tS4_t
287
  75                    .LVL3:
19 mjames 288
  37:src/display.cpp ****                            &hspi1,
289
  76                            .loc 1 37 20 view .LVU7
16 mjames 290
  77 0040 0A4A                  ldr     r2, .L8+12
291
  78 0042 0B49                  ldr     r1, .L8+16
292
  79 0044 2046                  mov     r0, r4
293
  80 0046 FFF7FEFF              bl      __aeabi_atexit
294
  81                    .LVL4:
19 mjames 295
  47:src/display.cpp ****
296
  82                            .loc 1 47 46 view .LVU8
16 mjames 297
  83 004a B423                  movs    r3, #180
298
  84 004c 0193                  str     r3, [sp, #4]
299
  85 004e 2023                  movs    r3, #32
300
  86 0050 0093                  str     r3, [sp]
19 mjames 301
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 6
302
 
303
 
16 mjames 304
  87 0052 6022                  movs    r2, #96
305
  88 0054 2146                  mov     r1, r4
306
  89 0056 0748                  ldr     r0, .L8+20
307
  90 0058 FFF7FEFF              bl      _ZN13displayDial_tC1ER9display_thhht
308
  91                    .LVL5:
19 mjames 309
  92                            .loc 1 195 1 view .LVU9
16 mjames 310
  93 005c 08B0                  add     sp, sp, #32
311
  94                    .LCFI2:
312
  95                            .cfi_def_cfa_offset 8
313
  96                            @ sp needed
314
  97 005e 10BD                  pop     {r4, pc}
315
  98                    .L9:
316
  99                            .align  2
317
 100                    .L8:
318
 101 0060 00000000              .word   .LANCHOR0
319
 102 0064 00000000              .word   hspi1
320
 103 0068 00000000              .word   .LANCHOR1
321
 104 006c 00000000              .word   __dso_handle
322
 105 0070 00000000              .word   _ZN18stm32_halDisplay_tD1Ev
323
 106 0074 00000000              .word   .LANCHOR2
324
 107                            .cfi_endproc
325
 108                    .LFE98:
326
 110                            .section        .text._ZN18stm32_halDisplay_tD2Ev,"axG",%progbits,_ZN18stm32_halDisplay_tD5Ev,comdat
327
 111                            .align  1
328
 112                            .weak   _ZN18stm32_halDisplay_tD2Ev
329
 113                            .syntax unified
330
 114                            .thumb
331
 115                            .thumb_func
332
 116                            .fpu softvfp
333
 118                    _ZN18stm32_halDisplay_tD2Ev:
334
 119                    .LVL6:
335
 120                    .LFB100:
336
 121                            .file 2 "../libOLED/inc/libOLED/stm32_halDisplay.H"
337
   1:../libOLED/inc/libOLED/stm32_halDisplay.H **** /*
338
   2:../libOLED/inc/libOLED/stm32_halDisplay.H ****  * stm32_halDisplay.H
339
   3:../libOLED/inc/libOLED/stm32_halDisplay.H ****  *
340
   4:../libOLED/inc/libOLED/stm32_halDisplay.H ****  *  Created on: 1 Nov 2020
341
   5:../libOLED/inc/libOLED/stm32_halDisplay.H ****  *      Author: mike
342
   6:../libOLED/inc/libOLED/stm32_halDisplay.H ****  */
343
   7:../libOLED/inc/libOLED/stm32_halDisplay.H ****
344
   8:../libOLED/inc/libOLED/stm32_halDisplay.H **** #pragma once
345
   9:../libOLED/inc/libOLED/stm32_halDisplay.H ****
346
  10:../libOLED/inc/libOLED/stm32_halDisplay.H **** #include "main.h"
347
  11:../libOLED/inc/libOLED/stm32_halDisplay.H ****
348
  12:../libOLED/inc/libOLED/stm32_halDisplay.H **** #include "libOLED/displayclass.H"
349
  13:../libOLED/inc/libOLED/stm32_halDisplay.H ****
350
  14:../libOLED/inc/libOLED/stm32_halDisplay.H **** class stm32_halDisplay_t : public display_t
351
 122                            .loc 2 14 7 is_stmt 1 view -0
352
 123                            .cfi_startproc
353
 124                            @ args = 0, pretend = 0, frame = 0
354
 125                            @ frame_needed = 0, uses_anonymous_args = 0
355
 126                            .loc 2 14 7 is_stmt 0 view .LVU11
356
 127 0000 10B5                  push    {r4, lr}
357
 128                    .LCFI3:
358
 129                            .cfi_def_cfa_offset 8
359
 130                            .cfi_offset 4, -8
360
 131                            .cfi_offset 14, -4
19 mjames 361
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 7
362
 
363
 
16 mjames 364
 132 0002 0446                  mov     r4, r0
365
 133                    .LBB24:
366
 134                            .loc 2 14 7 view .LVU12
367
 135 0004 024B                  ldr     r3, .L12
368
 136 0006 0360                  str     r3, [r0]
369
 137 0008 FFF7FEFF              bl      _ZN9display_tD2Ev
370
 138                    .LVL7:
371
 139                            .loc 2 14 7 view .LVU13
372
 140                    .LBE24:
373
 141 000c 2046                  mov     r0, r4
374
 142 000e 10BD                  pop     {r4, pc}
375
 143                    .LVL8:
376
 144                    .L13:
377
 145                            .loc 2 14 7 view .LVU14
378
 146                            .align  2
379
 147                    .L12:
380
 148 0010 08000000              .word   _ZTV18stm32_halDisplay_t+8
381
 149                            .cfi_endproc
382
 150                    .LFE100:
383
 152                            .weak   _ZN18stm32_halDisplay_tD1Ev
384
 153                            .thumb_set _ZN18stm32_halDisplay_tD1Ev,_ZN18stm32_halDisplay_tD2Ev
385
 154                            .section        .text.cc_init,"ax",%progbits
386
 155                            .align  1
387
 156                            .global cc_init
388
 157                            .syntax unified
389
 158                            .thumb
390
 159                            .thumb_func
391
 160                            .fpu softvfp
392
 162                    cc_init:
393
 163                    .LFB96:
19 mjames 394
  51:src/display.cpp ****   display1.reset ();
395
 164                            .loc 1 51 1 is_stmt 1 view -0
16 mjames 396
 165                            .cfi_startproc
397
 166                            @ args = 0, pretend = 0, frame = 0
398
 167                            @ frame_needed = 0, uses_anonymous_args = 0
399
 168 0000 10B5                  push    {r4, lr}
400
 169                    .LCFI4:
401
 170                            .cfi_def_cfa_offset 8
402
 171                            .cfi_offset 4, -8
403
 172                            .cfi_offset 14, -4
404
 173 0002 82B0                  sub     sp, sp, #8
405
 174                    .LCFI5:
406
 175                            .cfi_def_cfa_offset 16
19 mjames 407
  52:src/display.cpp ****
408
 176                            .loc 1 52 3 view .LVU16
409
  52:src/display.cpp ****
410
 177                            .loc 1 52 18 is_stmt 0 view .LVU17
16 mjames 411
 178 0004 104C                  ldr     r4, .L16
412
 179 0006 2046                  mov     r0, r4
413
 180 0008 FFF7FEFF              bl      _ZN9display_t5resetEv
414
 181                    .LVL9:
19 mjames 415
  54:src/display.cpp ****   display1.clearDisplay ();
416
 182                            .loc 1 54 3 is_stmt 1 view .LVU18
417
  54:src/display.cpp ****   display1.clearDisplay ();
418
 183                            .loc 1 54 17 is_stmt 0 view .LVU19
16 mjames 419
 184 000c 2046                  mov     r0, r4
420
 185 000e FFF7FEFF              bl      _ZN9display_t4initEv
19 mjames 421
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 8
422
 
423
 
16 mjames 424
 186                    .LVL10:
19 mjames 425
  55:src/display.cpp ****
426
 187                            .loc 1 55 3 is_stmt 1 view .LVU20
427
  55:src/display.cpp ****
428
 188                            .loc 1 55 25 is_stmt 0 view .LVU21
16 mjames 429
 189 0012 0021                  movs    r1, #0
430
 190 0014 2046                  mov     r0, r4
431
 191 0016 FFF7FEFF              bl      _ZN9display_t12clearDisplayE8colour_t
432
 192                    .LVL11:
19 mjames 433
  57:src/display.cpp ****
434
 193                            .loc 1 57 3 is_stmt 1 view .LVU22
435
  57:src/display.cpp ****
436
 194                            .loc 1 57 19 is_stmt 0 view .LVU23
16 mjames 437
 195 001a 2D23                  movs    r3, #45
438
 196 001c 0193                  str     r3, [sp, #4]
439
 197 001e 0123                  movs    r3, #1
440
 198 0020 0093                  str     r3, [sp]
441
 199 0022 0823                  movs    r3, #8
442
 200 0024 4FF4B472              mov     r2, #360
443
 201 0028 0021                  movs    r1, #0
444
 202 002a 0848                  ldr     r0, .L16+4
445
 203 002c FFF7FEFF              bl      _ZN13displayDial_t10draw_scaleEsshhs
446
 204                    .LVL12:
19 mjames 447
  59:src/display.cpp ****
448
 205                            .loc 1 59 3 is_stmt 1 view .LVU24
449
  59:src/display.cpp ****
450
 206                            .loc 1 59 20 is_stmt 0 view .LVU25
16 mjames 451
 207 0030 2046                  mov     r0, r4
452
 208 0032 FFF7FEFF              bl      _ZN9display_t7displayEv
453
 209                    .LVL13:
19 mjames 454
  61:src/display.cpp **** }
455
 210                            .loc 1 61 3 is_stmt 1 view .LVU26
456
  61:src/display.cpp **** }
457
 211                            .loc 1 61 10 is_stmt 0 view .LVU27
16 mjames 458
 212 0036 064B                  ldr     r3, .L16+8
459
 213 0038 4FF02D32              mov     r2, #757935405
460
 214 003c C3F80120              str     r2, [r3, #1]    @ unaligned
461
 215 0040 A3F80520              strh    r2, [r3, #5]    @ unaligned
19 mjames 462
  62:src/display.cpp ****
463
 216                            .loc 1 62 1 view .LVU28
16 mjames 464
 217 0044 02B0                  add     sp, sp, #8
465
 218                    .LCFI6:
466
 219                            .cfi_def_cfa_offset 8
467
 220                            @ sp needed
468
 221 0046 10BD                  pop     {r4, pc}
469
 222                    .L17:
470
 223                            .align  2
471
 224                    .L16:
472
 225 0048 00000000              .word   .LANCHOR0
473
 226 004c 00000000              .word   .LANCHOR2
474
 227 0050 00000000              .word   .LANCHOR3
475
 228                            .cfi_endproc
476
 229                    .LFE96:
477
 231                            .global __aeabi_f2iz
478
 232                            .global __aeabi_f2d
479
 233                            .global __aeabi_ddiv
480
 234                            .global __aeabi_d2f
19 mjames 481
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 9
482
 
483
 
16 mjames 484
 235                            .global __aeabi_fmul
485
 236                            .section        .text.cc_run,"ax",%progbits
486
 237                            .align  1
487
 238                            .global cc_run
488
 239                            .syntax unified
489
 240                            .thumb
490
 241                            .thumb_func
491
 242                            .fpu softvfp
492
 244                    cc_run:
493
 245                    .LVL14:
494
 246                    .LFB97:
19 mjames 495
  68:src/display.cpp ****
496
 247                            .loc 1 68 1 is_stmt 1 view -0
16 mjames 497
 248                            .cfi_startproc
19 mjames 498
 249                            @ args = 0, pretend = 0, frame = 224
16 mjames 499
 250                            @ frame_needed = 0, uses_anonymous_args = 0
19 mjames 500
  68:src/display.cpp ****
501
 251                            .loc 1 68 1 is_stmt 0 view .LVU30
16 mjames 502
 252 0000 2DE9F043              push    {r4, r5, r6, r7, r8, r9, lr}
503
 253                    .LCFI7:
504
 254                            .cfi_def_cfa_offset 28
505
 255                            .cfi_offset 4, -28
506
 256                            .cfi_offset 5, -24
507
 257                            .cfi_offset 6, -20
508
 258                            .cfi_offset 7, -16
509
 259                            .cfi_offset 8, -12
510
 260                            .cfi_offset 9, -8
511
 261                            .cfi_offset 14, -4
19 mjames 512
 262 0004 BBB0                  sub     sp, sp, #236
16 mjames 513
 263                    .LCFI8:
19 mjames 514
 264                            .cfi_def_cfa_offset 264
16 mjames 515
 265 0006 8046                  mov     r8, r0
19 mjames 516
  70:src/display.cpp ****   dial.draw_scale (0, 360, 8, 1, 45);
517
 266                            .loc 1 70 3 is_stmt 1 view .LVU31
518
  70:src/display.cpp ****   dial.draw_scale (0, 360, 8, 1, 45);
519
 267                            .loc 1 70 25 is_stmt 0 view .LVU32
16 mjames 520
 268 0008 0021                  movs    r1, #0
19 mjames 521
 269 000a 9948                  ldr     r0, .L33+8
16 mjames 522
 270                    .LVL15:
19 mjames 523
  70:src/display.cpp ****   dial.draw_scale (0, 360, 8, 1, 45);
524
 271                            .loc 1 70 25 view .LVU33
16 mjames 525
 272 000c FFF7FEFF              bl      _ZN9display_t12clearDisplayE8colour_t
526
 273                    .LVL16:
19 mjames 527
  71:src/display.cpp ****
528
 274                            .loc 1 71 3 is_stmt 1 view .LVU34
529
  71:src/display.cpp ****
530
 275                            .loc 1 71 19 is_stmt 0 view .LVU35
16 mjames 531
 276 0010 2D23                  movs    r3, #45
532
 277 0012 0193                  str     r3, [sp, #4]
533
 278 0014 0123                  movs    r3, #1
534
 279 0016 0093                  str     r3, [sp]
535
 280 0018 0823                  movs    r3, #8
536
 281 001a 4FF4B472              mov     r2, #360
537
 282 001e 0021                  movs    r1, #0
19 mjames 538
 283 0020 9448                  ldr     r0, .L33+12
16 mjames 539
 284 0022 FFF7FEFF              bl      _ZN13displayDial_t10draw_scaleEsshhs
540
 285                    .LVL17:
19 mjames 541
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 10
542
 
543
 
544
  73:src/display.cpp ****   if (loc.good)
545
 286                            .loc 1 73 3 is_stmt 1 view .LVU36
546
  73:src/display.cpp ****   if (loc.good)
547
 287                            .loc 1 73 30 is_stmt 0 view .LVU37
548
 288 0026 944C                  ldr     r4, .L33+16
549
 289 0028 9449                  ldr     r1, .L33+20
16 mjames 550
 290 002a 2046                  mov     r0, r4
551
 291 002c FFF7FEFF              bl      updateLocation
552
 292                    .LVL18:
19 mjames 553
  74:src/display.cpp ****     {
554
 293                            .loc 1 74 3 is_stmt 1 view .LVU38
555
  74:src/display.cpp ****     {
556
 294                            .loc 1 74 11 is_stmt 0 view .LVU39
16 mjames 557
 295 0030 E37B                  ldrb    r3, [r4, #15]   @ zero_extendqisi2
19 mjames 558
  74:src/display.cpp ****     {
559
 296                            .loc 1 74 3 view .LVU40
16 mjames 560
 297 0032 33B1                  cbz     r3, .L19
19 mjames 561
  76:src/display.cpp ****
562
 298                            .loc 1 76 7 is_stmt 1 view .LVU41
563
  76:src/display.cpp ****
564
 299                            .loc 1 76 15 is_stmt 0 view .LVU42
16 mjames 565
 300 0034 E069                  ldr     r0, [r4, #28]   @ float
566
 301 0036 FFF7FEFF              bl      __aeabi_f2iz
567
 302                    .LVL19:
19 mjames 568
 303 003a 914B                  ldr     r3, .L33+24
16 mjames 569
 304 003c 1860                  str     r0, [r3]
19 mjames 570
  78:src/display.cpp ****     }
571
 305                            .loc 1 78 7 is_stmt 1 view .LVU43
572
  78:src/display.cpp ****     }
573
 306                            .loc 1 78 16 is_stmt 0 view .LVU44
16 mjames 574
 307 003e 0023                  movs    r3, #0
575
 308 0040 E373                  strb    r3, [r4, #15]
576
 309                    .L19:
19 mjames 577
  80:src/display.cpp ****     memset (loc.time, '-', 6);
578
 310                            .loc 1 80 3 is_stmt 1 view .LVU45
579
  80:src/display.cpp ****     memset (loc.time, '-', 6);
580
 311                            .loc 1 80 11 is_stmt 0 view .LVU46
581
 312 0042 8D4B                  ldr     r3, .L33+16
16 mjames 582
 313 0044 1B78                  ldrb    r3, [r3]        @ zero_extendqisi2
19 mjames 583
  80:src/display.cpp ****     memset (loc.time, '-', 6);
584
 314                            .loc 1 80 3 view .LVU47
16 mjames 585
 315 0046 562B                  cmp     r3, #86
19 mjames 586
 316 0048 00F08E80              beq     .L29
16 mjames 587
 317                    .L20:
19 mjames 588
  84:src/display.cpp ****   display1.printString (small_font, &loc.time[0], 2, WHITE);
589
 318                            .loc 1 84 3 is_stmt 1 view .LVU48
16 mjames 590
 319                    .LVL20:
591
 320                    .LBB25:
592
 321                    .LBI25:
593
 322                            .file 3 "../libOLED/inc/libOLED/displayclass.H"
594
   1:../libOLED/inc/libOLED/displayclass.H **** /*
595
   2:../libOLED/inc/libOLED/displayclass.H ****  * displayclass.H
596
   3:../libOLED/inc/libOLED/displayclass.H ****  *
597
   4:../libOLED/inc/libOLED/displayclass.H ****  *  Created on: 31 Oct 2020
598
   5:../libOLED/inc/libOLED/displayclass.H ****  *      Author: mike
599
   6:../libOLED/inc/libOLED/displayclass.H ****  */
600
   7:../libOLED/inc/libOLED/displayclass.H ****
19 mjames 601
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 11
602
 
603
 
16 mjames 604
   8:../libOLED/inc/libOLED/displayclass.H **** #pragma once
605
   9:../libOLED/inc/libOLED/displayclass.H **** #include <cstdint>
606
  10:../libOLED/inc/libOLED/displayclass.H **** #include "libOLED/fontclass.H"
607
  11:../libOLED/inc/libOLED/displayclass.H ****
608
  12:../libOLED/inc/libOLED/displayclass.H **** inline int constexpr
609
  13:../libOLED/inc/libOLED/displayclass.H **** dataSize (int const width, int const height)
610
  14:../libOLED/inc/libOLED/displayclass.H **** {
611
  15:../libOLED/inc/libOLED/displayclass.H ****   return (width * height / 8);
612
  16:../libOLED/inc/libOLED/displayclass.H **** }
613
  17:../libOLED/inc/libOLED/displayclass.H ****
614
  18:../libOLED/inc/libOLED/displayclass.H **** enum colour_t
615
  19:../libOLED/inc/libOLED/displayclass.H **** {
616
  20:../libOLED/inc/libOLED/displayclass.H ****   BLACK,   /* and 0, invert 0 */
617
  21:../libOLED/inc/libOLED/displayclass.H ****   WHITE,   /* and 0, invert 1 */
618
  22:../libOLED/inc/libOLED/displayclass.H ****   OVERLAY, /* and 1, invert 0 */
619
  23:../libOLED/inc/libOLED/displayclass.H ****   INVERT,  /* and 1, invert 1 */
620
  24:../libOLED/inc/libOLED/displayclass.H **** };
621
  25:../libOLED/inc/libOLED/displayclass.H ****
622
  26:../libOLED/inc/libOLED/displayclass.H **** class display_t
623
  27:../libOLED/inc/libOLED/displayclass.H **** {
624
  28:../libOLED/inc/libOLED/displayclass.H **** public:
625
  29:../libOLED/inc/libOLED/displayclass.H ****   display_t (int const width, int const height, int const ramwidth,
626
  30:../libOLED/inc/libOLED/displayclass.H ****              uint8_t *const data);
627
  31:../libOLED/inc/libOLED/displayclass.H ****
628
  32:../libOLED/inc/libOLED/displayclass.H ****   virtual
629
  33:../libOLED/inc/libOLED/displayclass.H ****   ~display_t ();
630
  34:../libOLED/inc/libOLED/displayclass.H ****
631
  35:../libOLED/inc/libOLED/displayclass.H ****   uint8_t
632
  36:../libOLED/inc/libOLED/displayclass.H ****   getRotation ();
633
  37:../libOLED/inc/libOLED/displayclass.H ****   int16_t
634
  38:../libOLED/inc/libOLED/displayclass.H ****   width ();
635
  39:../libOLED/inc/libOLED/displayclass.H ****   int16_t
636
  40:../libOLED/inc/libOLED/displayclass.H ****   height ();
637
  41:../libOLED/inc/libOLED/displayclass.H ****
638
  42:../libOLED/inc/libOLED/displayclass.H ****   // common hardware reset .
639
  43:../libOLED/inc/libOLED/displayclass.H ****   void reset();
640
  44:../libOLED/inc/libOLED/displayclass.H ****
641
  45:../libOLED/inc/libOLED/displayclass.H ****   void
642
  46:../libOLED/inc/libOLED/displayclass.H ****   init ();
643
  47:../libOLED/inc/libOLED/displayclass.H ****
644
  48:../libOLED/inc/libOLED/displayclass.H ****   /// \brief Clear display to colour
645
  49:../libOLED/inc/libOLED/displayclass.H ****   void
646
  50:../libOLED/inc/libOLED/displayclass.H ****   clearDisplay (colour_t colour = colour_t::BLACK);
647
  51:../libOLED/inc/libOLED/displayclass.H ****   void
648
  52:../libOLED/inc/libOLED/displayclass.H ****   invertDisplay (uint8_t i);
649
  53:../libOLED/inc/libOLED/displayclass.H ****   void
650
  54:../libOLED/inc/libOLED/displayclass.H ****   display ();
651
  55:../libOLED/inc/libOLED/displayclass.H ****
652
  56:../libOLED/inc/libOLED/displayclass.H ****   void
653
  57:../libOLED/inc/libOLED/displayclass.H ****   startscrollright (uint8_t start, uint8_t stop);
654
  58:../libOLED/inc/libOLED/displayclass.H ****   void
655
  59:../libOLED/inc/libOLED/displayclass.H ****   startscrollleft (uint8_t start, uint8_t stop);
656
  60:../libOLED/inc/libOLED/displayclass.H ****
657
  61:../libOLED/inc/libOLED/displayclass.H ****   void
658
  62:../libOLED/inc/libOLED/displayclass.H ****   startscrolldiagright (uint8_t start, uint8_t stop);
659
  63:../libOLED/inc/libOLED/displayclass.H ****   void
660
  64:../libOLED/inc/libOLED/displayclass.H ****   startscrolldiagleft (uint8_t start, uint8_t stop);
19 mjames 661
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 12
662
 
663
 
16 mjames 664
  65:../libOLED/inc/libOLED/displayclass.H ****   void
665
  66:../libOLED/inc/libOLED/displayclass.H ****   stopscroll (void);
666
  67:../libOLED/inc/libOLED/displayclass.H ****
667
  68:../libOLED/inc/libOLED/displayclass.H ****   void
668
  69:../libOLED/inc/libOLED/displayclass.H ****   dim (uint8_t contrast);
669
  70:../libOLED/inc/libOLED/displayclass.H ****
670
  71:../libOLED/inc/libOLED/displayclass.H ****   // set drawing mode
671
  72:../libOLED/inc/libOLED/displayclass.H ****   void setPixelMode(colour_t colour)
672
  73:../libOLED/inc/libOLED/displayclass.H ****   { m_colour = colour; }
673
  74:../libOLED/inc/libOLED/displayclass.H ****
674
  75:../libOLED/inc/libOLED/displayclass.H ****
675
  76:../libOLED/inc/libOLED/displayclass.H ****   void
676
  77:../libOLED/inc/libOLED/displayclass.H ****   drawPixel (int16_t x, int16_t y, bool pixel);
677
  78:../libOLED/inc/libOLED/displayclass.H ****
678
  79:../libOLED/inc/libOLED/displayclass.H ****   void
679
  80:../libOLED/inc/libOLED/displayclass.H ****   drawLine (int16_t x1, int16_t y1, int16_t x2, int16_t y2, colour_t color);
680
  81:../libOLED/inc/libOLED/displayclass.H ****
681
  82:../libOLED/inc/libOLED/displayclass.H ****   void drawRectangle (int16_t x1, int16_t y1, int16_t x2, int16_t y2, colour_t color);
682
  83:../libOLED/inc/libOLED/displayclass.H ****
683
  84:../libOLED/inc/libOLED/displayclass.H ****
684
  85:../libOLED/inc/libOLED/displayclass.H ****   void
685
  86:../libOLED/inc/libOLED/displayclass.H ****   gotoxy (int x, int y)
686
 323                            .loc 3 86 3 view .LVU49
687
 324                    .LBB26:
688
  87:../libOLED/inc/libOLED/displayclass.H ****   {
689
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_x = x;
690
 325                            .loc 3 88 5 view .LVU50
691
 326                            .loc 3 88 16 is_stmt 0 view .LVU51
19 mjames 692
 327 004c 884C                  ldr     r4, .L33+8
16 mjames 693
 328 004e 0023                  movs    r3, #0
694
 329 0050 2361                  str     r3, [r4, #16]
695
  89:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
696
 330                            .loc 3 89 5 is_stmt 1 view .LVU52
697
 331                            .loc 3 89 16 is_stmt 0 view .LVU53
698
 332 0052 6361                  str     r3, [r4, #20]
699
 333                    .LVL21:
700
 334                            .loc 3 89 16 view .LVU54
701
 335                    .LBE26:
702
 336                    .LBE25:
19 mjames 703
  85:src/display.cpp ****   display1.printString (small_font, ":", 1, WHITE);
704
 337                            .loc 1 85 3 is_stmt 1 view .LVU55
705
  85:src/display.cpp ****   display1.printString (small_font, ":", 1, WHITE);
706
 338                            .loc 1 85 24 is_stmt 0 view .LVU56
707
 339 0054 884F                  ldr     r7, .L33+16
708
 340 0056 8B4E                  ldr     r6, .L33+28
16 mjames 709
 341 0058 0125                  movs    r5, #1
710
 342 005a 0095                  str     r5, [sp]
711
 343 005c 0223                  movs    r3, #2
712
 344 005e 7A19                  adds    r2, r7, r5
713
 345 0060 3146                  mov     r1, r6
714
 346 0062 2046                  mov     r0, r4
715
 347 0064 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
716
 348                    .LVL22:
19 mjames 717
  86:src/display.cpp ****   display1.printString (small_font, &loc.time[2], 2, WHITE);
718
 349                            .loc 1 86 3 is_stmt 1 view .LVU57
719
  86:src/display.cpp ****   display1.printString (small_font, &loc.time[2], 2, WHITE);
720
 350                            .loc 1 86 24 is_stmt 0 view .LVU58
721
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 13
722
 
723
 
724
 351 0068 DFF85492              ldr     r9, .L33+88
16 mjames 725
 352 006c 0095                  str     r5, [sp]
726
 353 006e 2B46                  mov     r3, r5
727
 354 0070 4A46                  mov     r2, r9
728
 355 0072 3146                  mov     r1, r6
729
 356 0074 2046                  mov     r0, r4
730
 357 0076 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
731
 358                    .LVL23:
19 mjames 732
  87:src/display.cpp ****
733
 359                            .loc 1 87 3 is_stmt 1 view .LVU59
734
  87:src/display.cpp ****
735
 360                            .loc 1 87 24 is_stmt 0 view .LVU60
16 mjames 736
 361 007a 0095                  str     r5, [sp]
737
 362 007c 0223                  movs    r3, #2
738
 363 007e FA1C                  adds    r2, r7, #3
739
 364 0080 3146                  mov     r1, r6
740
 365 0082 2046                  mov     r0, r4
741
 366 0084 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
742
 367                    .LVL24:
19 mjames 743
  89:src/display.cpp ****   display1.printString (small_font, &loc.time[4], 2, WHITE);
744
 368                            .loc 1 89 3 is_stmt 1 view .LVU61
745
  89:src/display.cpp ****   display1.printString (small_font, &loc.time[4], 2, WHITE);
746
 369                            .loc 1 89 24 is_stmt 0 view .LVU62
16 mjames 747
 370 0088 0095                  str     r5, [sp]
748
 371 008a 2B46                  mov     r3, r5
749
 372 008c 4A46                  mov     r2, r9
750
 373 008e 3146                  mov     r1, r6
751
 374 0090 2046                  mov     r0, r4
752
 375 0092 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
753
 376                    .LVL25:
19 mjames 754
  90:src/display.cpp ****   int dial_ang = heading + 180;
755
 377                            .loc 1 90 3 is_stmt 1 view .LVU63
756
  90:src/display.cpp ****   int dial_ang = heading + 180;
757
 378                            .loc 1 90 24 is_stmt 0 view .LVU64
16 mjames 758
 379 0096 0095                  str     r5, [sp]
759
 380 0098 0223                  movs    r3, #2
760
 381 009a 7A1D                  adds    r2, r7, #5
761
 382 009c 3146                  mov     r1, r6
762
 383 009e 2046                  mov     r0, r4
763
 384 00a0 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
764
 385                    .LVL26:
19 mjames 765
  91:src/display.cpp ****   dial.draw_needle (dial_ang);
766
 386                            .loc 1 91 3 is_stmt 1 view .LVU65
767
  91:src/display.cpp ****   dial.draw_needle (dial_ang);
768
 387                            .loc 1 91 26 is_stmt 0 view .LVU66
769
 388 00a4 764B                  ldr     r3, .L33+24
16 mjames 770
 389 00a6 1968                  ldr     r1, [r3]
19 mjames 771
  91:src/display.cpp ****   dial.draw_needle (dial_ang);
772
 390                            .loc 1 91 7 view .LVU67
16 mjames 773
 391 00a8 B431                  adds    r1, r1, #180
774
 392                    .LVL27:
19 mjames 775
  92:src/display.cpp ****
776
 393                            .loc 1 92 3 is_stmt 1 view .LVU68
777
  92:src/display.cpp ****
778
 394                            .loc 1 92 20 is_stmt 0 view .LVU69
16 mjames 779
 395 00aa 09B2                  sxth    r1, r1
780
 396                    .LVL28:
19 mjames 781
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 14
782
 
783
 
784
  92:src/display.cpp ****
785
 397                            .loc 1 92 20 view .LVU70
786
 398 00ac 7148                  ldr     r0, .L33+12
16 mjames 787
 399 00ae FFF7FEFF              bl      _ZN13displayDial_t11draw_needleEs
788
 400                    .LVL29:
19 mjames 789
  94:src/display.cpp ****   if (loc.valid == 'A')
790
 401                            .loc 1 94 3 is_stmt 1 view .LVU71
16 mjames 791
 402                    .LBB27:
792
 403                    .LBI27:
793
  86:../libOLED/inc/libOLED/displayclass.H ****   {
794
 404                            .loc 3 86 3 view .LVU72
795
 405                    .LBB28:
796
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
797
 406                            .loc 3 88 5 view .LVU73
798
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
799
 407                            .loc 3 88 16 is_stmt 0 view .LVU74
800
 408 00b2 4623                  movs    r3, #70
801
 409 00b4 2361                  str     r3, [r4, #16]
802
 410                            .loc 3 89 5 is_stmt 1 view .LVU75
803
 411                            .loc 3 89 16 is_stmt 0 view .LVU76
804
 412 00b6 1923                  movs    r3, #25
805
 413 00b8 6361                  str     r3, [r4, #20]
806
 414                    .LVL30:
807
 415                            .loc 3 89 16 view .LVU77
808
 416                    .LBE28:
809
 417                    .LBE27:
19 mjames 810
  95:src/display.cpp ****     {
811
 418                            .loc 1 95 3 is_stmt 1 view .LVU78
812
  95:src/display.cpp ****     {
813
 419                            .loc 1 95 11 is_stmt 0 view .LVU79
16 mjames 814
 420 00ba 3B78                  ldrb    r3, [r7]        @ zero_extendqisi2
19 mjames 815
  95:src/display.cpp ****     {
816
 421                            .loc 1 95 3 view .LVU80
16 mjames 817
 422 00bc 412B                  cmp     r3, #65
19 mjames 818
 423 00be 5BD0                  beq     .L30
819
 100:src/display.cpp ****
820
 424                            .loc 1 100 5 is_stmt 1 view .LVU81
821
 100:src/display.cpp ****
822
 425                            .loc 1 100 26 is_stmt 0 view .LVU82
823
 426 00c0 0123                  movs    r3, #1
824
 427 00c2 0093                  str     r3, [sp]
825
 428 00c4 0423                  movs    r3, #4
826
 429 00c6 704A                  ldr     r2, .L33+32
827
 430 00c8 7049                  ldr     r1, .L33+36
828
 431 00ca 6948                  ldr     r0, .L33+8
829
 432 00cc FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
16 mjames 830
 433                    .LVL31:
831
 434                    .L22:
19 mjames 832
 102:src/display.cpp ****     speedMPH = loc.speed / 1.815;
833
 435                            .loc 1 102 3 is_stmt 1 view .LVU83
834
 102:src/display.cpp ****     speedMPH = loc.speed / 1.815;
835
 436                            .loc 1 102 11 is_stmt 0 view .LVU84
836
 437 00d0 694B                  ldr     r3, .L33+16
837
 438 00d2 1B78                  ldrb    r3, [r3]        @ zero_extendqisi2
838
 102:src/display.cpp ****     speedMPH = loc.speed / 1.815;
839
 439                            .loc 1 102 3 view .LVU85
840
 440 00d4 412B                  cmp     r3, #65
841
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 15
842
 
843
 
844
 441 00d6 5AD0                  beq     .L31
16 mjames 845
 442                    .L23:
19 mjames 846
 105:src/display.cpp ****   display1.printString (small_font, "Speed", 5, WHITE);
847
 443                            .loc 1 105 3 is_stmt 1 view .LVU86
16 mjames 848
 444                    .LVL32:
849
 445                    .LBB29:
850
 446                    .LBI29:
851
  86:../libOLED/inc/libOLED/displayclass.H ****   {
852
 447                            .loc 3 86 3 view .LVU87
853
 448                    .LBB30:
854
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
855
 449                            .loc 3 88 5 view .LVU88
856
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
857
 450                            .loc 3 88 16 is_stmt 0 view .LVU89
19 mjames 858
 451 00d8 654C                  ldr     r4, .L33+8
859
 452 00da 0026                  movs    r6, #0
860
 453 00dc 2661                  str     r6, [r4, #16]
16 mjames 861
 454                            .loc 3 89 5 is_stmt 1 view .LVU90
862
 455                            .loc 3 89 16 is_stmt 0 view .LVU91
19 mjames 863
 456 00de 0823                  movs    r3, #8
864
 457 00e0 6361                  str     r3, [r4, #20]
16 mjames 865
 458                    .LVL33:
866
 459                            .loc 3 89 16 view .LVU92
867
 460                    .LBE30:
868
 461                    .LBE29:
19 mjames 869
 106:src/display.cpp ****   display1.gotoxy (0, 16);
870
 462                            .loc 1 106 3 is_stmt 1 view .LVU93
871
 106:src/display.cpp ****   display1.gotoxy (0, 16);
872
 463                            .loc 1 106 24 is_stmt 0 view .LVU94
873
 464 00e2 DFF8A091              ldr     r9, .L33+28
874
 465 00e6 0125                  movs    r5, #1
875
 466 00e8 0095                  str     r5, [sp]
876
 467 00ea 0523                  movs    r3, #5
877
 468 00ec 684A                  ldr     r2, .L33+40
878
 469 00ee 4946                  mov     r1, r9
879
 470 00f0 2046                  mov     r0, r4
880
 471 00f2 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
16 mjames 881
 472                    .LVL34:
19 mjames 882
 107:src/display.cpp ****   display1.fontDigits (large_font, 4, 1, speedMPH * 10);
883
 473                            .loc 1 107 3 is_stmt 1 view .LVU95
16 mjames 884
 474                    .LBB31:
885
 475                    .LBI31:
886
  86:../libOLED/inc/libOLED/displayclass.H ****   {
887
 476                            .loc 3 86 3 view .LVU96
888
 477                    .LBB32:
889
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
890
 478                            .loc 3 88 5 view .LVU97
891
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
892
 479                            .loc 3 88 16 is_stmt 0 view .LVU98
19 mjames 893
 480 00f6 2661                  str     r6, [r4, #16]
16 mjames 894
 481                            .loc 3 89 5 is_stmt 1 view .LVU99
895
 482                            .loc 3 89 16 is_stmt 0 view .LVU100
19 mjames 896
 483 00f8 1023                  movs    r3, #16
897
 484 00fa 6361                  str     r3, [r4, #20]
16 mjames 898
 485                    .LVL35:
899
 486                            .loc 3 89 16 view .LVU101
900
 487                    .LBE32:
19 mjames 901
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 16
16 mjames 902
 
903
 
19 mjames 904
 488                    .LBE31:
905
 108:src/display.cpp ****
906
 489                            .loc 1 108 3 is_stmt 1 view .LVU102
907
 108:src/display.cpp ****
908
 490                            .loc 1 108 51 is_stmt 0 view .LVU103
909
 491 00fc 6549                  ldr     r1, .L33+44
910
 492 00fe 664B                  ldr     r3, .L33+48
911
 493 0100 1868                  ldr     r0, [r3]        @ float
912
 494 0102 FFF7FEFF              bl      __aeabi_fmul
16 mjames 913
 495                    .LVL36:
19 mjames 914
 108:src/display.cpp ****
915
 496                            .loc 1 108 23 view .LVU104
916
 497 0106 614F                  ldr     r7, .L33+36
917
 498 0108 0195                  str     r5, [sp, #4]
918
 499 010a FFF7FEFF              bl      __aeabi_f2iz
16 mjames 919
 500                    .LVL37:
19 mjames 920
 501 010e 0090                  str     r0, [sp]
921
 502 0110 2B46                  mov     r3, r5
922
 503 0112 0422                  movs    r2, #4
923
 504 0114 3946                  mov     r1, r7
924
 505 0116 2046                  mov     r0, r4
925
 506 0118 FFF7FEFF              bl      _ZN9display_t10fontDigitsER6font_thhi8colour_t
16 mjames 926
 507                    .LVL38:
19 mjames 927
 110:src/display.cpp ****   display1.printString (small_font, "Average", 7, WHITE);
928
 508                            .loc 1 110 3 is_stmt 1 view .LVU105
16 mjames 929
 509                    .LBB33:
930
 510                    .LBI33:
931
  86:../libOLED/inc/libOLED/displayclass.H ****   {
932
 511                            .loc 3 86 3 view .LVU106
933
 512                    .LBB34:
934
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
935
 513                            .loc 3 88 5 view .LVU107
936
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
937
 514                            .loc 3 88 16 is_stmt 0 view .LVU108
19 mjames 938
 515 011c 2661                  str     r6, [r4, #16]
16 mjames 939
 516                            .loc 3 89 5 is_stmt 1 view .LVU109
940
 517                            .loc 3 89 16 is_stmt 0 view .LVU110
19 mjames 941
 518 011e 2023                  movs    r3, #32
942
 519 0120 6361                  str     r3, [r4, #20]
16 mjames 943
 520                    .LVL39:
944
 521                            .loc 3 89 16 view .LVU111
945
 522                    .LBE34:
946
 523                    .LBE33:
19 mjames 947
 111:src/display.cpp ****   display1.gotoxy (0, 40);
948
 524                            .loc 1 111 3 is_stmt 1 view .LVU112
949
 111:src/display.cpp ****   display1.gotoxy (0, 40);
950
 525                            .loc 1 111 24 is_stmt 0 view .LVU113
951
 526 0122 0095                  str     r5, [sp]
952
 527 0124 0723                  movs    r3, #7
953
 528 0126 5D4A                  ldr     r2, .L33+52
954
 529 0128 4946                  mov     r1, r9
955
 530 012a 2046                  mov     r0, r4
956
 531 012c FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
16 mjames 957
 532                    .LVL40:
19 mjames 958
 112:src/display.cpp ****   display1.fontDigits (large_font, 4, 1, speedAVG * 10);
959
 533                            .loc 1 112 3 is_stmt 1 view .LVU114
16 mjames 960
 534                    .LBB35:
19 mjames 961
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 17
962
 
963
 
16 mjames 964
 535                    .LBI35:
965
  86:../libOLED/inc/libOLED/displayclass.H ****   {
966
 536                            .loc 3 86 3 view .LVU115
967
 537                    .LBB36:
968
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
969
 538                            .loc 3 88 5 view .LVU116
970
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
971
 539                            .loc 3 88 16 is_stmt 0 view .LVU117
19 mjames 972
 540 0130 2661                  str     r6, [r4, #16]
16 mjames 973
 541                            .loc 3 89 5 is_stmt 1 view .LVU118
974
 542                            .loc 3 89 16 is_stmt 0 view .LVU119
19 mjames 975
 543 0132 2823                  movs    r3, #40
976
 544 0134 6361                  str     r3, [r4, #20]
16 mjames 977
 545                    .LVL41:
978
 546                            .loc 3 89 16 view .LVU120
979
 547                    .LBE36:
980
 548                    .LBE35:
19 mjames 981
 113:src/display.cpp ****
982
 549                            .loc 1 113 3 is_stmt 1 view .LVU121
983
 113:src/display.cpp ****
984
 550                            .loc 1 113 51 is_stmt 0 view .LVU122
985
 551 0136 5749                  ldr     r1, .L33+44
986
 552 0138 594B                  ldr     r3, .L33+56
987
 553 013a 1868                  ldr     r0, [r3]        @ float
988
 554 013c FFF7FEFF              bl      __aeabi_fmul
16 mjames 989
 555                    .LVL42:
19 mjames 990
 113:src/display.cpp ****
991
 556                            .loc 1 113 23 view .LVU123
992
 557 0140 0195                  str     r5, [sp, #4]
993
 558 0142 FFF7FEFF              bl      __aeabi_f2iz
16 mjames 994
 559                    .LVL43:
19 mjames 995
 560 0146 0090                  str     r0, [sp]
996
 561 0148 2B46                  mov     r3, r5
997
 562 014a 0422                  movs    r2, #4
998
 563 014c 3946                  mov     r1, r7
999
 564 014e 2046                  mov     r0, r4
1000
 565 0150 FFF7FEFF              bl      _ZN9display_t10fontDigitsER6font_thhi8colour_t
16 mjames 1001
 566                    .LVL44:
19 mjames 1002
 115:src/display.cpp ****   {
1003
 567                            .loc 1 115 1 is_stmt 1 view .LVU124
1004
 568                    .LBB37:
1005
 115:src/display.cpp ****   {
1006
 569                            .loc 1 115 17 is_stmt 0 view .LVU125
1007
 570 0154 FFF7FEFF              bl      HAL_GetTick
1008
 571                    .LVL45:
1009
 115:src/display.cpp ****   {
1010
 572                            .loc 1 115 20 view .LVU126
1011
 573 0158 524B                  ldr     r3, .L33+60
1012
 574 015a 1B68                  ldr     r3, [r3]
1013
 575 015c C01A                  subs    r0, r0, r3
1014
 115:src/display.cpp ****   {
1015
 576                            .loc 1 115 1 view .LVU127
1016
 577 015e 6428                  cmp     r0, #100
1017
 578 0160 23D8                  bhi     .L32
1018
 579                    .L18:
1019
 580                    .LBE37:
1020
 581                            .loc 1 195 1 view .LVU128
1021
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 18
16 mjames 1022
 
1023
 
19 mjames 1024
 582 0162 3BB0                  add     sp, sp, #236
1025
 583                    .LCFI9:
1026
 584                            .cfi_remember_state
1027
 585                            .cfi_def_cfa_offset 28
1028
 586                            @ sp needed
1029
 587 0164 BDE8F083              pop     {r4, r5, r6, r7, r8, r9, pc}
1030
 588                    .LVL46:
1031
 589                    .L29:
1032
 590                    .LCFI10:
1033
 591                            .cfi_restore_state
1034
  81:src/display.cpp ****
1035
 592                            .loc 1 81 5 is_stmt 1 view .LVU129
1036
  81:src/display.cpp ****
1037
 593                            .loc 1 81 12 is_stmt 0 view .LVU130
1038
 594 0168 434B                  ldr     r3, .L33+16
1039
 595 016a 4FF02D32              mov     r2, #757935405
1040
 596 016e C3F80120              str     r2, [r3, #1]    @ unaligned
1041
 597 0172 A3F80520              strh    r2, [r3, #5]    @ unaligned
1042
 598 0176 69E7                  b       .L20
1043
 599                    .L30:
1044
  97:src/display.cpp ****     }
1045
 600                            .loc 1 97 7 is_stmt 1 view .LVU131
1046
  97:src/display.cpp ****     }
1047
 601                            .loc 1 97 27 is_stmt 0 view .LVU132
1048
 602 0178 0195                  str     r5, [sp, #4]
1049
 603 017a 414B                  ldr     r3, .L33+24
1050
 604 017c 1B68                  ldr     r3, [r3]
1051
 605 017e 0093                  str     r3, [sp]
1052
 606 0180 FF23                  movs    r3, #255
1053
 607 0182 0322                  movs    r2, #3
1054
 608 0184 4149                  ldr     r1, .L33+36
1055
 609 0186 2046                  mov     r0, r4
1056
 610 0188 FFF7FEFF              bl      _ZN9display_t10fontDigitsER6font_thhi8colour_t
1057
 611                    .LVL47:
1058
 612 018c A0E7                  b       .L22
1059
 613                    .L31:
1060
 103:src/display.cpp ****
1061
 614                            .loc 1 103 5 is_stmt 1 view .LVU133
1062
 103:src/display.cpp ****
1063
 615                            .loc 1 103 20 is_stmt 0 view .LVU134
1064
 616 018e 3A4B                  ldr     r3, .L33+16
1065
 617 0190 186A                  ldr     r0, [r3, #32]   @ float
1066
 618 0192 FFF7FEFF              bl      __aeabi_f2d
1067
 619                    .LVL48:
1068
 103:src/display.cpp ****
1069
 620                            .loc 1 103 26 view .LVU135
1070
 621 0196 34A3                  adr     r3, .L33
1071
 622 0198 D3E90023              ldrd    r2, [r3]
1072
 623 019c FFF7FEFF              bl      __aeabi_ddiv
1073
 624                    .LVL49:
1074
 625 01a0 FFF7FEFF              bl      __aeabi_d2f
1075
 626                    .LVL50:
1076
 103:src/display.cpp ****
1077
 627                            .loc 1 103 14 view .LVU136
1078
 628 01a4 3C4B                  ldr     r3, .L33+48
1079
 629 01a6 1860                  str     r0, [r3]        @ float
1080
 630 01a8 96E7                  b       .L23
1081
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 19
16 mjames 1082
 
1083
 
19 mjames 1084
 631                    .L32:
1085
 632                    .LBB45:
1086
 633                    .LBB38:
1087
 117:src/display.cpp ****
1088
 634                            .loc 1 117 5 is_stmt 1 view .LVU137
1089
 117:src/display.cpp ****
1090
 635                            .loc 1 117 28 is_stmt 0 view .LVU138
1091
 636 01aa FFF7FEFF              bl      HAL_GetTick
1092
 637                    .LVL51:
1093
 117:src/display.cpp ****
1094
 638                            .loc 1 117 14 view .LVU139
1095
 639 01ae 3D4B                  ldr     r3, .L33+60
1096
 640 01b0 1860                  str     r0, [r3]
1097
 120:src/display.cpp ****
1098
 641                            .loc 1 120 5 is_stmt 1 view .LVU140
1099
 122:src/display.cpp ****     if (rslt == BME280_OK)
1100
 642                            .loc 1 122 5 view .LVU141
1101
 122:src/display.cpp ****     if (rslt == BME280_OK)
1102
 643                            .loc 1 122 35 is_stmt 0 view .LVU142
1103
 644 01b2 4246                  mov     r2, r8
1104
 645 01b4 02A9                  add     r1, sp, #8
1105
 646 01b6 0720                  movs    r0, #7
1106
 647 01b8 FFF7FEFF              bl      bme280_get_sensor_data
1107
 648                    .LVL52:
1108
 122:src/display.cpp ****     if (rslt == BME280_OK)
1109
 649                            .loc 1 122 10 view .LVU143
1110
 650 01bc 3A4B                  ldr     r3, .L33+64
1111
 651 01be 1860                  str     r0, [r3]
1112
 123:src/display.cpp ****       {
1113
 652                            .loc 1 123 5 is_stmt 1 view .LVU144
1114
 653                    .LBB39:
1115
 654 01c0 0028                  cmp     r0, #0
1116
 655 01c2 CED1                  bne     .L18
1117
 656                    .LBB40:
16 mjames 1118
 126:src/display.cpp ****
19 mjames 1119
 657                            .loc 1 126 2 view .LVU145
1120
 129:src/display.cpp ****       press = 0.01 * comp_data.pressure;
1121
 658                            .loc 1 129 2 view .LVU146
1122
 659                    .LVL53:
1123
 130:src/display.cpp ****       hum = comp_data.humidity;
1124
 660                            .loc 1 130 2 view .LVU147
1125
 131:src/display.cpp **** #else
1126
 661                            .loc 1 131 2 view .LVU148
1127
 144:src/display.cpp ****       uint32_t press32 = 0;
1128
 662                            .loc 1 144 2 view .LVU149
1129
 145:src/display.cpp ****       uint32_t hum32 = 0;
1130
 663                            .loc 1 145 2 view .LVU150
1131
 146:src/display.cpp ****
1132
 664                            .loc 1 146 2 view .LVU151
1133
 175:src/display.cpp ****       int cnt = small_sprintf(buffer,"$MJXDR,C,%ld.%02ld,C,AirTemp,P,%01ld.%05ld,B,AirPres",temp32/100,t
1134
 665                            .loc 1 175 2 view .LVU152
1135
 176:src/display.cpp ****       uint8_t sum=0;
1136
 666                            .loc 1 176 2 view .LVU153
1137
 176:src/display.cpp ****       uint8_t sum=0;
1138
 667                            .loc 1 176 25 is_stmt 0 view .LVU154
1139
 668 01c4 0196                  str     r6, [sp, #4]
1140
 669 01c6 0096                  str     r6, [sp]
1141
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 20
16 mjames 1142
 
1143
 
19 mjames 1144
 670 01c8 3346                  mov     r3, r6
1145
 671 01ca 3246                  mov     r2, r6
1146
 672 01cc 3749                  ldr     r1, .L33+68
1147
 673 01ce 08A8                  add     r0, sp, #32
1148
 674 01d0 FFF7FEFF              bl      small_sprintf
1149
 675                    .LVL54:
1150
 176:src/display.cpp ****       uint8_t sum=0;
1151
 676                            .loc 1 176 25 view .LVU155
1152
 677 01d4 0546                  mov     r5, r0
1153
 678                    .LVL55:
1154
 177:src/display.cpp ****       for(int i=1; i<cnt; i++)
1155
 679                            .loc 1 177 2 is_stmt 1 view .LVU156
1156
 178:src/display.cpp ****       sum += buffer[i];
1157
 680                            .loc 1 178 2 view .LVU157
1158
 681                    .LBB41:
1159
 178:src/display.cpp ****       sum += buffer[i];
1160
 682                            .loc 1 178 10 is_stmt 0 view .LVU158
1161
 683 01d6 0123                  movs    r3, #1
1162
 684                    .LBE41:
1163
 177:src/display.cpp ****       for(int i=1; i<cnt; i++)
1164
 685                            .loc 1 177 10 view .LVU159
1165
 686 01d8 3246                  mov     r2, r6
1166
 687                    .LVL56:
1167
 688                    .L27:
1168
 689                    .LBB42:
1169
 178:src/display.cpp ****       sum += buffer[i];
1170
 690                            .loc 1 178 16 discriminator 3 view .LVU160
1171
 691 01da AB42                  cmp     r3, r5
1172
 692 01dc 07DA                  bge     .L26
1173
 179:src/display.cpp ****       cnt+= small_sprintf(buffer+cnt,"*%02X\n",sum);
1174
 693                            .loc 1 179 2 is_stmt 1 discriminator 2 view .LVU161
1175
 179:src/display.cpp ****       cnt+= small_sprintf(buffer+cnt,"*%02X\n",sum);
1176
 694                            .loc 1 179 17 is_stmt 0 discriminator 2 view .LVU162
1177
 695 01de 3AA9                  add     r1, sp, #232
1178
 696 01e0 1944                  add     r1, r1, r3
1179
 697 01e2 11F8C81C              ldrb    r1, [r1, #-200] @ zero_extendqisi2
1180
 179:src/display.cpp ****       cnt+= small_sprintf(buffer+cnt,"*%02X\n",sum);
1181
 698                            .loc 1 179 6 discriminator 2 view .LVU163
1182
 699 01e6 0A44                  add     r2, r2, r1
1183
 700                    .LVL57:
1184
 179:src/display.cpp ****       cnt+= small_sprintf(buffer+cnt,"*%02X\n",sum);
1185
 701                            .loc 1 179 6 discriminator 2 view .LVU164
1186
 702 01e8 D2B2                  uxtb    r2, r2
1187
 703                    .LVL58:
1188
 178:src/display.cpp ****       sum += buffer[i];
1189
 704                            .loc 1 178 2 discriminator 2 view .LVU165
1190
 705 01ea 0133                  adds    r3, r3, #1
1191
 706                    .LVL59:
1192
 178:src/display.cpp ****       sum += buffer[i];
1193
 707                            .loc 1 178 2 discriminator 2 view .LVU166
1194
 708 01ec F5E7                  b       .L27
1195
 709                    .L26:
1196
 178:src/display.cpp ****       sum += buffer[i];
1197
 710                            .loc 1 178 2 discriminator 2 view .LVU167
1198
 711                    .LBE42:
1199
 180:src/display.cpp ****
1200
 712                            .loc 1 180 2 is_stmt 1 view .LVU168
1201
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 21
16 mjames 1202
 
1203
 
19 mjames 1204
 180:src/display.cpp ****
1205
 713                            .loc 1 180 21 is_stmt 0 view .LVU169
1206
 714 01ee 3049                  ldr     r1, .L33+72
1207
 715 01f0 08AB                  add     r3, sp, #32
1208
 716                    .LVL60:
1209
 180:src/display.cpp ****
1210
 717                            .loc 1 180 21 view .LVU170
1211
 718 01f2 5819                  adds    r0, r3, r5
1212
 719                    .LVL61:
1213
 180:src/display.cpp ****
1214
 720                            .loc 1 180 21 view .LVU171
1215
 721 01f4 FFF7FEFF              bl      small_sprintf
1216
 722                    .LVL62:
1217
 180:src/display.cpp ****
1218
 723                            .loc 1 180 5 view .LVU172
1219
 724 01f8 2918                  adds    r1, r5, r0
1220
 725                    .LVL63:
1221
 182:src/display.cpp **** #endif
1222
 726                            .loc 1 182 2 is_stmt 1 view .LVU173
1223
 182:src/display.cpp **** #endif
1224
 727                            .loc 1 182 17 is_stmt 0 view .LVU174
1225
 728 01fa 89B2                  uxth    r1, r1
1226
 729                    .LVL64:
1227
 182:src/display.cpp **** #endif
1228
 730                            .loc 1 182 17 view .LVU175
1229
 731 01fc 08A8                  add     r0, sp, #32
1230
 732                    .LVL65:
1231
 182:src/display.cpp **** #endif
1232
 733                            .loc 1 182 17 view .LVU176
1233
 734 01fe FFF7FEFF              bl      CDC_Transmit_FS
1234
 735                    .LVL66:
1235
 185:src/display.cpp ****       display1.printString (small_font, "T", 2, WHITE);
1236
 736                            .loc 1 185 2 is_stmt 1 view .LVU177
1237
 737                    .LBB43:
1238
 738                    .LBI43:
1239
  86:../libOLED/inc/libOLED/displayclass.H ****   {
1240
 739                            .loc 3 86 3 view .LVU178
1241
 740                    .LBB44:
1242
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
1243
 741                            .loc 3 88 5 view .LVU179
1244
  88:../libOLED/inc/libOLED/displayclass.H ****     m_cursor_y = y;
1245
 742                            .loc 3 88 16 is_stmt 0 view .LVU180
1246
 743 0202 1B4C                  ldr     r4, .L33+8
1247
 744 0204 0027                  movs    r7, #0
1248
 745 0206 2761                  str     r7, [r4, #16]
1249
 746                            .loc 3 89 5 is_stmt 1 view .LVU181
1250
 747                            .loc 3 89 16 is_stmt 0 view .LVU182
1251
 748 0208 3823                  movs    r3, #56
1252
 749 020a 6361                  str     r3, [r4, #20]
1253
 750                    .LVL67:
1254
 751                            .loc 3 89 16 view .LVU183
1255
 752                    .LBE44:
1256
 753                    .LBE43:
1257
 186:src/display.cpp ****       display1.fontDigits (small_font, 4, 1, temp32 / 10, WHITE);
1258
 754                            .loc 1 186 2 is_stmt 1 view .LVU184
1259
 186:src/display.cpp ****       display1.fontDigits (small_font, 4, 1, temp32 / 10, WHITE);
1260
 755                            .loc 1 186 23 is_stmt 0 view .LVU185
1261
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 22
16 mjames 1262
 
1263
 
19 mjames 1264
 756 020c 1D4E                  ldr     r6, .L33+28
1265
 757 020e 0125                  movs    r5, #1
1266
 186:src/display.cpp ****       display1.fontDigits (small_font, 4, 1, temp32 / 10, WHITE);
1267
 758                            .loc 1 186 23 view .LVU186
1268
 759 0210 0095                  str     r5, [sp]
1269
 760 0212 0223                  movs    r3, #2
1270
 761 0214 274A                  ldr     r2, .L33+76
1271
 762 0216 3146                  mov     r1, r6
1272
 763 0218 2046                  mov     r0, r4
1273
 764 021a FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
1274
 765                    .LVL68:
1275
 187:src/display.cpp ****       display1.printString (small_font, " P", 2, WHITE);
1276
 766                            .loc 1 187 2 is_stmt 1 view .LVU187
1277
 187:src/display.cpp ****       display1.printString (small_font, " P", 2, WHITE);
1278
 767                            .loc 1 187 22 is_stmt 0 view .LVU188
1279
 768 021e 0195                  str     r5, [sp, #4]
1280
 769 0220 0097                  str     r7, [sp]
1281
 770 0222 2B46                  mov     r3, r5
1282
 771 0224 0422                  movs    r2, #4
1283
 772 0226 3146                  mov     r1, r6
1284
 773 0228 2046                  mov     r0, r4
1285
 774 022a FFF7FEFF              bl      _ZN9display_t10fontDigitsER6font_thhi8colour_t
1286
 775                    .LVL69:
1287
 188:src/display.cpp ****       display1.fontDigits (small_font, 5, 0, press32 / 100, WHITE);
1288
 776                            .loc 1 188 2 is_stmt 1 view .LVU189
1289
 188:src/display.cpp ****       display1.fontDigits (small_font, 5, 0, press32 / 100, WHITE);
1290
 777                            .loc 1 188 23 is_stmt 0 view .LVU190
1291
 778 022e 0095                  str     r5, [sp]
1292
 779 0230 0223                  movs    r3, #2
1293
 780 0232 214A                  ldr     r2, .L33+80
1294
 781 0234 3146                  mov     r1, r6
1295
 782 0236 2046                  mov     r0, r4
1296
 783 0238 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
1297
 784                    .LVL70:
1298
 189:src/display.cpp ****       display1.printString (small_font, " ", 1, WHITE);
1299
 785                            .loc 1 189 2 is_stmt 1 view .LVU191
1300
 189:src/display.cpp ****       display1.printString (small_font, " ", 1, WHITE);
1301
 786                            .loc 1 189 22 is_stmt 0 view .LVU192
1302
 787 023c 0195                  str     r5, [sp, #4]
1303
 788 023e 0097                  str     r7, [sp]
1304
 789 0240 3B46                  mov     r3, r7
1305
 790 0242 0522                  movs    r2, #5
1306
 791 0244 3146                  mov     r1, r6
1307
 792 0246 2046                  mov     r0, r4
1308
 793 0248 FFF7FEFF              bl      _ZN9display_t10fontDigitsER6font_thhi8colour_t
1309
 794                    .LVL71:
1310
 190:src/display.cpp ****
1311
 795                            .loc 1 190 2 is_stmt 1 view .LVU193
1312
 190:src/display.cpp ****
1313
 796                            .loc 1 190 23 is_stmt 0 view .LVU194
1314
 797 024c 0095                  str     r5, [sp]
1315
 798 024e 2B46                  mov     r3, r5
1316
 799 0250 1A4A                  ldr     r2, .L33+84
1317
 800 0252 3146                  mov     r1, r6
1318
 801 0254 2046                  mov     r0, r4
1319
 802 0256 FFF7FEFF              bl      _ZN9display_t11printStringER6font_tPKct8colour_t
1320
 803                    .LVL72:
1321
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 23
16 mjames 1322
 
1323
 
19 mjames 1324
 192:src/display.cpp ****       }
1325
 804                            .loc 1 192 2 is_stmt 1 view .LVU195
1326
 192:src/display.cpp ****       }
1327
 805                            .loc 1 192 19 is_stmt 0 view .LVU196
1328
 806 025a 2046                  mov     r0, r4
1329
 807 025c FFF7FEFF              bl      _ZN9display_t7displayEv
1330
 808                    .LVL73:
1331
 809                    .LBE40:
1332
 810                    .LBE39:
1333
 811                    .LBE38:
1334
 812                    .LBE45:
1335
 813                            .loc 1 195 1 view .LVU197
1336
 814 0260 7FE7                  b       .L18
1337
 815                    .L34:
1338
 816 0262 00BFAFF3              .align  3
1339
 816      0080
1340
 817                    .L33:
1341
 818 0268 0AD7A370              .word   1889785610
1342
 819 026c 3D0AFD3F              .word   1073547837
1343
 820 0270 00000000              .word   .LANCHOR0
1344
 821 0274 00000000              .word   .LANCHOR2
1345
 822 0278 00000000              .word   .LANCHOR3
1346
 823 027c 00000000              .word   uc1
1347
 824 0280 00000000              .word   .LANCHOR4
1348
 825 0284 00000000              .word   small_font
1349
 826 0288 04000000              .word   .LC1
1350
 827 028c 00000000              .word   large_font
1351
 828 0290 0C000000              .word   .LC2
1352
 829 0294 00002041              .word   1092616192
1353
 830 0298 00000000              .word   .LANCHOR5
1354
 831 029c 14000000              .word   .LC3
1355
 832 02a0 00000000              .word   .LANCHOR6
1356
 833 02a4 00000000              .word   .LANCHOR7
1357
 834 02a8 00000000              .word   .LANCHOR8
1358
 835 02ac 1C000000              .word   .LC4
1359
 836 02b0 54000000              .word   .LC5
1360
 837 02b4 5C000000              .word   .LC6
1361
 838 02b8 60000000              .word   .LC7
1362
 839 02bc 64000000              .word   .LC8
1363
 840 02c0 00000000              .word   .LC0
1364
 841                            .cfi_endproc
1365
 842                    .LFE97:
1366
 844                            .section        .text._ZN18stm32_halDisplay_tD0Ev,"axG",%progbits,_ZN18stm32_halDisplay_tD5Ev,comdat
1367
 845                            .align  1
1368
 846                            .weak   _ZN18stm32_halDisplay_tD0Ev
1369
 847                            .syntax unified
1370
 848                            .thumb
1371
 849                            .thumb_func
1372
 850                            .fpu softvfp
1373
 852                    _ZN18stm32_halDisplay_tD0Ev:
1374
 853                    .LVL74:
1375
 854                    .LFB102:
1376
 855                            .loc 2 14 7 is_stmt 1 view -0
1377
 856                            .cfi_startproc
1378
 857                            @ args = 0, pretend = 0, frame = 0
1379
 858                            @ frame_needed = 0, uses_anonymous_args = 0
1380
 859                            .loc 2 14 7 is_stmt 0 view .LVU199
1381
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 24
16 mjames 1382
 
1383
 
19 mjames 1384
 860 0000 10B5                  push    {r4, lr}
1385
 861                    .LCFI11:
1386
 862                            .cfi_def_cfa_offset 8
1387
 863                            .cfi_offset 4, -8
1388
 864                            .cfi_offset 14, -4
1389
 865 0002 0446                  mov     r4, r0
1390
 866                    .LVL75:
1391
 867                    .LBB46:
1392
 868                    .LBI46:
1393
 869                            .loc 2 14 7 is_stmt 1 view .LVU200
1394
 870                    .LBB47:
1395
 871 0004 044B                  ldr     r3, .L37
1396
 872 0006 0360                  str     r3, [r0]
1397
 873 0008 FFF7FEFF              bl      _ZN9display_tD2Ev
1398
 874                    .LVL76:
1399
 875                            .loc 2 14 7 is_stmt 0 view .LVU201
1400
 876                    .LBE47:
1401
 877                    .LBE46:
1402
 878 000c 4021                  movs    r1, #64
1403
 879 000e 2046                  mov     r0, r4
1404
 880 0010 FFF7FEFF              bl      _ZdlPvj
1405
 881                    .LVL77:
1406
 882 0014 2046                  mov     r0, r4
1407
 883 0016 10BD                  pop     {r4, pc}
1408
 884                    .LVL78:
1409
 885                    .L38:
1410
 886                            .loc 2 14 7 view .LVU202
1411
 887                            .align  2
1412
 888                    .L37:
1413
 889 0018 08000000              .word   _ZTV18stm32_halDisplay_t+8
1414
 890                            .cfi_endproc
1415
 891                    .LFE102:
1416
 893                            .section        .text._GLOBAL__sub_I_speedMPH,"ax",%progbits
1417
 894                            .align  1
1418
 895                            .syntax unified
1419
 896                            .thumb
1420
 897                            .thumb_func
1421
 898                            .fpu softvfp
1422
 900                    _GLOBAL__sub_I_speedMPH:
1423
 901                    .LFB103:
1424
 902                            .loc 1 195 1 is_stmt 1 view -0
1425
 903                            .cfi_startproc
1426
 904                            @ args = 0, pretend = 0, frame = 0
1427
 905                            @ frame_needed = 0, uses_anonymous_args = 0
1428
 906 0000 08B5                  push    {r3, lr}
1429
 907                    .LCFI12:
1430
 908                            .cfi_def_cfa_offset 8
1431
 909                            .cfi_offset 3, -8
1432
 910                            .cfi_offset 14, -4
1433
 911                            .loc 1 195 1 is_stmt 0 view .LVU204
1434
 912 0002 4FF6FF71              movw    r1, #65535
1435
 913 0006 0120                  movs    r0, #1
1436
 914 0008 FFF7FEFF              bl      _Z41__static_initialization_and_destruction_0ii
1437
 915                    .LVL79:
1438
 916 000c 08BD                  pop     {r3, pc}
1439
 917                            .cfi_endproc
1440
 918                    .LFE103:
1441
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 25
16 mjames 1442
 
1443
 
19 mjames 1444
 920                            .section        .init_array,"aw",%init_array
1445
 921                            .align  2
1446
 922 0000 00000000              .word   _GLOBAL__sub_I_speedMPH(target1)
1447
 923                            .global fontBuf
1448
 924                            .global dial
1449
 925                            .global display1
1450
 926                            .global displayBuffer
1451
 927                            .global rslt
1452
 928                            .global lastTick
1453
 929                            .global loc
1454
 930                            .global heading
1455
 931                            .global speedDist
1456
 932                            .global speedTimer
1457
 933                            .global speedAVG
1458
 934                            .global speedMPH
1459
 935                            .section        .bss.dial,"aw",%nobits
1460
 936                            .align  2
1461
 937                            .set    .LANCHOR2,. + 0
1462
 940                    dial:
1463
 941 0000 00000000              .space  16
1464
 941      00000000
1465
 941      00000000
1466
 941      00000000
1467
 942                            .section        .bss.display1,"aw",%nobits
1468
 943                            .align  2
1469
 944                            .set    .LANCHOR0,. + 0
1470
 947                    display1:
1471
 948 0000 00000000              .space  64
1472
 948      00000000
1473
 948      00000000
1474
 948      00000000
1475
 948      00000000
1476
 949                            .section        .bss.displayBuffer,"aw",%nobits
1477
 950                            .align  2
1478
 951                            .set    .LANCHOR1,. + 0
1479
 954                    displayBuffer:
1480
 955 0000 00000000              .space  1024
1481
 955      00000000
1482
 955      00000000
1483
 955      00000000
1484
 955      00000000
1485
 956                            .section        .bss.heading,"aw",%nobits
1486
 957                            .align  2
1487
 958                            .set    .LANCHOR4,. + 0
1488
 961                    heading:
1489
 962 0000 00000000              .space  4
1490
 963                            .section        .bss.lastTick,"aw",%nobits
1491
 964                            .align  2
1492
 965                            .set    .LANCHOR7,. + 0
1493
 968                    lastTick:
1494
 969 0000 00000000              .space  4
1495
 970                            .section        .bss.loc,"aw",%nobits
1496
 971                            .align  3
1497
 972                            .set    .LANCHOR3,. + 0
1498
 975                    loc:
1499
 976 0000 00000000              .space  80
1500
 976      00000000
1501
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 26
16 mjames 1502
 
1503
 
19 mjames 1504
 976      00000000
1505
 976      00000000
1506
 976      00000000
1507
 977                            .section        .bss.rslt,"aw",%nobits
1508
 978                            .align  2
1509
 979                            .set    .LANCHOR8,. + 0
1510
 982                    rslt:
1511
 983 0000 00000000              .space  4
1512
 984                            .section        .bss.speedAVG,"aw",%nobits
1513
 985                            .align  2
1514
 986                            .set    .LANCHOR6,. + 0
1515
 989                    speedAVG:
1516
 990 0000 00000000              .space  4
1517
 991                            .section        .bss.speedDist,"aw",%nobits
1518
 992                            .align  2
1519
 995                    speedDist:
1520
 996 0000 00000000              .space  4
1521
 997                            .section        .bss.speedMPH,"aw",%nobits
1522
 998                            .align  2
1523
 999                            .set    .LANCHOR5,. + 0
1524
 1002                   speedMPH:
1525
 1003 0000 00000000             .space  4
1526
 1004                           .section        .bss.speedTimer,"aw",%nobits
1527
 1005                           .align  2
1528
 1008                   speedTimer:
1529
 1009 0000 00000000             .space  4
1530
 1010                           .section        .data.fontBuf,"aw"
1531
 1011                           .align  2
1532
 1014                   fontBuf:
1533
 1015 0000 30313233             .ascii  "01234567\000"
1534
 1015      34353637
1535
 1015      00
1536
 1016                           .section        .rodata.cc_run.str1.4,"aMS",%progbits,1
1537
 1017                           .align  2
1538
 1018                   .LC0:
1539
 1019 0000 3A00                 .ascii  ":\000"
1540
 1020 0002 0000                 .space  2
1541
 1021                   .LC1:
1542
 1022 0004 4750533F             .ascii  "GPS?\000"
1543
 1022      00
1544
 1023 0009 000000               .space  3
1545
 1024                   .LC2:
1546
 1025 000c 53706565             .ascii  "Speed\000"
1547
 1025      6400
1548
 1026 0012 0000                 .space  2
1549
 1027                   .LC3:
1550
 1028 0014 41766572             .ascii  "Average\000"
1551
 1028      61676500
1552
 1029                   .LC4:
1553
 1030 001c 244D4A58             .ascii  "$MJXDR,C,%ld.%02ld,C,AirTemp,P,%01ld.%05ld,B,AirPre"
1554
 1030      44522C43
1555
 1030      2C256C64
1556
 1030      2E253032
1557
 1030      6C642C43
1558
 1031 004f 7300                 .ascii  "s\000"
1559
 1032 0051 000000               .space  3
1560
 1033                   .LC5:
1561
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 27
16 mjames 1562
 
1563
 
19 mjames 1564
 1034 0054 2A253032             .ascii  "*%02X\012\000"
1565
 1034      580A00
1566
 1035 005b 00                   .space  1
1567
 1036                   .LC6:
1568
 1037 005c 5400                 .ascii  "T\000"
1569
 1038 005e 0000                 .space  2
1570
 1039                   .LC7:
1571
 1040 0060 205000               .ascii  " P\000"
1572
 1041 0063 00                   .space  1
1573
 1042                   .LC8:
1574
 1043 0064 2000                 .ascii  " \000"
1575
 1044                           .text
1576
 1045                   .Letext0:
1577
 1046                           .file 4 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1578
 1047                           .file 5 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1579
 1048                           .file 6 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1580
 1049                           .file 7 "Drivers/CMSIS/Include/core_cm3.h"
1581
 1050                           .file 8 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
1582
 1051                           .file 9 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
1583
 1052                           .file 10 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1584
 1053                           .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
1585
 1054                           .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
1586
 1055                           .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h"
1587
 1056                           .file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
1588
 1057                           .file 15 "Core/Inc/main.h"
1589
 1058                           .file 16 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1590
 1059                           .file 17 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1591
 1060                           .file 18 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1592
 1061                           .file 19 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1593
 1062                           .file 20 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1594
 1063                           .file 21 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1595
 1064                           .file 22 "../libSerial/inc/libSerial/serial.h"
1596
 1065                           .file 23 "../libNMEA/inc/libNMEA/nmea.h"
1597
 1066                           .file 24 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1598
 1067                           .file 25 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1599
 1068                           .file 26 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1600
 1069                           .file 27 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1601
 1070                           .file 28 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1602
 1071                           .file 29 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1603
 1072                           .file 30 "../libOLED/inc/libOLED/fontclass.H"
1604
 1073                           .file 31 "../libOLED/inc/libOLED/displayDial.H"
1605
 1074                           .file 32 "../libBME280/inc/libBME280/bme280_defs.h"
1606
 1075                           .file 33 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1607
 1076                           .file 34 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.
1608
 1077                           .file 35 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
1609
 1078                           .file 36 "Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h"
1610
 1079                           .file 37 "USB_DEVICE/App/usbd_cdc_if.h"
1611
 1080                           .file 38 "../libSmallPrintf/inc/libSmallPrintf/small_printf.h"
1612
 1081                           .file 39 "../libBME280/inc/libBME280/bme280.h"
1613
 1082                           .file 40 "<built-in>"
1614
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 28
16 mjames 1615
 
1616
 
1617
DEFINED SYMBOLS
1618
                            *ABS*:0000000000000000 display.cpp
19 mjames 1619
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:16     .text._Z41__static_initialization_and_destruction_0ii:0000000000000000 $t
1620
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:23     .text._Z41__static_initialization_and_destruction_0ii:0000000000000000 _Z41__static_initialization_and_destruction_0ii
1621
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:101    .text._Z41__static_initialization_and_destruction_0ii:0000000000000060 $d
1622
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:118    .text._ZN18stm32_halDisplay_tD2Ev:0000000000000000 _ZN18stm32_halDisplay_tD1Ev
1623
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:111    .text._ZN18stm32_halDisplay_tD2Ev:0000000000000000 $t
1624
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:118    .text._ZN18stm32_halDisplay_tD2Ev:0000000000000000 _ZN18stm32_halDisplay_tD2Ev
1625
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:148    .text._ZN18stm32_halDisplay_tD2Ev:0000000000000010 $d
1626
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:155    .text.cc_init:0000000000000000 $t
1627
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:162    .text.cc_init:0000000000000000 cc_init
1628
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:225    .text.cc_init:0000000000000048 $d
1629
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:237    .text.cc_run:0000000000000000 $t
1630
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:244    .text.cc_run:0000000000000000 cc_run
1631
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:818    .text.cc_run:0000000000000268 $d
1632
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:845    .text._ZN18stm32_halDisplay_tD0Ev:0000000000000000 $t
1633
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:852    .text._ZN18stm32_halDisplay_tD0Ev:0000000000000000 _ZN18stm32_halDisplay_tD0Ev
1634
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:889    .text._ZN18stm32_halDisplay_tD0Ev:0000000000000018 $d
1635
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:894    .text._GLOBAL__sub_I_speedMPH:0000000000000000 $t
1636
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:900    .text._GLOBAL__sub_I_speedMPH:0000000000000000 _GLOBAL__sub_I_speedMPH
1637
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:921    .init_array:0000000000000000 $d
1638
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:1014   .data.fontBuf:0000000000000000 fontBuf
1639
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:940    .bss.dial:0000000000000000 dial
1640
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:947    .bss.display1:0000000000000000 display1
1641
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:954    .bss.displayBuffer:0000000000000000 displayBuffer
1642
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:982    .bss.rslt:0000000000000000 rslt
1643
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:968    .bss.lastTick:0000000000000000 lastTick
1644
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:975    .bss.loc:0000000000000000 loc
1645
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:961    .bss.heading:0000000000000000 heading
1646
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:995    .bss.speedDist:0000000000000000 speedDist
1647
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:1008   .bss.speedTimer:0000000000000000 speedTimer
1648
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:989    .bss.speedAVG:0000000000000000 speedAVG
1649
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:1002   .bss.speedMPH:0000000000000000 speedMPH
1650
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:936    .bss.dial:0000000000000000 $d
1651
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:943    .bss.display1:0000000000000000 $d
1652
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:950    .bss.displayBuffer:0000000000000000 $d
1653
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:957    .bss.heading:0000000000000000 $d
1654
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:964    .bss.lastTick:0000000000000000 $d
1655
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:971    .bss.loc:0000000000000000 $d
1656
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:978    .bss.rslt:0000000000000000 $d
1657
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:985    .bss.speedAVG:0000000000000000 $d
1658
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:992    .bss.speedDist:0000000000000000 $d
1659
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:998    .bss.speedMPH:0000000000000000 $d
1660
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:1005   .bss.speedTimer:0000000000000000 $d
1661
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:1011   .data.fontBuf:0000000000000000 $d
1662
C:\Users\mike\AppData\Local\Temp\ccfleqTK.s:1017   .rodata.cc_run.str1.4:0000000000000000 $d
16 mjames 1663
                           .group:0000000000000000 _ZN18stm32_halDisplay_tD5Ev
1664
 
1665
UNDEFINED SYMBOLS
1666
_ZN18stm32_halDisplay_tC1EiiiPhP19__SPI_HandleTypeDefP12GPIO_TypeDeftS4_tS4_t
1667
__aeabi_atexit
1668
_ZN13displayDial_tC1ER9display_thhht
1669
hspi1
1670
__dso_handle
1671
_ZN9display_tD2Ev
1672
_ZTV18stm32_halDisplay_t
1673
_ZN9display_t5resetEv
19 mjames 1674
ARM GAS  C:\Users\mike\AppData\Local\Temp\ccfleqTK.s                   page 29
1675
 
1676
 
16 mjames 1677
_ZN9display_t4initEv
1678
_ZN9display_t12clearDisplayE8colour_t
1679
_ZN13displayDial_t10draw_scaleEsshhs
1680
_ZN9display_t7displayEv
1681
__aeabi_f2iz
1682
__aeabi_f2d
1683
__aeabi_ddiv
1684
__aeabi_d2f
1685
__aeabi_fmul
1686
updateLocation
1687
_ZN9display_t11printStringER6font_tPKct8colour_t
1688
_ZN13displayDial_t11draw_needleEs
1689
_ZN9display_t10fontDigitsER6font_thhi8colour_t
1690
HAL_GetTick
19 mjames 1691
bme280_get_sensor_data
16 mjames 1692
small_sprintf
1693
CDC_Transmit_FS
1694
uc1
1695
small_font
1696
large_font
1697
_ZdlPvj