-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNucleo.sta
170 lines (159 loc) · 6.62 KB
/
Nucleo.sta
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
ROM used: 8398 (26%)
8398 (26%) including unused fragments
1 Average locations per line
6 Average locations per statement
RAM used: 356 (17%) at main() level
463 (23%) worst case
Stack used: 18 worst case (out of 31 total available)
Lines Stmts % Files
----- ----- --- -----
63 41 3 Nucleo.c
63 41 3 comunicacion.c
82 0 0 Nucleo.h
457 0 0 I:\Archivos de programa\PICC\Devices\18F4550.h
37 0 0 I:\Archivos de programa\PICC\Drivers\stdio.h
409 0 0 I:\Archivos de programa\PICC\Drivers\string.h
28 0 0 I:\Archivos de programa\PICC\Drivers\stddef.h
28 99 7 I:\Archivos de programa\PICC\Drivers\ctype.h
1273 359 24 I:\Archivos de programa\PICC\Drivers\stdlib.h
30 0 0 comunicacion.h
298 0 0 usb_desc_cdc.h
1063 0 0 I:\Archivos de programa\PICC\Drivers\usb.h
582 137 9 I:\Archivos de programa\PICC\Drivers\usb_cdc.h
222 0 0 I:\Archivos de programa\PICC\Drivers\pic18_usb.h
328 0 0 I:\Archivos de programa\PICC\Drivers\usb_hw_layer.h
279 0 0 I:\Archivos de programa\PICC\Drivers\usb_desc_cdc.h
808 237 16 I:\Archivos de programa\PICC\Drivers\usb.c
1281 320 22 I:\Archivos de programa\PICC\Drivers\pic18_usb.c
423 195 13 memoria.c
65 0 0 memoria.h
128 52 4 test.c
----- -----
7947 1481 Total
Page ROM % RAM Vol Diff Functions:
---- --- --- --- --- ---- ----------
0 40 0 1 @delay_ms1
0 28 0 1 @delay_us1
0 32 0 0 143 3.1 @const407
0 32 0 0 60 1.4 @const409
0 48 0 0 72 2.4 @const411
0 48 0 0 @const413
0 84 1 0 1892 7.6 @const415
0 18 0 0 @const417
0 32 0 0 @const1507
0 34 0 0 160 2.1 @const423
0 68 0 0 395 5.3 @const426
0 68 0 3 133 4.3 usb_tbe
0 34 0 1 134 2.5 usb_detach
0 34 0 0 136 2.2 usb_attach
0 6 0 0 16 1.0 usb_init_cs
0 48 0 1 359 4.6 usb_task
0 220 1 7 1083 5.4 usb_flush_in
0 146 1 10 320 5.5 usb_put_packet
0 192 1 7 899 4.9 usb_flush_out
0 50 0 3 61 2.6 usb_rx_packet_size
0 74 0 4 251 4.6 usb_stall_ep
0 72 0 4 258 4.6 usb_unstall_ep
0 90 1 5 360 5.8 usb_endpoint_stalled
0 26 0 1 88 2.7 usb_set_address
0 416 2 10 1722 9.8 usb_set_configured
0 84 1 3 192 3.2 usb_disable_endpoint
0 30 0 1 93 2.9 usb_disable_endpoints
0 4 0 0 39 2.0 usb_clear_trn
0 136 1 2 638 6.6 usb_isr
0 6 0 0 43 2.0 usb_isr_sof
0 42 0 0 357 4.2 usb_isr_rst
0 32 0 0 508 4.0 usb_init_ep0_setup
0 8 0 0 74 2.8 usb_isr_uerr
0 10 0 0 82 2.8 usb_isr_uidle
0 16 0 0 102 3.3 usb_isr_activity
0 14 0 0 151 3.9 usb_isr_stall
0 6 0 1 30 1.7 usb_request_send_response
0 6 0 0 22 1.2 usb_request_get_data
0 6 0 0 22 1.2 usb_request_stall
0 378 2 5 2031 7.9 usb_isr_tok_dne
0 6 0 0 29 1.9 usb_enumerated
0 44 0 3 248 4.0 usb_token_reset
0 80 0 3 267 5.9 usb_endpoint_is_valid
0 50 0 1 204 3.1 usb_isr_tok_in_dne
0 30 0 1 108 2.5 usb_isr_tok_out_dne
0 52 0 0 336 5.5 usb_isr_tok_setup_dne
0 184 1 0 1454 8.3 usb_isr_tkn_setup_StandardDevice
0 158 1 3 930 7.7 usb_isr_tkn_setup_StandardInterface
0 106 1 0 753 5.8 usb_isr_tkn_setup_StandardEndpoint
0 154 1 0 1088 8.7 usb_Get_Descriptor
0 14 0 0 76 1.8 usb_finish_set_address
0 118 1 4 591 8.6 usb_copy_desc_seg_to_ep
0 112 1 0 477 6.1 usb_isr_tok_out_cdc_control_dne
0 176 1 0 1121 8.3 usb_isr_tkn_cdc
0 28 0 0 174 3.6 usb_isr_tok_out_cdc_data_dne
0 10 0 0 30 1.5 usb_isr_tok_in_cdc_data_dne
0 34 0 0 86 2.1 usb_cdc_flush_out_buffer
0 34 0 0 255 2.3 usb_cdc_init
0 16 0 0 59 2.3 usb_cdc_get_discard
0 56 0 2 216 5.7 usb_cdc_getc
0 48 0 4 220 4.5 _usb_cdc_putc_fast_noflush
0 48 0 1 63 1.6 usb_cdc_putc_fast
0 56 0 1 115 3.3 usb_cdc_putc
0 42 0 0 154 2.9 COM_init
0 36 0 0 124 2.7 COM_sense
0 8 0 0 143 3.1 @PUTCHARI_BIU_2
0 58 0 3 60 1.4 @GETCH_BIU_2
0 30 0 1 72 2.4 update_proceso
0 8 0 0 @const1094
0 30 0 3 1892 7.6 @PSTRINGCN_356
0 40 0 3 @DIV88
0 200 1 6 @PRINTF_D_356
0 54 0 1 160 2.1 MEMORIA_reset
0 70 0 1 395 5.3 MEMORIA_init_hw
0 66 0 0 280 4.4 MEMORIA_init
0 128 1 0 370 3.1 MEMORIA_getinfo
0 26 0 0 @const1104
0 62 0 2 @PRINTF_X_356
0 94 1 3 421 5.8 MEMORIA_open
0 106 1 0 406 6.3 MEMORIA_cancel
0 198 1 2 1018 9.7 MEMORIA_write
0 160 1 4 558 8.7 MEMORIA_set_data
0 296 2 7 1219 9.1 MEMORIA_read
0 16 0 0 @const1113
0 168 1 5 624 9.0 MEMORIA_get_data
0 54 0 2 176 2.4 MEMORIA_close
0 18 0 0 204 4.0 @const1115
0 56 0 1 125 1.9 MEMORIA_putc
0 102 1 2 370 5.1 MEMORIA_getc
0 124 1 10 318 6.5 strncpy
0 50 0 5 129 4.6 strlen
0 30 0 1 143 3.1 _debug_usb
0 28 0 1 60 1.4 test_comunicacion
0 14 0 0 @const1483
0 34 0 2 @PSTRINGC_359
0 552 3 59 1892 7.6 test_memoria
0 26 0 0 @MEMSET
0 8 0 0 @const1498
0 10 0 0 @const1507
0 32 0 3 @PSTRINGCN_359
0 104 1 2 @PRINTF_U_359
0 172 1 13 @DIV3232
0 178 1 12 @PRINTF_L32U_356
0 40 0 2 @PSTRINGR_356
0 18 0 0 @const1521
0 36 0 2 @PSTRINGC_356
0 98 1 0 547 3.4 setup_devices
0 216 1 2 204 4.0 MAIN
Program metrics:
Functions 85
Statements 1481
Comments 175
Volume (V) 67827
Difficilty (D) 374.4
Effort to implement (E) 25392880
Time to implement (T) 391 hours, 52 minutes
Est Delivered Bugs (B) 29
Cyclomatic Complexity 206
Maintainability (MI) 129
Segment Used Free
----------- ---- ----
00000-00002 4 0
00004-00006 4 0
00008-000AC 166 0
000AE-07FFE 8224 24370