1 .file "menu.cpp" 2 __SREG__ = 0x3f 3 __SP_H__ = 0x3e 4 __SP_L__ = 0x3d 5 __tmp_reg__ = 0 6 __zero_reg__ = 1 7 .global __do_copy_data 8 .global __do_clear_bss 16 .Ltext0: 18 _ZN7DisplayL12dispSetDDRAMEc: 19 .LFB12: 20 .LM1: 21 .LVL0: 22 /* prologue: function */ 23 /* frame size = 0 */ 24 .LBB10: 25 .LBB11: 26 .LM2: 27 0000 60E0 ldi r22,lo8(0) 28 0002 8068 ori r24,lo8(-128) 29 .LVL1: 30 0004 0E94 0000 call _ZN7Display11sendDisplayEhh 31 /* epilogue start */ 32 .LBE11: 33 .LBE10: 34 .LM3: 35 0008 0895 ret 36 .LFE12: 38 .data 39 .LC0: 40 0000 4869 7473 .string "Hits:" 40 3A00 41 .LC1: 42 0006 5477 6920 .string "Twi stat:" 42 7374 6174 42 3A00 43 .LC2: 44 0010 204E 4143 .string " NACK" 44 4B00 45 .LC3: 46 0016 2F00 .string "/" 47 .LC4: 48 0018 4E75 6D20 .string "Num retries:" 48 7265 7472 48 6965 733A 48 00 49 .LC5: 50 0025 4F53 2069 .string "OS info:" 50 6E66 6F3A 50 00 51 .LC6: 52 002e 2F31 3200 .string "/12" 53 .LC7: 54 0032 4350 5520 .string "CPU usage:" 54 7573 6167 54 653A 00 55 .LC8: 56 003d 2500 .string "%" 57 .LC9: 58 003f 4669 6C74 .string "Filter motor:" 58 6572 206D 58 6F74 6F72 58 3A00 59 .LC10: 60 004d 4172 6D20 .string "Arm motor:" 60 6D6F 746F 60 723A 00 61 .LC11: 62 0058 436F 6666 .string "Coffee:" 62 6565 3A00 63 .LC12: 64 0060 5761 7465 .string "Water:" 64 723A 00 65 .LC13: 66 0067 5661 6375 .string "Vacuum 1:" 66 756D 2031 66 3A00 67 .LC14: 68 0071 4375 7272 .string "Current: " 68 656E 743A 68 2000 69 .LC15: 70 007b 5661 6375 .string "Vacuum 2:" 70 756D 2032 70 3A00 71 .LC16: 72 0085 5365 7276 .string "Servo3:" 72 6F33 3A00 73 .LC17: 74 008d 4172 6D20 .string "Arm period:" 74 7065 7269 74 6F64 3A00 75 .text 76 .global _ZN4Menu8DrawMenuEPvS0_ 78 _ZN4Menu8DrawMenuEPvS0_: 79 .LFB14: 80 .LM4: 81 .LVL2: 82 /* prologue: function */ 83 /* frame size = 0 */ 84 .LBB12: 85 .LBB13: 86 .LBB14: 87 .LBB15: 88 .LM5: 89 000a 60E0 ldi r22,lo8(0) 90 .LVL3: 91 000c 81E0 ldi r24,lo8(1) 92 .LVL4: 93 000e 0E94 0000 call _ZN7Display11sendDisplayEhh 94 .LBE15: 95 .LBE14: 96 .LBE13: 97 .LBE12: 98 .LM6: 99 0012 80E0 ldi r24,lo8(0) 100 0014 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 101 .LM7: 102 0018 8091 0000 lds r24,_ZN4Menu8cur_menuE 103 001c 8430 cpi r24,lo8(4) 104 001e 01F4 brne .+2 105 0020 00C0 rjmp .L9 106 0022 8530 cpi r24,lo8(5) 107 0024 00F4 brsh .L15 108 0026 8130 cpi r24,lo8(1) 109 0028 01F0 breq .L6 110 002a 8130 cpi r24,lo8(1) 111 002c 00F0 brlo .L5 112 002e 8230 cpi r24,lo8(2) 113 0030 01F4 brne .+2 114 0032 00C0 rjmp .L7 115 0034 8330 cpi r24,lo8(3) 116 0036 01F0 breq .+2 117 0038 00C0 rjmp .L18 118 003a 00C0 rjmp .L23 119 .L15: 120 003c 8730 cpi r24,lo8(7) 121 003e 01F4 brne .+2 122 0040 00C0 rjmp .L12 123 0042 8830 cpi r24,lo8(8) 124 0044 00F4 brsh .L16 125 0046 8530 cpi r24,lo8(5) 126 0048 01F4 brne .+2 127 004a 00C0 rjmp .L10 128 004c 8630 cpi r24,lo8(6) 129 004e 01F0 breq .+2 130 0050 00C0 rjmp .L18 131 0052 00C0 rjmp .L24 132 .L16: 133 0054 8830 cpi r24,lo8(8) 134 0056 01F4 brne .+2 135 0058 00C0 rjmp .L13 136 005a 8930 cpi r24,lo8(9) 137 005c 01F0 breq .+2 138 005e 00C0 rjmp .L18 139 0060 00C0 rjmp .L25 140 .L5: 141 .LM8: 142 0062 80E0 ldi r24,lo8(_ZN6Coffee13cur_webstatusE+4) 143 0064 90E0 ldi r25,hi8(_ZN6Coffee13cur_webstatusE+4) 144 0066 0E94 0000 call _ZN7Display17sendDispRamStringEPc 145 .LM9: 146 006a 80E4 ldi r24,lo8(64) 147 006c 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 148 .LM10: 149 0070 80E0 ldi r24,lo8(.LC0) 150 0072 90E0 ldi r25,hi8(.LC0) 151 0074 0E94 0000 call _ZN7Display17sendDispRamStringEPc 152 .LM11: 153 0078 6091 0000 lds r22,_ZN6Coffee13cur_webstatusE+21 154 007c 00C0 rjmp .L22 155 .L6: 156 .LM12: 157 007e 80E0 ldi r24,lo8(.LC1) 158 0080 90E0 ldi r25,hi8(.LC1) 159 0082 0E94 0000 call _ZN7Display17sendDispRamStringEPc 160 .LM13: 161 0086 8091 0000 lds r24,_ZN3TWI12current_modeE 162 008a 8831 cpi r24,lo8(24) 163 008c 01F4 brne .L17 164 .LM14: 165 008e 80E4 ldi r24,lo8(64) 166 0090 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 167 .LM15: 168 0094 6091 0000 lds r22,_ZN3TWI10out_packetE 169 0098 70E0 ldi r23,lo8(0) 170 009a 7595 asr r23 171 009c 6795 ror r22 172 009e 8827 clr r24 173 00a0 77FD sbrc r23,7 174 00a2 8095 com r24 175 00a4 982F mov r25,r24 176 00a6 0E94 0000 call _ZN7Display11sendDispIntEl 177 .LM16: 178 00aa 80E0 ldi r24,lo8(.LC2) 179 00ac 90E0 ldi r25,hi8(.LC2) 180 00ae 00C0 rjmp .L21 181 .L17: 182 .LM17: 183 00b0 6091 0000 lds r22,_ZN3TWI12current_modeE 184 00b4 70E0 ldi r23,lo8(0) 185 00b6 80E0 ldi r24,lo8(0) 186 00b8 90E0 ldi r25,hi8(0) 187 00ba 0E94 0000 call _ZN7Display11sendDispIntEl 188 .LM18: 189 00be 80E0 ldi r24,lo8(.LC3) 190 00c0 90E0 ldi r25,hi8(.LC3) 191 00c2 0E94 0000 call _ZN7Display17sendDispRamStringEPc 192 .LM19: 193 00c6 6091 0000 lds r22,_ZN3TWI9lost_arbsE 194 00ca 70E0 ldi r23,lo8(0) 195 00cc 80E0 ldi r24,lo8(0) 196 00ce 90E0 ldi r25,hi8(0) 197 00d0 0E94 0000 call _ZN7Display11sendDispIntEl 198 .LM20: 199 00d4 80E4 ldi r24,lo8(64) 200 00d6 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 201 .LM21: 202 00da 80E0 ldi r24,lo8(.LC4) 203 00dc 90E0 ldi r25,hi8(.LC4) 204 00de 0E94 0000 call _ZN7Display17sendDispRamStringEPc 205 .LM22: 206 00e2 6091 0000 lds r22,_ZN3TWI10numRetriesE 207 .L22: 208 00e6 70E0 ldi r23,lo8(0) 209 00e8 00C0 rjmp .L20 210 .L7: 211 .LM23: 212 00ea 80E0 ldi r24,lo8(.LC5) 213 00ec 90E0 ldi r25,hi8(.LC5) 214 00ee 0E94 0000 call _ZN7Display17sendDispRamStringEPc 215 .LM24: 216 00f2 6091 0000 lds r22,_ZN11TaskManager9cur_tasksE 217 00f6 70E0 ldi r23,lo8(0) 218 00f8 80E0 ldi r24,lo8(0) 219 00fa 90E0 ldi r25,hi8(0) 220 00fc 0E94 0000 call _ZN7Display11sendDispIntEl 221 .LM25: 222 0100 80E0 ldi r24,lo8(.LC6) 223 0102 90E0 ldi r25,hi8(.LC6) 224 0104 0E94 0000 call _ZN7Display17sendDispRamStringEPc 225 .LM26: 226 0108 80E4 ldi r24,lo8(64) 227 010a 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 228 .LM27: 229 010e 80E0 ldi r24,lo8(.LC7) 230 0110 90E0 ldi r25,hi8(.LC7) 231 0112 0E94 0000 call _ZN7Display17sendDispRamStringEPc 232 .LM28: 233 0116 6091 0000 lds r22,_ZN11TaskManager9cpu_usageE 234 011a 70E0 ldi r23,lo8(0) 235 011c 80E0 ldi r24,lo8(0) 236 011e 90E0 ldi r25,hi8(0) 237 0120 0E94 0000 call _ZN7Display11sendDispIntEl 238 .LM29: 239 0124 80E0 ldi r24,lo8(.LC8) 240 0126 90E0 ldi r25,hi8(.LC8) 241 .L21: 242 0128 0E94 0000 call _ZN7Display17sendDispRamStringEPc 243 012c 0895 ret 244 .L23: 245 .LM30: 246 012e 80E0 ldi r24,lo8(.LC9) 247 0130 90E0 ldi r25,hi8(.LC9) 248 0132 0E94 0000 call _ZN7Display17sendDispRamStringEPc 249 .LM31: 250 0136 80E4 ldi r24,lo8(64) 251 0138 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 252 .LM32: 253 013c 6091 0000 lds r22,_ZN6Coffee19motor_filter_statusE 254 0140 00C0 rjmp .L22 255 .L9: 256 .LM33: 257 0142 80E0 ldi r24,lo8(.LC10) 258 0144 90E0 ldi r25,hi8(.LC10) 259 0146 0E94 0000 call _ZN7Display17sendDispRamStringEPc 260 .LM34: 261 014a 80E4 ldi r24,lo8(64) 262 014c 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 263 .LM35: 264 0150 6091 0000 lds r22,_ZN6Coffee16motor_arm_statusE 265 0154 00C0 rjmp .L22 266 .L10: 267 .LM36: 268 0156 80E0 ldi r24,lo8(.LC11) 269 0158 90E0 ldi r25,hi8(.LC11) 270 015a 0E94 0000 call _ZN7Display17sendDispRamStringEPc 271 .LM37: 272 015e 6091 0000 lds r22,_ZN6Coffee14current_weightE+2 273 0162 7091 0000 lds r23,(_ZN6Coffee14current_weightE+2)+1 274 0166 80E0 ldi r24,lo8(0) 275 0168 90E0 ldi r25,hi8(0) 276 016a 0E94 0000 call _ZN7Display11sendDispIntEl 277 .LM38: 278 016e 80E4 ldi r24,lo8(64) 279 0170 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 280 .LM39: 281 0174 80E0 ldi r24,lo8(.LC12) 282 0176 90E0 ldi r25,hi8(.LC12) 283 0178 0E94 0000 call _ZN7Display17sendDispRamStringEPc 284 .LM40: 285 017c 6091 0000 lds r22,_ZN6Coffee14current_weightE 286 0180 7091 0000 lds r23,(_ZN6Coffee14current_weightE)+1 287 0184 00C0 rjmp .L20 288 .L24: 289 .LM41: 290 0186 80E0 ldi r24,lo8(.LC13) 291 0188 90E0 ldi r25,hi8(.LC13) 292 018a 0E94 0000 call _ZN7Display17sendDispRamStringEPc 293 .LM42: 294 018e 6091 0000 lds r22,_ZN6Coffee13cur_vacuum_pwE 295 0192 70E0 ldi r23,lo8(0) 296 0194 80E0 ldi r24,lo8(0) 297 0196 90E0 ldi r25,hi8(0) 298 0198 0E94 0000 call _ZN7Display11sendDispIntEl 299 .LM43: 300 019c 80E0 ldi r24,lo8(.LC8) 301 019e 90E0 ldi r25,hi8(.LC8) 302 01a0 0E94 0000 call _ZN7Display17sendDispRamStringEPc 303 .LM44: 304 01a4 80E4 ldi r24,lo8(64) 305 01a6 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 306 .LM45: 307 01aa 80E0 ldi r24,lo8(.LC14) 308 01ac 90E0 ldi r25,hi8(.LC14) 309 01ae 0E94 0000 call _ZN7Display17sendDispRamStringEPc 310 .LM46: 311 01b2 6091 0000 lds r22,_ZN6Coffee14vacuum_currentE 312 01b6 7091 0000 lds r23,(_ZN6Coffee14vacuum_currentE)+1 313 01ba 00C0 rjmp .L20 314 .L12: 315 .LM47: 316 01bc 80E0 ldi r24,lo8(.LC15) 317 01be 90E0 ldi r25,hi8(.LC15) 318 01c0 0E94 0000 call _ZN7Display17sendDispRamStringEPc 319 .LM48: 320 01c4 6091 0000 lds r22,_ZN6Coffee13cur_vacuum_pwE+1 321 01c8 70E0 ldi r23,lo8(0) 322 01ca 80E0 ldi r24,lo8(0) 323 01cc 90E0 ldi r25,hi8(0) 324 01ce 0E94 0000 call _ZN7Display11sendDispIntEl 325 .LM49: 326 01d2 80E0 ldi r24,lo8(.LC8) 327 01d4 90E0 ldi r25,hi8(.LC8) 328 01d6 0E94 0000 call _ZN7Display17sendDispRamStringEPc 329 .LM50: 330 01da 80E4 ldi r24,lo8(64) 331 01dc 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 332 .LM51: 333 01e0 80E0 ldi r24,lo8(.LC14) 334 01e2 90E0 ldi r25,hi8(.LC14) 335 01e4 0E94 0000 call _ZN7Display17sendDispRamStringEPc 336 .LM52: 337 01e8 6091 0000 lds r22,_ZN6Coffee14vacuum_currentE+2 338 01ec 7091 0000 lds r23,(_ZN6Coffee14vacuum_currentE+2)+1 339 01f0 00C0 rjmp .L20 340 .L13: 341 .LM53: 342 01f2 80E0 ldi r24,lo8(.LC16) 343 01f4 90E0 ldi r25,hi8(.LC16) 344 01f6 0E94 0000 call _ZN7Display17sendDispRamStringEPc 345 .LM54: 346 01fa 6091 0000 lds r22,_ZN6Coffee9servo_posE 347 01fe 7091 0000 lds r23,(_ZN6Coffee9servo_posE)+1 348 .L20: 349 0202 80E0 ldi r24,lo8(0) 350 0204 90E0 ldi r25,hi8(0) 351 0206 0E94 0000 call _ZN7Display11sendDispIntEl 352 020a 0895 ret 353 .L25: 354 .LM55: 355 020c 80E0 ldi r24,lo8(.LC17) 356 020e 90E0 ldi r25,hi8(.LC17) 357 0210 0E94 0000 call _ZN7Display17sendDispRamStringEPc 358 .LM56: 359 0214 6091 0000 lds r22,_ZN6Coffee18garbage_arm_periodE 360 0218 7091 0000 lds r23,(_ZN6Coffee18garbage_arm_periodE)+1 361 021c 80E0 ldi r24,lo8(0) 362 021e 90E0 ldi r25,hi8(0) 363 0220 0E94 0000 call _ZN7Display11sendDispIntEl 364 .LM57: 365 0224 80E4 ldi r24,lo8(64) 366 0226 0E94 0000 call _ZN7DisplayL12dispSetDDRAMEc 367 .LM58: 368 022a 6091 0000 lds r22,_ZN6Coffee11garbage_armE 369 022e 70E0 ldi r23,lo8(0) 370 0230 80E0 ldi r24,lo8(0) 371 0232 90E0 ldi r25,hi8(0) 372 0234 0E94 0000 call _ZN7Display11sendDispIntEl 373 .L18: 374 0238 0895 ret 375 .LFE14: 377 .global _ZN4Menu8net_statE 378 .global _ZN4Menu8net_statE 379 .section .bss 382 _ZN4Menu8net_statE: 383 0000 0000 0000 .skip 17,0 383 0000 0000 383 0000 0000 383 0000 0000 383 00 384 .global _ZN4Menu8cur_menuE 385 .global _ZN4Menu8cur_menuE 388 _ZN4Menu8cur_menuE: 389 0011 00 .skip 1,0 422 .Letext0: DEFINED SYMBOLS *ABS*:0000000000000000 menu.cpp /tmp/cc3UOQmj.s:2 *ABS*:000000000000003f __SREG__ /tmp/cc3UOQmj.s:3 *ABS*:000000000000003e __SP_H__ /tmp/cc3UOQmj.s:4 *ABS*:000000000000003d __SP_L__ /tmp/cc3UOQmj.s:5 *ABS*:0000000000000000 __tmp_reg__ /tmp/cc3UOQmj.s:6 *ABS*:0000000000000001 __zero_reg__ /tmp/cc3UOQmj.s:18 .text:0000000000000000 _ZN7DisplayL12dispSetDDRAMEc /tmp/cc3UOQmj.s:78 .text:000000000000000a _ZN4Menu8DrawMenuEPvS0_ /tmp/cc3UOQmj.s:388 .bss:0000000000000011 _ZN4Menu8cur_menuE /tmp/cc3UOQmj.s:382 .bss:0000000000000000 _ZN4Menu8net_statE UNDEFINED SYMBOLS __do_copy_data __do_clear_bss _ZN7Display11sendDisplayEhh _ZN6Coffee13cur_webstatusE _ZN7Display17sendDispRamStringEPc _ZN3TWI12current_modeE _ZN3TWI10out_packetE _ZN7Display11sendDispIntEl _ZN3TWI9lost_arbsE _ZN3TWI10numRetriesE _ZN11TaskManager9cur_tasksE _ZN11TaskManager9cpu_usageE _ZN6Coffee19motor_filter_statusE _ZN6Coffee16motor_arm_statusE _ZN6Coffee14current_weightE _ZN6Coffee13cur_vacuum_pwE _ZN6Coffee14vacuum_currentE _ZN6Coffee9servo_posE _ZN6Coffee18garbage_arm_periodE _ZN6Coffee11garbage_armE