From d637291eb35dbd423171eb49520c254bdab41324 Mon Sep 17 00:00:00 2001 From: Schrom01 Date: Fri, 11 Nov 2022 11:13:06 +0100 Subject: [PATCH] solved Task 3d --- project/app/struct_code.s | 19 ++ project/build/struct_code.lst | 329 +++++++++++++----------- project/build/struct_code.o | Bin 2712 -> 2764 bytes project/build/strukt_code.axf | Bin 49128 -> 49180 bytes project/build/strukt_code.build_log.htm | 8 +- project/build/strukt_code.htm | 4 +- project/build/strukt_code.map | 42 +-- project/build/strukt_code_Target 1.dep | 2 +- project/strukt_code.uvguix.roman | 16 +- project/strukt_code.uvoptx | 19 +- 10 files changed, 257 insertions(+), 182 deletions(-) diff --git a/project/app/struct_code.s b/project/app/struct_code.s index cf0fad1..6a7ced5 100644 --- a/project/app/struct_code.s +++ b/project/app/struct_code.s @@ -148,6 +148,25 @@ case_red ; Show Diff on 7-Segment LDR R3, =ADDR_7_SEG_BIN_DS3_0 STRB R2, [R3] + + ; Count 0 Bits in diff + LDR R3, =0x9 ; Count down + LDR R4, =0x0 ; Count 0 bits + LDR R5, =0x01 ; Value 1 +loop_count_0_bits + SUBS R3, R3, R5 + BEQ end_loop_count_0_bits + LSRS R2, R2, #1 + BHS loop_count_0_bits + ADDS R4, R4, R5 + B loop_count_0_bits +end_loop_count_0_bits + + ; Show 0 Bits in lcd 2nd line + LDR R3, =ADDR_LCD_ASCII_2ND_LINE + LDR R5, =ASCII_DIGIT_OFFSET + ADDS R4, R4, R5 + STRB R4, [R3] B main_loop case_green diff --git a/project/build/struct_code.lst b/project/build/struct_code.lst index 30bf84f..8da4f8e 100644 --- a/project/build/struct_code.lst +++ b/project/build/struct_code.lst @@ -142,30 +142,30 @@ ARM Macro Assembler Page 3 73 00000000 export main 74 00000000 ; 8 bit resolution, cont. sampling 75 00000000 F7FF FFFE BL adc_init - 76 00000004 F000 F847 BL clear_lcd + 76 00000004 F000 F854 BL clear_lcd 77 00000008 78 00000008 main_loop 79 00000008 ; STUDENTS: To be programmed 80 00000008 81 00000008 ; Clear LCD - 82 00000008 F000 F83A BL clear_lcd_colour + 82 00000008 F000 F847 BL clear_lcd_colour 83 0000000C 84 0000000C ; Read ADC Value to R0 85 0000000C F7FF FFFE BL adc_get_value 86 00000010 87 00000010 ; check T0 - 88 00000010 492A LDR R1, =ADDR_BUTTONS + 88 00000010 4930 LDR R1, =ADDR_BUTTONS 89 00000012 7809 LDRB R1, [R1] - 90 00000014 4A2A LDR R2, =0x01 + 90 00000014 4A30 LDR R2, =0x01 91 00000016 4211 TST R1, R2 - 92 00000018 D121 BNE case_green ; If T0 is pressed: + 92 00000018 D12E BNE case_green ; If T0 is pressed: goto case_green, e lse: continue 93 0000001A 94 0000001A ; Else (T0 is not pressed): 95 0000001A 96 0000001A ; Read 8-bit value from DIP-Switch 7-0 to R1 - 97 0000001A 492A LDR R1, =ADDR_DIP_SWITCH_7_0 + 97 0000001A 4930 LDR R1, =ADDR_DIP_SWITCH_7_0 98 0000001C 7809 LDRB R1, [R1] 99 0000001E 100 0000001E ; Calc diff: DIP-Switch-7-0 - ADC-Value @@ -177,20 +177,20 @@ ARM Macro Assembler Page 3 104 00000022 105 00000022 case_blue 106 00000022 ; Make LCD Display Blue - 107 00000022 4B29 LDR R3, =ADDR_LCD_COLOUR - 108 00000024 4C29 LDR R4, =DISPLAY_COLOUR_BLUE - 109 00000026 4D2A LDR R5, =0xffff + 107 00000022 4B2F LDR R3, =ADDR_LCD_COLOUR + 108 00000024 4C2F LDR R4, =DISPLAY_COLOUR_BLUE + 109 00000026 4D30 LDR R5, =0xffff 110 00000028 531D STRH R5, [R3, R4] 111 0000002A 112 0000002A ; Show Diff on 7-Segment - 113 0000002A 4B2A LDR R3, =ADDR_7_SEG_BIN_DS3_0 + 113 0000002A 4B30 LDR R3, =ADDR_7_SEG_BIN_DS3_0 114 0000002C 701A STRB R2, [R3] 115 0000002E 116 0000002E ; Show Bits on lcd Display - 117 0000002E 4B2A LDR R3, =0x8 + 117 0000002E 4B30 LDR R3, =0x8 118 00000030 1A9B SUBS R3, R3, R2 119 00000032 D906 BLS case_8_bit - 120 00000034 4B25 LDR R3, =0x4 + 120 00000034 4B2B LDR R3, =0x4 121 00000036 1A9B SUBS R3, R3, R2 122 00000038 D901 BLS case_4_bit @@ -200,120 +200,145 @@ ARM Macro Assembler Page 4 123 0000003A case_2_bit - 124 0000003A 4C28 LDR R4, =DISPLAY_2_BIT + 124 0000003A 4C2E LDR R4, =DISPLAY_2_BIT 125 0000003C E002 B end_case 126 0000003E case_4_bit - 127 0000003E 4C28 LDR R4, =DISPLAY_4_BIT + 127 0000003E 4C2E LDR R4, =DISPLAY_4_BIT 128 00000040 E000 B end_case 129 00000042 case_8_bit - 130 00000042 4C28 LDR R4, =DISPLAY_8_BIT + 130 00000042 4C2E LDR R4, =DISPLAY_8_BIT 131 00000044 132 00000044 end_case - 133 00000044 4B28 LDR R3, =ADDR_LCD_ASCII + 133 00000044 4B2E LDR R3, =ADDR_LCD_ASCII 134 00000046 135 00000046 6824 LDR R4, [R4] 136 00000048 701C STRB R4, [R3] 137 0000004A - 138 0000004A F000 F82F BL write_bit_ascii + 138 0000004A F000 F83C BL write_bit_ascii 139 0000004E 140 0000004E E7DB B main_loop 141 00000050 case_red 142 00000050 ; Make LCD Display Red - 143 00000050 4B1D LDR R3, =ADDR_LCD_COLOUR - 144 00000052 4C26 LDR R4, =DISPLAY_COLOUR_RED - 145 00000054 4D1E LDR R5, =0xffff + 143 00000050 4B23 LDR R3, =ADDR_LCD_COLOUR + 144 00000052 4C2C LDR R4, =DISPLAY_COLOUR_RED + 145 00000054 4D24 LDR R5, =0xffff 146 00000056 531D STRH R5, [R3, R4] 147 00000058 148 00000058 ; Show Diff on 7-Segment - 149 00000058 4B1E LDR R3, =ADDR_7_SEG_BIN_DS3_0 + 149 00000058 4B24 LDR R3, =ADDR_7_SEG_BIN_DS3_0 150 0000005A 701A STRB R2, [R3] 151 0000005C - 152 0000005C E7D4 B main_loop - 153 0000005E case_green - 154 0000005E ; Make LCD Display Green - 155 0000005E 4B1A LDR R3, =ADDR_LCD_COLOUR - 156 00000060 4C23 LDR R4, =DISPLAY_COLOUR_GREEN - 157 00000062 4D1B LDR R5, =0xffff - 158 00000064 531D STRH R5, [R3, R4] - 159 00000066 - 160 00000066 ; Show ADC Value on 7-Semgment - 161 00000066 4B1B LDR R3, =ADDR_7_SEG_BIN_DS3_0 - 162 00000068 7018 STRB R0, [R3] - 163 0000006A - 164 0000006A 4920 LDR R1, =0x0 ; Register to show - on LEDs - 165 0000006C 4A14 LDR R2, =0x1 ; Value 0x1 - 166 0000006E 08C0 LSRS R0, R0, #3 ; Counter - 167 00000070 led_loop - 168 00000070 D003 BEQ end_led_loop - 169 00000072 4091 LSLS R1, R2 - 170 00000074 4311 ORRS R1, R1, R2 - 171 00000076 1A80 SUBS R0, R0, R2 - 172 00000078 E7FA B led_loop - 173 0000007A end_led_loop - 174 0000007A 481E LDR R0, =ADDR_LED_31_0 - 175 0000007C 6001 STR R1, [R0] - 176 0000007E - 177 0000007E - 178 0000007E ; END: To be programmed - 179 0000007E E7C3 B main_loop - 180 00000080 + 152 0000005C ; Count 0 Bits in diff + 153 0000005C 4B2A LDR R3, =0x9 ; Count down + 154 0000005E 4C29 LDR R4, =0x0 ; Count 0 bits + 155 00000060 4D1D LDR R5, =0x01 ; Value 1 + 156 00000062 loop_count_0_bits + 157 00000062 1B5B SUBS R3, R3, R5 + 158 00000064 D003 BEQ end_loop_count_0_bits + 159 00000066 0852 LSRS R2, R2, #1 + 160 00000068 D2FB BHS loop_count_0_bits + 161 0000006A 1964 ADDS R4, R4, R5 + 162 0000006C E7F9 B loop_count_0_bits + 163 0000006E end_loop_count_0_bits + 164 0000006E + 165 0000006E ; Show 0 Bits in lcd 2nd line + 166 0000006E 4B27 LDR R3, =ADDR_LCD_ASCII_2ND_LINE + 167 00000070 4D27 LDR R5, =ASCII_DIGIT_OFFSET + 168 00000072 1964 ADDS R4, R4, R5 + 169 00000074 701C STRB R4, [R3] + 170 00000076 + 171 00000076 E7C7 B main_loop + 172 00000078 case_green + 173 00000078 ; Make LCD Display Green + 174 00000078 4B19 LDR R3, =ADDR_LCD_COLOUR + 175 0000007A 4C26 LDR R4, =DISPLAY_COLOUR_GREEN + 176 0000007C 4D1A LDR R5, =0xffff + 177 0000007E 531D STRH R5, [R3, R4] + 178 00000080 + 179 00000080 ; Show ADC Value on 7-Semgment + 180 00000080 4B1A LDR R3, =ADDR_7_SEG_BIN_DS3_0 + 181 00000082 7018 STRB R0, [R3] ARM Macro Assembler Page 5 - 181 00000080 clear_lcd_colour - 182 00000080 B407 PUSH {R0, R1, R2} - 183 00000082 4811 LDR R0, =ADDR_LCD_COLOUR - 184 00000084 4A19 LDR R2, =0x0 - 185 00000086 4919 LDR R1, =DISPLAY_COLOUR_RED - 186 00000088 5242 STRH R2, [R0, R1] - 187 0000008A 4910 LDR R1, =DISPLAY_COLOUR_BLUE - 188 0000008C 5242 STRH R2, [R0, R1] - 189 0000008E 4918 LDR R1, =DISPLAY_COLOUR_GREEN - 190 00000090 5242 STRH R2, [R0, R1] - 191 00000092 BC07 POP {R0, R1, R2} - 192 00000094 4770 BX LR - 193 00000096 - 194 00000096 clear_lcd - 195 00000096 B407 PUSH {R0, R1, R2} - 196 00000098 4A14 LDR R2, =0x0 - 197 0000009A clear_lcd_loop - 198 0000009A 4813 LDR R0, =ADDR_LCD_ASCII - 199 0000009C 1880 ADDS R0, R0, R2 ; add index to lcd + 182 00000084 + 183 00000084 491F LDR R1, =0x0 ; Register to show + on LEDs + 184 00000086 4A14 LDR R2, =0x1 ; Value 0x1 + 185 00000088 08C0 LSRS R0, R0, #3 ; Counter + 186 0000008A led_loop + 187 0000008A D003 BEQ end_led_loop + 188 0000008C 4091 LSLS R1, R2 + 189 0000008E 4311 ORRS R1, R1, R2 + 190 00000090 1A80 SUBS R0, R0, R2 + 191 00000092 E7FA B led_loop + 192 00000094 end_led_loop + 193 00000094 4820 LDR R0, =ADDR_LED_31_0 + 194 00000096 6001 STR R1, [R0] + 195 00000098 + 196 00000098 + 197 00000098 ; END: To be programmed + 198 00000098 E7B6 B main_loop + 199 0000009A + 200 0000009A clear_lcd_colour + 201 0000009A B407 PUSH {R0, R1, R2} + 202 0000009C 4810 LDR R0, =ADDR_LCD_COLOUR + 203 0000009E 4A19 LDR R2, =0x0 + 204 000000A0 4918 LDR R1, =DISPLAY_COLOUR_RED + 205 000000A2 5242 STRH R2, [R0, R1] + 206 000000A4 490F LDR R1, =DISPLAY_COLOUR_BLUE + 207 000000A6 5242 STRH R2, [R0, R1] + 208 000000A8 491A LDR R1, =DISPLAY_COLOUR_GREEN + 209 000000AA 5242 STRH R2, [R0, R1] + 210 000000AC BC07 POP {R0, R1, R2} + 211 000000AE 4770 BX LR + 212 000000B0 + 213 000000B0 clear_lcd + 214 000000B0 B407 PUSH {R0, R1, R2} + 215 000000B2 4A14 LDR R2, =0x0 + 216 000000B4 clear_lcd_loop + 217 000000B4 4812 LDR R0, =ADDR_LCD_ASCII + 218 000000B6 1880 ADDS R0, R0, R2 ; add index to lcd offset - 200 0000009E 4913 LDR R1, =ASCII_DIGIT_CLEAR - 201 000000A0 6001 STR R1, [R0] - 202 000000A2 1D12 ADDS R2, R2, #4 ; increas index by + 219 000000B8 4912 LDR R1, =ASCII_DIGIT_CLEAR + 220 000000BA 6001 STR R1, [R0] + 221 000000BC 1D12 ADDS R2, R2, #4 ; increas index by 4 (word step) - 203 000000A4 2A28 CMP R2, #LCD_LAST_OFFSET ; until in + 222 000000BE 2A28 CMP R2, #LCD_LAST_OFFSET ; until in dex reached last lc d point - 204 000000A6 D4F8 BMI clear_lcd_loop - 205 000000A8 BC07 POP {R0, R1, R2} - 206 000000AA 4770 BX LR - 207 000000AC - 208 000000AC write_bit_ascii - 209 000000AC B403 PUSH {R0, R1} - 210 000000AE 4812 LDR R0, =ADDR_LCD_ASCII_BIT_POS - 211 000000B0 4912 LDR R1, =DISPLAY_BIT - 212 000000B2 6809 LDR R1, [R1] - 213 000000B4 6001 STR R1, [R0] - 214 000000B6 BC03 POP {R0, R1} - 215 000000B8 4770 BX LR - 216 000000BA - 217 000000BA ENDP - 218 000000BA 00 00 ALIGN - 219 000000BC - 220 000000BC - 221 000000BC ; ------------------------------------------------------ + 223 000000C0 D4F8 BMI clear_lcd_loop + 224 000000C2 BC07 POP {R0, R1, R2} + 225 000000C4 4770 BX LR + 226 000000C6 + 227 000000C6 write_bit_ascii + 228 000000C6 B403 PUSH {R0, R1} + 229 000000C8 4814 LDR R0, =ADDR_LCD_ASCII_BIT_POS + 230 000000CA 4915 LDR R1, =DISPLAY_BIT + 231 000000CC 6809 LDR R1, [R1] + 232 000000CE 6001 STR R1, [R0] + 233 000000D0 BC03 POP {R0, R1} + 234 000000D2 4770 BX LR + 235 000000D4 + + + +ARM Macro Assembler Page 6 + + + 236 000000D4 ENDP + 237 000000D4 ALIGN + 238 000000D4 + 239 000000D4 + 240 000000D4 ; ------------------------------------------------------ ------------ - 222 000000BC ; End of code - 223 000000BC ; ------------------------------------------------------ + 241 000000D4 ; End of code + 242 000000D4 ; ------------------------------------------------------ ------------ - 224 000000BC END + 243 000000D4 END 60000210 00000001 60000200 @@ -323,16 +348,13 @@ ARM Macro Assembler Page 5 60000114 00000008 00000000 - - - -ARM Macro Assembler Page 6 - - 00000000 00000000 60000300 00000000 + 00000009 + 60000314 + 00000030 00000002 60000100 60000302 @@ -380,7 +402,7 @@ Symbol: DISPLAY_BIT Definitions At line 56 in file app\struct_code.s Uses - At line 211 in file app\struct_code.s + At line 230 in file app\struct_code.s Comment: DISPLAY_BIT used once myConstants 00000000 @@ -429,11 +451,11 @@ Symbol: case_blue Uses None Comment: case_blue unused -case_green 0000005E +case_green 00000078 Symbol: case_green Definitions - At line 153 in file app\struct_code.s + At line 172 in file app\struct_code.s Uses At line 92 in file app\struct_code.s Comment: case_green used once @@ -445,15 +467,15 @@ Symbol: case_red Uses At line 102 in file app\struct_code.s Comment: case_red used once -clear_lcd 00000096 +clear_lcd 000000B0 Symbol: clear_lcd Definitions - At line 194 in file app\struct_code.s + At line 213 in file app\struct_code.s Uses At line 76 in file app\struct_code.s Comment: clear_lcd used once -clear_lcd_colour 00000080 +clear_lcd_colour 0000009A Symbol: clear_lcd_colour @@ -463,17 +485,17 @@ ARM Macro Assembler Page 2 Alphabetic symbol ordering Relocatable symbols Definitions - At line 181 in file app\struct_code.s + At line 200 in file app\struct_code.s Uses At line 82 in file app\struct_code.s Comment: clear_lcd_colour used once -clear_lcd_loop 0000009A +clear_lcd_loop 000000B4 Symbol: clear_lcd_loop Definitions - At line 197 in file app\struct_code.s + At line 216 in file app\struct_code.s Uses - At line 204 in file app\struct_code.s + At line 223 in file app\struct_code.s Comment: clear_lcd_loop used once end_case 00000044 @@ -484,26 +506,49 @@ Symbol: end_case At line 125 in file app\struct_code.s At line 128 in file app\struct_code.s -end_led_loop 0000007A +end_led_loop 00000094 Symbol: end_led_loop Definitions - At line 173 in file app\struct_code.s + At line 192 in file app\struct_code.s Uses - At line 168 in file app\struct_code.s + At line 187 in file app\struct_code.s Comment: end_led_loop used once -led_loop 00000070 +end_loop_count_0_bits 0000006E + +Symbol: end_loop_count_0_bits + Definitions + At line 163 in file app\struct_code.s + Uses + At line 158 in file app\struct_code.s +Comment: end_loop_count_0_bits used once +led_loop 0000008A Symbol: led_loop Definitions - At line 167 in file app\struct_code.s + At line 186 in file app\struct_code.s Uses - At line 172 in file app\struct_code.s + At line 191 in file app\struct_code.s Comment: led_loop used once +loop_count_0_bits 00000062 + +Symbol: loop_count_0_bits + Definitions + At line 156 in file app\struct_code.s + Uses + At line 160 in file app\struct_code.s + At line 162 in file app\struct_code.s + main 00000000 Symbol: main Definitions + + + +ARM Macro Assembler Page 3 Alphabetic symbol ordering +Relocatable symbols + At line 72 in file app\struct_code.s Uses At line 73 in file app\struct_code.s @@ -515,32 +560,26 @@ Symbol: main_loop At line 78 in file app\struct_code.s Uses At line 140 in file app\struct_code.s - At line 152 in file app\struct_code.s - At line 179 in file app\struct_code.s + At line 171 in file app\struct_code.s + At line 198 in file app\struct_code.s myCode 00000000 Symbol: myCode - - - -ARM Macro Assembler Page 3 Alphabetic symbol ordering -Relocatable symbols - Definitions At line 65 in file app\struct_code.s Uses None Comment: myCode unused -write_bit_ascii 000000AC +write_bit_ascii 000000C6 Symbol: write_bit_ascii Definitions - At line 208 in file app\struct_code.s + At line 227 in file app\struct_code.s Uses At line 138 in file app\struct_code.s Comment: write_bit_ascii used once -16 symbols +18 symbols @@ -555,7 +594,7 @@ Symbol: ADDR_7_SEG_BIN_DS3_0 Uses At line 113 in file app\struct_code.s At line 149 in file app\struct_code.s - At line 161 in file app\struct_code.s + At line 180 in file app\struct_code.s ADDR_BUTTONS 60000210 @@ -580,7 +619,7 @@ Symbol: ADDR_LCD_ASCII At line 31 in file app\struct_code.s Uses At line 133 in file app\struct_code.s - At line 198 in file app\struct_code.s + At line 217 in file app\struct_code.s ADDR_LCD_ASCII_2ND_LINE 60000314 @@ -588,15 +627,15 @@ Symbol: ADDR_LCD_ASCII_2ND_LINE Definitions At line 33 in file app\struct_code.s Uses - None -Comment: ADDR_LCD_ASCII_2ND_LINE unused + At line 166 in file app\struct_code.s +Comment: ADDR_LCD_ASCII_2ND_LINE used once ADDR_LCD_ASCII_BIT_POS 60000302 Symbol: ADDR_LCD_ASCII_BIT_POS Definitions At line 32 in file app\struct_code.s Uses - At line 210 in file app\struct_code.s + At line 229 in file app\struct_code.s Comment: ADDR_LCD_ASCII_BIT_POS used once ADDR_LCD_COLOUR 60000340 @@ -612,8 +651,8 @@ Symbol: ADDR_LCD_COLOUR ARM Macro Assembler Page 2 Alphabetic symbol ordering Absolute symbols - At line 155 in file app\struct_code.s - At line 183 in file app\struct_code.s + At line 174 in file app\struct_code.s + At line 202 in file app\struct_code.s ADDR_LED_31_0 60000100 @@ -621,7 +660,7 @@ Symbol: ADDR_LED_31_0 Definitions At line 28 in file app\struct_code.s Uses - At line 174 in file app\struct_code.s + At line 193 in file app\struct_code.s Comment: ADDR_LED_31_0 used once ASCII_DIGIT_CLEAR 00000000 @@ -629,7 +668,7 @@ Symbol: ASCII_DIGIT_CLEAR Definitions At line 40 in file app\struct_code.s Uses - At line 200 in file app\struct_code.s + At line 219 in file app\struct_code.s Comment: ASCII_DIGIT_CLEAR used once ASCII_DIGIT_OFFSET 00000030 @@ -637,8 +676,8 @@ Symbol: ASCII_DIGIT_OFFSET Definitions At line 44 in file app\struct_code.s Uses - None -Comment: ASCII_DIGIT_OFFSET unused + At line 167 in file app\struct_code.s +Comment: ASCII_DIGIT_OFFSET used once DISPLAY_COLOUR_BLUE 00000004 Symbol: DISPLAY_COLOUR_BLUE @@ -646,7 +685,7 @@ Symbol: DISPLAY_COLOUR_BLUE At line 49 in file app\struct_code.s Uses At line 108 in file app\struct_code.s - At line 187 in file app\struct_code.s + At line 206 in file app\struct_code.s DISPLAY_COLOUR_GREEN 00000002 @@ -654,8 +693,8 @@ Symbol: DISPLAY_COLOUR_GREEN Definitions At line 48 in file app\struct_code.s Uses - At line 156 in file app\struct_code.s - At line 189 in file app\struct_code.s + At line 175 in file app\struct_code.s + At line 208 in file app\struct_code.s DISPLAY_COLOUR_RED 00000000 @@ -664,7 +703,7 @@ Symbol: DISPLAY_COLOUR_RED At line 47 in file app\struct_code.s Uses At line 144 in file app\struct_code.s - At line 185 in file app\struct_code.s + At line 204 in file app\struct_code.s LCD_LAST_OFFSET 00000028 @@ -678,7 +717,7 @@ ARM Macro Assembler Page 3 Alphabetic symbol ordering Absolute symbols Uses - At line 203 in file app\struct_code.s + At line 222 in file app\struct_code.s Comment: LCD_LAST_OFFSET used once 14 symbols @@ -704,4 +743,4 @@ Symbol: adc_init At line 75 in file app\struct_code.s Comment: adc_init used once 2 symbols -372 symbols in table +374 symbols in table diff --git a/project/build/struct_code.o b/project/build/struct_code.o index 044fe43035e705d71356cc611531de6d71297031..960d394089326d3dde36c22554b2e0659ddd8b3d 100644 GIT binary patch delta 977 zcmYjOKWGzS6o21+>E$k_rb!b?z9bmzVQVevDHR2aNLtCCyCAe~E-4fmp)Ch43Wa2I zaY%cE1xFVL2f^UvP$wN6s%9x&+-{8^8voGxzV9w~dGNmX`@R47Za?)Y)hS4tvU_2s zb#DOu^5FE>$*EpdAL+GtsrZ?r2s?K?Z_Jx|J-@0O%+ihLOg_4dFF7ij(zl`ss6|6- z<}Bzh4vw8EW6sntTf^*Gr)AfpxTYyg2=u4JM3vx&qPYDKd~At2 z*cWd85YqOs06Rk}K?8WX0y+S{A@C(U36R?m-5p#Az(VB*7#S*<>{j4>fK6ODiYM~+ z<`=>K6eBoq*m+r$0mQlGnLH3%_4*b}?jDspNGLyw5CWTMc@KKScOtVxkyHy5HOi-X zvf!Tf^^ik^kD~6q@!R?6gYlRj25C42=3J-W%nx9VzR3Mcs;)0tsMn)I=86=&t ezblhBDcmZFYw|$YjlKwyM2|K`{MlX%1OEXz5_{eN delta 918 zcmZ8fJ!n%=6#nkJFMl=K{In%~F(GP|^dV@WP?ZiPZAo6d>K(HH#QTtmoYOl2#9#pYNRS-SflyGQB&!Q!oaR_Qhhe zJjCGE@c8GSW7~;6v#ZI{g>M{9SThIn?!0H;&TZJPRkz(&R(St1S+QUAjKiV_(xN-J zdA^Rpwc$ZO=U(yh#Lg3YuWz}Ryey%to2eI^sp|Wv{MueguC}aS{d`5#KK3J>WMy`# zI_s3~BuF!)kzTzV=}cAAl~yM0h*~OFw1<0~m7P>2<-|5cO%ek9j9B#Vih}hWfDs1{ z*`EcD*q;M_!+#+<=^jBA%Wy{vOnZ%@-?v} z!sshD8Q(D*qWkWX`CR%d(RlM^P%t1kS_Vv=i3SC73FxBE1a+*11$H=PkP`bk$J=a_ z&=!aVADUPTvgA}BWe7BNz9l|$@KhtV#;N}5Wtz)Ge3_nXj99!Ji@+A@I#Bqu;o(?< z=T2PAM0g7hpGOJL%ffIHCPUsdNlKCk9@x;3Yz9~_ke9p=UC&>L&NQXoE7<_~Wj;FnB}z>65aNg@NjC+;at;X5K%-l0 nUiLqX$_Moo8FfQ_k29LgBaWmL;poi>Do;-b^AYrdR?Pbgdy;Pu diff --git a/project/build/strukt_code.axf b/project/build/strukt_code.axf index e31e8ccc5663b62fda659f361b13f8803a3cc5ff..b8d316be53af185a4181600ebf85b9a661aadc6c 100644 GIT binary patch delta 593 zcmXw!PiPZC6vp4|Hvc3cn>DT3X@U(2jYdtkB7z{&KSHwEO|`9}As$w&*dCNUdg}^W zb2QAwsCVr_K{j|YY4IXRg;au2dax+69(rg6X{v|#=Foxf_ulvT<_+_!C%mx5CvneO z6JYyo^07dw&a$u@T)fhSoqV^qH?^;7f%|GPGLc*7-61-#IiimkYAG?R>eN#8=hVA# z0!cP*rLtbW``lq!Q_d&d9o%bc?BX7o&HPKjF| zT}2-@DCVdhvyNWUqQzCe*shI5CT;rH9V!s>o$G5z1*I6%CT7AYit@d;^1ep2C>QLQ ztPxXA9Lsh)d@44gg?=qCPfQUVyDSZzdMJVa5o!qqBA9?DfQn+TViov+fGME2otpH< zM>@_}?00rl#T!W(6L)Ve+=Clo@bd|ee-HuspyEZ6t4V+$)RCW^Ta)d6@`{})-wDPk z9i;puC}q#er$w*V>#UU<7a|8s_^Sk$*{t?-aoon$e7A_RpL~kG4=c~?V&&i9Y3_Si z`IioS2%9A~T|Z3H&h7fQP^g0eSs-vO3{Z8ZUtSyVR3&WL>t>!**`H>LtTLsQL5?GT yum$8EtFUfN3A#(dD`n^{H*D@+Akxd(WAIR_PZ

