make it possible to run via code

This commit is contained in:
davidscherer
2023-06-04 17:50:49 +02:00
parent d48136cb1a
commit 9f80b5e11c
35 changed files with 3565 additions and 3560 deletions

View File

@ -1,4 +1,4 @@
ARM GAS /tmp/ccSPu85t.s page 1
ARM GAS /tmp/ccq9ydWK.s page 1
1 .cpu cortex-m4
@ -58,7 +58,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
35 0000 00B5 push {lr}
36 .cfi_def_cfa_offset 4
37 .cfi_offset 14, -4
ARM GAS /tmp/ccSPu85t.s page 2
ARM GAS /tmp/ccq9ydWK.s page 2
38 0002 8BB0 sub sp, sp, #44
@ -118,7 +118,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
80 002c 02F818CC strb ip, [r2, #-24]
31:Core/Src/Testbench.c **** buffer[((i*2)+1)] = data[i] >> 8;
81 .loc 1 31 26 is_stmt 1 discriminator 3 view .LVU22
ARM GAS /tmp/ccSPu85t.s page 3
ARM GAS /tmp/ccq9ydWK.s page 3
82 0030 0133 adds r3, r3, #1
@ -178,7 +178,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
127 .LBB4:
36:Core/Src/Testbench.c **** tmp[i] = buffer[i];
128 .loc 1 36 10 discriminator 1 view .LVU36
ARM GAS /tmp/ccSPu85t.s page 4
ARM GAS /tmp/ccq9ydWK.s page 4
129 005c 0823 movs r3, #8
@ -238,7 +238,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
50:Core/Src/Testbench.c **** if (ams_can_wait_for_free_mailboxes(ams_can_handle, 1, CAN_HEARTBEAT_TX_TIMEOUT) == HAL_OK) {
171 .loc 1 50 2 view .LVU47
172 .loc 1 50 6 is_stmt 0 view .LVU48
ARM GAS /tmp/ccSPu85t.s page 5
ARM GAS /tmp/ccq9ydWK.s page 5
173 008e 0A22 movs r2, #10
@ -298,7 +298,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
219 .loc 1 57 4 is_stmt 0 discriminator 3 view .LVU60
220 00c6 0132 adds r2, r2, #1
221 .LVL19:
ARM GAS /tmp/ccSPu85t.s page 6
ARM GAS /tmp/ccq9ydWK.s page 6
55:Core/Src/Testbench.c **** tmp[m] = buffer[i];
@ -358,7 +358,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
265 00f0 F4E7 b .L1
266 .L18:
267 00f2 00BF .align 2
ARM GAS /tmp/ccSPu85t.s page 7
ARM GAS /tmp/ccq9ydWK.s page 7
268 .L17:
@ -418,7 +418,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
314 0014 0A22 movs r2, #10
315 0016 0121 movs r1, #1
316 0018 084B ldr r3, .L23+4
ARM GAS /tmp/ccSPu85t.s page 8
ARM GAS /tmp/ccq9ydWK.s page 8
317 001a 1868 ldr r0, [r3]
@ -478,7 +478,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
81:Core/Src/Testbench.c **** void resetData(uint8_t* data){
365 .loc 1 81 30 is_stmt 1 view -0
366 .cfi_startproc
ARM GAS /tmp/ccSPu85t.s page 9
ARM GAS /tmp/ccq9ydWK.s page 9
367 @ args = 0, pretend = 0, frame = 0
@ -538,7 +538,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
88:Core/Src/Testbench.c **** uint8_t last_error = 0;
415 .loc 1 88 2 view .LVU102
416 .LVL33:
ARM GAS /tmp/ccSPu85t.s page 10
ARM GAS /tmp/ccq9ydWK.s page 10
89:Core/Src/Testbench.c **** int N_SENSORS = 12;
@ -598,7 +598,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
462 .LVL39:
98:Core/Src/Testbench.c **** }
463 .loc 1 98 1 is_stmt 0 view .LVU118
ARM GAS /tmp/ccSPu85t.s page 11
ARM GAS /tmp/ccq9ydWK.s page 11
464 002e 06B0 add sp, sp, #24
@ -658,7 +658,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
514 0016 6420 movs r0, #100
515 .LVL43:
516 .loc 1 104 4 is_stmt 0 view .LVU127
ARM GAS /tmp/ccSPu85t.s page 12
ARM GAS /tmp/ccq9ydWK.s page 12
517 0018 FFF7FEFF bl HAL_Delay
@ -718,7 +718,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
528 .LVL46:
148:Core/Src/Testbench.c **** }
529 .loc 1 148 1 is_stmt 0 view .LVU131
ARM GAS /tmp/ccSPu85t.s page 13
ARM GAS /tmp/ccq9ydWK.s page 13
530 0028 38BD pop {r3, r4, r5, pc}
@ -778,7 +778,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
571 .loc 1 118 8 view .LVU144
118:Core/Src/Testbench.c **** if(i == 4){
572 .loc 1 118 17 is_stmt 0 view .LVU145
ARM GAS /tmp/ccSPu85t.s page 14
ARM GAS /tmp/ccq9ydWK.s page 14
573 0052 0124 movs r4, #1
@ -838,7 +838,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
616 .loc 1 127 8 view .LVU156
127:Core/Src/Testbench.c **** data[i-1] = readeeprom(i*3);
617 .loc 1 127 17 is_stmt 0 view .LVU157
ARM GAS /tmp/ccSPu85t.s page 15
ARM GAS /tmp/ccq9ydWK.s page 15
618 0080 0124 movs r4, #1
@ -898,7 +898,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
659 .LVL72:
134:Core/Src/Testbench.c **** amsConfigBalancing(0x00001<<i);
660 .loc 1 134 4 is_stmt 1 view .LVU171
ARM GAS /tmp/ccSPu85t.s page 16
ARM GAS /tmp/ccq9ydWK.s page 16
661 .LBB21:
@ -958,7 +958,7 @@ ARM GAS /tmp/ccSPu85t.s page 1
703 00dc 4FF47A70 mov r0, #1000
704 00e0 FFF7FEFF bl HAL_Delay
705 .LVL81:
ARM GAS /tmp/ccSPu85t.s page 17
ARM GAS /tmp/ccq9ydWK.s page 17
143:Core/Src/Testbench.c **** break;
@ -1004,31 +1004,31 @@ ARM GAS /tmp/ccSPu85t.s page 1
741 .file 10 "Core/Inc/Testbench.h"
742 .file 11 "Core/Inc/AMS_CAN.h"
743 .file 12 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h"
ARM GAS /tmp/ccSPu85t.s page 18
ARM GAS /tmp/ccq9ydWK.s page 18
DEFINED SYMBOLS
*ABS*:0000000000000000 Testbench.c
/tmp/ccSPu85t.s:21 .text.canTestSendTemperatures:0000000000000000 $t
/tmp/ccSPu85t.s:27 .text.canTestSendTemperatures:0000000000000000 canTestSendTemperatures
/tmp/ccSPu85t.s:269 .text.canTestSendTemperatures:00000000000000f4 $d
/tmp/ccSPu85t.s:729 .bss.header.1:0000000000000000 header.1
/tmp/ccSPu85t.s:275 .text.canTestSendAnswer:0000000000000000 $t
/tmp/ccSPu85t.s:281 .text.canTestSendAnswer:0000000000000000 canTestSendAnswer
/tmp/ccSPu85t.s:350 .text.canTestSendAnswer:0000000000000038 $d
/tmp/ccSPu85t.s:723 .bss.header.0:0000000000000000 header.0
/tmp/ccSPu85t.s:356 .text.resetData:0000000000000000 $t
/tmp/ccSPu85t.s:362 .text.resetData:0000000000000000 resetData
/tmp/ccSPu85t.s:397 .text.readTemperatures:0000000000000000 $t
/tmp/ccSPu85t.s:403 .text.readTemperatures:0000000000000000 readTemperatures
/tmp/ccSPu85t.s:475 .text.testLoop:0000000000000000 $t
/tmp/ccSPu85t.s:481 .text.testLoop:0000000000000000 testLoop
/tmp/ccSPu85t.s:506 .text.testLoop:0000000000000010 $d
/tmp/ccSPu85t.s:714 .text.testLoop:00000000000000ec $d
/tmp/ccSPu85t.s:720 .bss.header.0:0000000000000000 $d
/tmp/ccSPu85t.s:726 .bss.header.1:0000000000000000 $d
/tmp/ccSPu85t.s:511 .text.testLoop:0000000000000015 $d
/tmp/ccSPu85t.s:511 .text.testLoop:0000000000000016 $t
/tmp/ccq9ydWK.s:21 .text.canTestSendTemperatures:0000000000000000 $t
/tmp/ccq9ydWK.s:27 .text.canTestSendTemperatures:0000000000000000 canTestSendTemperatures
/tmp/ccq9ydWK.s:269 .text.canTestSendTemperatures:00000000000000f4 $d
/tmp/ccq9ydWK.s:729 .bss.header.1:0000000000000000 header.1
/tmp/ccq9ydWK.s:275 .text.canTestSendAnswer:0000000000000000 $t
/tmp/ccq9ydWK.s:281 .text.canTestSendAnswer:0000000000000000 canTestSendAnswer
/tmp/ccq9ydWK.s:350 .text.canTestSendAnswer:0000000000000038 $d
/tmp/ccq9ydWK.s:723 .bss.header.0:0000000000000000 header.0
/tmp/ccq9ydWK.s:356 .text.resetData:0000000000000000 $t
/tmp/ccq9ydWK.s:362 .text.resetData:0000000000000000 resetData
/tmp/ccq9ydWK.s:397 .text.readTemperatures:0000000000000000 $t
/tmp/ccq9ydWK.s:403 .text.readTemperatures:0000000000000000 readTemperatures
/tmp/ccq9ydWK.s:475 .text.testLoop:0000000000000000 $t
/tmp/ccq9ydWK.s:481 .text.testLoop:0000000000000000 testLoop
/tmp/ccq9ydWK.s:506 .text.testLoop:0000000000000010 $d
/tmp/ccq9ydWK.s:714 .text.testLoop:00000000000000ec $d
/tmp/ccq9ydWK.s:720 .bss.header.0:0000000000000000 $d
/tmp/ccq9ydWK.s:726 .bss.header.1:0000000000000000 $d
/tmp/ccq9ydWK.s:511 .text.testLoop:0000000000000015 $d
/tmp/ccq9ydWK.s:511 .text.testLoop:0000000000000016 $t
UNDEFINED SYMBOLS
ams_can_wait_for_free_mailboxes