^Zt7o*bvMck~dF7WGoEz<6QZ%L0( z=bj#Qo{qb@9#H2=hdM|DPd(IO8h8ls*4KXogH5t40)q?V0Iv7w^`h!?C4dtCY~`4X z>2`wEalV}-en8y87sTIivz_!Q^l_TlYbS)QWmG#e>=j<>B-vZMOOutput: *** Using Compiler 'V6.18', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' Rebuild target 'Target 1' +assembling struct_code.s... assembling datainit_ctboard.s... assembling startup_ctboard.s... -assembling struct_code.s... app/adc.c(39): warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] while (!ADC3->SR & 0x00000002) ; ^ ~ @@ -43,13 +43,13 @@ app/adc.c(39): note: add parentheses around left hand side expression to silence ( ) 1 warning generated. compiling adc.c... -compiling hal_fmc.c... compiling system_ctboard.c... -compiling hal_gpio.c... +compiling hal_fmc.c... compiling hal_pwr.c... +compiling hal_gpio.c... compiling hal_rcc.c... linking... -Program Size: Code=3760 RO-data=436 RW-data=0 ZI-data=8192 +Program Size: Code=3796 RO-data=436 RW-data=0 ZI-data=8192 ".\build\strukt_code.axf" - 0 Error(s), 1 Warning(s).

Software Packages used:

diff --git a/project/build/strukt_code.htm b/project/build/strukt_code.htm index 022209f..6bab857 100644 --- a/project/build/strukt_code.htm +++ b/project/build/strukt_code.htm @@ -3,7 +3,7 @@ Static Call Graph - [.\build\strukt_code.axf]

Static Call Graph for image .\build\strukt_code.axf


-

#<CALLGRAPH># ARM Linker, 6180002: Last Updated: Fri Nov 11 10:30:52 2022 +

#<CALLGRAPH># ARM Linker, 6180002: Last Updated: Fri Nov 11 11:11:10 2022

Maximum Stack Usage = 132 bytes + Unknown(Cycles, Untraceable Function Pointers)

Call chain for Maximum Stack Depth:

@@ -606,7 +606,7 @@ Global Symbols
[Called By]
  • >>   system_enter_run
-

main (Thumb, 186 bytes, Stack size 0 bytes, struct_code.o(myCode)) +

main (Thumb, 212 bytes, Stack size 0 bytes, struct_code.o(myCode))

[Stack]

  • Max Depth = 16
  • Call Chain = main ⇒ adc_init

[Calls]
  • >>   adc_get_value diff --git a/project/build/strukt_code.map b/project/build/strukt_code.map index 5d93035..25cf0eb 100644 --- a/project/build/strukt_code.map +++ b/project/build/strukt_code.map @@ -135,12 +135,12 @@ Image Symbol Table __arm_cp.3_5 0x08000f00 Number 4 hal_rcc.o(.text) __arm_cp.4_0 0x08000f54 Number 4 hal_rcc.o(.text) __arm_cp.4_1 0x08000f58 Number 4 hal_rcc.o(.text) - myCode 0x08000f5c Section 256 struct_code.o(myCode) - DISPLAY_BIT 0x0800105c Data 4 struct_code.o(myConstants) - myConstants 0x0800105c Section 8 struct_code.o(myConstants) - DISPLAY_2_BIT 0x08001060 Data 1 struct_code.o(myConstants) - DISPLAY_4_BIT 0x08001061 Data 1 struct_code.o(myConstants) - DISPLAY_8_BIT 0x08001062 Data 1 struct_code.o(myConstants) + myCode 0x08000f5c Section 292 struct_code.o(myCode) + DISPLAY_BIT 0x08001080 Data 4 struct_code.o(myConstants) + myConstants 0x08001080 Section 8 struct_code.o(myConstants) + DISPLAY_2_BIT 0x08001084 Data 1 struct_code.o(myConstants) + DISPLAY_4_BIT 0x08001085 Data 1 struct_code.o(myConstants) + DISPLAY_8_BIT 0x08001086 Data 1 struct_code.o(myConstants) STACK 0x20000000 Section 8192 startup_ctboard.o(STACK) __initial_sp 0x20002000 Data 0 startup_ctboard.o(STACK) @@ -294,8 +294,8 @@ Image Symbol Table hal_rcc_set_osc 0x08000d9d Thumb Code 108 hal_rcc.o(.text) hal_rcc_setup_pll 0x08000e11 Thumb Code 220 hal_rcc.o(.text) hal_rcc_setup_clock 0x08000f05 Thumb Code 80 hal_rcc.o(.text) - main 0x08000f5d Thumb Code 186 struct_code.o(myCode) - Image$$RO$$Limit 0x08001064 Number 0 anon$$obj.o ABSOLUTE + main 0x08000f5d Thumb Code 212 struct_code.o(myCode) + Image$$RO$$Limit 0x08001088 Number 0 anon$$obj.o ABSOLUTE Image$$RW$$Base 0x20000000 Number 0 anon$$obj.o ABSOLUTE Image$$ZI$$Base 0x20000000 Number 0 anon$$obj.o ABSOLUTE Stack_Mem 0x20000000 Data 8192 startup_ctboard.o(STACK) @@ -309,9 +309,9 @@ Memory Map of the image Image Entry point : 0x080002a1 - Load Region LR_1 (Base: 0x08000000, Size: 0x00001064, Max: 0xffffffff, ABSOLUTE) + Load Region LR_1 (Base: 0x08000000, Size: 0x00001088, Max: 0xffffffff, ABSOLUTE) - Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00001064, Max: 0xffffffff, ABSOLUTE) + Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00001088, Max: 0xffffffff, ABSOLUTE) Exec Addr Load Addr Size Type Attr Idx E Section Name Object @@ -325,16 +325,16 @@ Memory Map of the image 0x0800057c 0x0800057c 0x00000604 Code RO 42 .text hal_gpio.o 0x08000b80 0x08000b80 0x000000ac Code RO 50 .text hal_pwr.o 0x08000c2c 0x08000c2c 0x00000330 Code RO 58 .text hal_rcc.o - 0x08000f5c 0x08000f5c 0x00000100 Code RO 9 * myCode struct_code.o - 0x0800105c 0x0800105c 0x00000008 Data RO 8 myConstants struct_code.o + 0x08000f5c 0x08000f5c 0x00000124 Code RO 9 * myCode struct_code.o + 0x08001080 0x08001080 0x00000008 Data RO 8 myConstants struct_code.o - Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08001064, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE) + Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08001088, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE) **** No section assigned to this execution region **** - Execution Region ER_ZI (Exec base: 0x20000000, Load base: 0x08001064, Size: 0x00002000, Max: 0xffffffff, ABSOLUTE) + Execution Region ER_ZI (Exec base: 0x20000000, Load base: 0x08001088, Size: 0x00002000, Max: 0xffffffff, ABSOLUTE) Exec Addr Load Addr Size Type Attr Idx E Section Name Object @@ -355,11 +355,11 @@ Image component sizes 172 20 0 0 0 2135 hal_pwr.o 816 168 0 0 0 5363 hal_rcc.o 36 8 428 0 8192 832 startup_ctboard.o - 256 70 8 0 0 456 struct_code.o + 292 80 8 0 0 472 struct_code.o 354 60 0 0 0 6774 system_ctboard.o ---------------------------------------------------------------------- - 3760 504 436 0 8192 34011 Object Totals + 3796 514 436 0 8192 34027 Object Totals 0 0 0 0 0 0 (incl. Generated) 2 0 0 0 0 0 (incl. Padding) @@ -374,15 +374,15 @@ Image component sizes Code (inc. data) RO Data RW Data ZI Data Debug - 3760 504 436 0 8192 33807 Grand Totals - 3760 504 436 0 8192 33807 ELF Image Totals - 3760 504 436 0 0 0 ROM Totals + 3796 514 436 0 8192 33823 Grand Totals + 3796 514 436 0 8192 33823 ELF Image Totals + 3796 514 436 0 0 0 ROM Totals ============================================================================== - Total RO Size (Code + RO Data) 4196 ( 4.10kB) + Total RO Size (Code + RO Data) 4232 ( 4.13kB) Total RW Size (RW Data + ZI Data) 8192 ( 8.00kB) - Total ROM Size (Code + RO Data + RW Data) 4196 ( 4.10kB) + Total ROM Size (Code + RO Data + RW Data) 4232 ( 4.13kB) ============================================================================== diff --git a/project/build/strukt_code_Target 1.dep b/project/build/strukt_code_Target 1.dep index 971eb64..3af4a3a 100644 --- a/project/build/strukt_code_Target 1.dep +++ b/project/build/strukt_code_Target 1.dep @@ -3,7 +3,7 @@ CompilerVersion: 6180000::V6.18::ARMCLANG F (.\app\adc.c)(0x636DF2E9)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__EVAL -gdwarf-4 -O1 -fno-function-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I./RTE/_Target_1 -IC:/Users/roman/AppData/Local/Arm/Packs/InES/CTBoard14_DFP/4.0.2/Device/Include -IC:/Users/roman/AppData/Local/Arm/Packs/InES/CTBoard14_DFP/4.0.2/Device/Include/m0 -IC:/Users/roman/AppData/Local/Arm/Packs/InES/CTBoard14_DFP/4.0.2/HAL/Include -D__UVISION_VERSION="537" -D_RTE_ -D_RTE_ -o ./build/adc.o -MD) I (C:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include\reg_stm32f4xx.h)(0x5C597514) I (C:\Keil_v5\ARM\ARMCLANG\include\stdint.h)(0x6252B538) -F (.\app\struct_code.s)(0x636E164A)(--cpu Cortex-M0 --pd "__EVAL SETA 1" -g -I.\RTE\_Target_1 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include\m0 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\HAL\Include --pd "__UVISION_VERSION SETA 537" --pd "_RTE_ SETA 1" --pd "_RTE_ SETA 1" --list .\build\struct_code.lst --xref -o .\build\struct_code.o --depend .\build\struct_code.d) +F (.\app\struct_code.s)(0x636E1FB6)(--cpu Cortex-M0 --pd "__EVAL SETA 1" -g -I.\RTE\_Target_1 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include\m0 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\HAL\Include --pd "__UVISION_VERSION SETA 537" --pd "_RTE_ SETA 1" --pd "_RTE_ SETA 1" --list .\build\struct_code.lst --xref -o .\build\struct_code.o --depend .\build\struct_code.d) F (RTE/Device/CT_Board_HS14_M0/datainit_ctboard.s)(0x5C517478)(--cpu Cortex-M0 --pd "__EVAL SETA 1" -g -I.\RTE\_Target_1 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include\m0 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\HAL\Include --pd "__UVISION_VERSION SETA 537" --pd "_RTE_ SETA 1" --pd "_RTE_ SETA 1" --list .\build\datainit_ctboard.lst --xref -o .\build\datainit_ctboard.o --depend .\build\datainit_ctboard.d) F (RTE/Device/CT_Board_HS14_M0/startup_ctboard.s)(0x5C517478)(--cpu Cortex-M0 --pd "__EVAL SETA 1" -g -I.\RTE\_Target_1 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\Device\Include\m0 -IC:\Users\roman\AppData\Local\Arm\Packs\InES\CTBoard14_DFP\4.0.2\HAL\Include --pd "__UVISION_VERSION SETA 537" --pd "_RTE_ SETA 1" --pd "_RTE_ SETA 1" --list .\build\startup_ctboard.lst --xref -o .\build\startup_ctboard.o --depend .\build\startup_ctboard.d) F (RTE/Device/CT_Board_HS14_M0/system_ctboard.c)(0x5C597514)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__EVAL -gdwarf-4 -O1 -fno-function-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I./RTE/_Target_1 -IC:/Users/roman/AppData/Local/Arm/Packs/InES/CTBoard14_DFP/4.0.2/Device/Include -IC:/Users/roman/AppData/Local/Arm/Packs/InES/CTBoard14_DFP/4.0.2/Device/Include/m0 -IC:/Users/roman/AppData/Local/Arm/Packs/InES/CTBoard14_DFP/4.0.2/HAL/Include -D__UVISION_VERSION="537" -D_RTE_ -D_RTE_ -o ./build/system_ctboard.o -MD) diff --git a/project/strukt_code.uvguix.roman b/project/strukt_code.uvguix.roman index 1f89b57..2741916 100644 --- a/project/strukt_code.uvguix.roman +++ b/project/strukt_code.uvguix.roman @@ -1805,8 +1805,8 @@ 59392 File - 2696 - 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE8030000000000000000000000000000000000000000000000010000000100000096000000020020500000000003545354960000000000000011000354535401520561736369690A70726F6772616D6D65640F77726974655F6269745F61736369690330783004626C7565026278044C534C53024C52034245510252310373756D0366343003504144045573657304414444520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65C6030000 + 2720 + 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE80300000000000000000000000000000000000000000000000100000001000000960000000200205000000000066F666673657496000000000000001200066F66667365741241534349495F44494749545F4F4646534554000354535401520561736369690A70726F6772616D6D65640F77726974655F6269745F61736369690330783004626C7565026278044C534C53024C52034245510252310373756D0366343003504144000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000000180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65C6030000 1423 @@ -3546,8 +3546,8 @@ 59392 File - 2696 - 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE8030000000000000000000000000000000000000000000000010000000100000096000000020020500000000003545354960000000000000011000354535401520561736369690A70726F6772616D6D65640F77726974655F6269745F61736369690330783004626C7565026278044C534C53024C52034245510252310373756D0366343003504144045573657304414444520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000300150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65C6030000 + 2735 + 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE803000000000000000000000000000000000000000000000001000000010000009600000002002050000000000354535496000000000000001400066F66667365741241534349495F44494749545F4F4646534554000354535401520561736369690A70726F6772616D6D65640F77726974655F6269745F61736369690330783004626C7565026278044C534C53024C52034245510252310373756D0366343003504144045573657304414444520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000300150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000000180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65C6030000 1423 @@ -3606,9 +3606,9 @@ 0 .\app\struct_code.s - 11 - 92 - 119 + 0 + 158 + 169 1 0 @@ -3626,7 +3626,7 @@ .\app\adc.c 0 1 - 42 + 39 1 0 diff --git a/project/strukt_code.uvoptx b/project/strukt_code.uvoptx index 7a6107b..b3f067f 100644 --- a/project/strukt_code.uvoptx +++ b/project/strukt_code.uvoptx @@ -148,7 +148,24 @@ UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_2048 -FS08000000 -FL0200000 -FP0($$Device:CT_Board_HS14_M0$Flash\STM32F4xx_2048.FLM)) - + + + 0 + 0 + 169 + 1 +
    134221774
    + 0 + 0 + 0 + 0 + 0 + 1 + .\app\struct_code.s + + \\strukt_code\app/struct_code.s\169 +
    +
    0