新手入门
积分 6
金钱 6
注册时间 2020-5-8
在线时间 3 小时
20 金钱
以下是我的map文件,哪位大哥给分析一下看看到底是哪里占用了那么大空间,我感觉还没开始写应用就100多K了。FatFs这么耗ROM吗?Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
460 0 0 0 0 0 at24xx.o
462 8 0 0 0 0 circlebuffer.o
432 36 0 4 6328 0 cmsis_os2.o
4850 1346 549 40 268 0 commtask.o
3620 1176 148 24 738 0 consoletask.o
204 18 0 6 0 0 delay.o
270 4 0 0 0 0 diskio.o
1196 436 0 4 0 0 fatexfuns.o
18720 218 88 6 0 0 ff.o
28 0 0 0 0 0 ffsystem.o
396 28 690 0 0 0 ffunicode.o
596 42 0 8 116 0 fmc.o
112 22 48 4 0 0 freertos.o
2728 458 0 4 0 0 ftl.o
360 22 0 0 0 0 gpio.o
724 74 0 32 30720 0 heap_4.o
4720 1662 0 320 4880 0 historylog.o
714 42 0 0 0 0 i2c_gpio.o
152 0 0 0 0 0 linebuffer.o
148 0 0 0 0 0 list.o
780 36 0 4 0 0 main.o
80 18 45 19 0 0 maintask.o
348 34 0 20 33423360 0 malloc.o
148 0 0 0 0 0 mpu.o
2866 158 0 0 156 0 nand.o
748 58 0 8 512 0 para.o
1014 92 0 12 0 0 port.o
324 26 0 0 76 0 quadspi.o
2962 26 0 0 64 0 queue.o
1048 50 0 0 36 0 rtc.o
210 8 0 0 0 0 sdram.o
312 28 0 0 136 0 spi.o
64 26 664 0 1536 0 startup_stm32h743xx.o
184 38 0 9 0 0 stm32h7xx_hal.o
1464 354 0 0 0 0 stm32h7xx_hal_cortex.o
2164 34 0 0 0 0 stm32h7xx_hal_dma.o
1176 238 0 0 0 0 stm32h7xx_hal_gpio.o
48 6 0 0 0 0 stm32h7xx_hal_msp.o
100 6 0 0 0 0 stm32h7xx_hal_nand.o
20 6 0 0 0 0 stm32h7xx_hal_pwr.o
176 66 0 0 0 0 stm32h7xx_hal_pwr_ex.o
556 72 0 0 0 0 stm32h7xx_hal_qspi.o
5136 236 0 0 0 0 stm32h7xx_hal_rcc.o
7038 482 0 0 0 0 stm32h7xx_hal_rcc_ex.o
2080 320 0 0 0 0 stm32h7xx_hal_rtc.o
200 122 0 0 0 0 stm32h7xx_hal_rtc_ex.o
212 4 0 0 0 0 stm32h7xx_hal_sdram.o
1186 82 0 0 0 0 stm32h7xx_hal_spi.o
1526 254 0 0 0 0 stm32h7xx_hal_tim.o
6 0 0 0 0 0 stm32h7xx_hal_tim_ex.o
148 20 0 0 76 0 stm32h7xx_hal_timebase_tim.o
7406 464 24 0 0 0 stm32h7xx_hal_uart.o
958 290 16 0 0 0 stm32h7xx_hal_uart_ex.o
70 18 0 0 0 0 stm32h7xx_it.o
1960 434 0 0 0 0 stm32h7xx_ll_fmc.o
252 40 16 8 0 0 system_stm32h7xx.o
3212 380 0 60 1220 0 tasks.o
1318 124 0 20 280 0 timers.o
340 12 1024 0 0 0 toolkit.o
1514 34 0 1 32 0 uartmanage.o
2576 180 0 0 1036 0 usart.o
1000 154 0 4 1036 0 userdebug.o
----------------------------------------------------------------------
95908 10622 3350 628 33472612 0 Object Totals
0 0 32 0 0 0 (incl. Generated)
86 0 6 11 6 0 (incl. Padding)
----------------------------------------------------------------------
Code (inc. data) RO Data RW Data ZI Data Debug Library Member Name
56 6 0 0 0 0 __2snprintf.o
44 6 0 0 0 0 __2sprintf.o
90 0 0 0 0 0 __dczerorl2.o
8 0 0 0 0 0 __main.o
392 4 17 0 0 0 __printf_flags_ss_wp.o
14 0 0 0 0 0 __printf_wp.o
0 0 0 0 0 0 __rtentry.o
12 0 0 0 0 0 __rtentry2.o
6 0 0 0 0 0 __rtentry4.o
52 8 0 0 0 0 __scatter.o
28 0 0 0 0 0 __scatter_zi.o
28 0 0 0 0 0 _chval.o
6 0 0 0 0 0 _printf_a.o
6 0 0 0 0 0 _printf_c.o
44 0 0 0 0 0 _printf_char.o
48 6 0 0 0 0 _printf_char_common.o
40 0 0 0 0 0 _printf_charcount.o
6 0 0 0 0 0 _printf_d.o
120 16 0 0 0 0 _printf_dec.o
6 0 0 0 0 0 _printf_e.o
6 0 0 0 0 0 _printf_f.o
1054 0 0 0 0 0 _printf_fp_dec.o
764 8 38 0 0 0 _printf_fp_hex.o
128 16 0 0 0 0 _printf_fp_infnan.o
6 0 0 0 0 0 _printf_g.o
148 4 40 0 0 0 _printf_hex_int_ll_ptr.o
6 0 0 0 0 0 _printf_i.o
178 0 0 0 0 0 _printf_intcommon.o
10 0 0 0 0 0 _printf_l.o
6 0 0 0 0 0 _printf_lc.o
10 0 0 0 0 0 _printf_ll.o
6 0 0 0 0 0 _printf_lld.o
6 0 0 0 0 0 _printf_lli.o
6 0 0 0 0 0 _printf_llo.o
6 0 0 0 0 0 _printf_llu.o
6 0 0 0 0 0 _printf_llx.o
124 16 0 0 0 0 _printf_longlong_dec.o
6 0 0 0 0 0 _printf_ls.o
6 0 0 0 0 0 _printf_n.o
6 0 0 0 0 0 _printf_o.o
112 10 0 0 0 0 _printf_oct_int_ll.o
6 0 0 0 0 0 _printf_p.o
78 0 0 0 0 0 _printf_pad.o
0 0 0 0 0 0 _printf_percent.o
4 0 0 0 0 0 _printf_percent_end.o
6 0 0 0 0 0 _printf_s.o
82 0 0 0 0 0 _printf_str.o
36 0 0 0 0 0 _printf_truncate.o
6 0 0 0 0 0 _printf_u.o
44 0 0 0 0 0 _printf_wchar.o
188 6 8 0 0 0 _printf_wctomb.o
6 0 0 0 0 0 _printf_x.o
16 0 0 0 0 0 _snputc.o
10 0 0 0 0 0 _sputc.o
158 0 0 0 0 0 _strtoul.o
64 0 0 0 0 0 _wcrtomb.o
16 0 0 0 0 0 aeabi_memset.o
26 0 0 0 0 0 atoi.o
228 4 148 0 0 0 bigflt0.o
1936 128 0 0 0 0 btod.o
18 0 0 0 0 0 exit.o
6 0 0 0 0 0 heapauxi.o
0 0 0 0 0 0 indicate_semi.o
44 10 272 0 0 0 lc_ctype_c.o
44 10 28 0 0 0 lc_numeric_c.o
2 0 0 0 0 0 libinit.o
34 0 0 0 0 0 libinit2.o
2 0 0 0 0 0 libshutdown.o
2 0 0 0 0 0 libshutdown2.o
8 4 0 0 96 0 libspace.o
138 0 0 0 0 0 lludiv10.o
238 0 0 0 0 0 lludivv7m.o
88 0 0 0 0 0 memcmp.o
612 0 0 0 0 0 qsortnoex.o
16 4 0 0 0 0 rt_ctype_table.o
8 4 0 0 0 0 rt_errno_addr_intlibspace.o
8 4 0 0 0 0 rt_locale_intlibspace.o
68 0 0 0 0 0 rt_memclr.o
78 0 0 0 0 0 rt_memclr_w.o
138 0 0 0 0 0 rt_memcpy_v6.o
100 0 0 0 0 0 rt_memcpy_w.o
2 0 0 0 0 0 rtexit.o
10 0 0 0 0 0 rtexit2.o
20 0 0 0 0 0 strchr.o
104 0 0 0 0 0 strcmpv7m_pel.o
72 0 0 0 0 0 strcpy.o
32 0 0 0 0 0 strcspn.o
62 0 0 0 0 0 strlen.o
150 0 0 0 0 0 strncmp.o
86 0 0 0 0 0 strncpy.o
28 0 0 0 0 0 strspn.o
12 6 0 4 0 0 strtok.o
68 4 0 0 0 0 strtok_int.o
112 0 0 0 0 0 strtol.o
12 4 0 0 0 0 sys_exit.o
74 0 0 0 0 0 sys_stackheap_outer.o
2 0 0 0 0 0 use_no_semi.o
52 4 0 0 0 0 vsnprintf.o
10 0 0 0 0 0 fpinit.o
4 0 0 0 0 0 printf1.o
4 0 0 0 0 0 printf2.o
0 0 0 0 0 0 usenofp.o
48 0 0 0 0 0 fpclassify.o
----------------------------------------------------------------------
9152 292 554 4 100 0 Library Totals
20 0 3 0 4 0 (incl. Padding)
----------------------------------------------------------------------
Code (inc. data) RO Data RW Data ZI Data Debug Library Name
9066 292 551 4 96 0 c_w.l
18 0 0 0 0 0 fz_wv.l
48 0 0 0 0 0 m_wv.l
----------------------------------------------------------------------
9152 292 554 4 100 0 Library Totals
----------------------------------------------------------------------
==============================================================================
Code (inc. data) RO Data RW Data ZI Data Debug
105060 10914 3904 632 33472712 0 Grand Totals
105060 10914 3904 116 33472712 0 ELF Image Totals (compressed)
105060 10914 3904 116 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 108964 ( 106.41kB)
Total RW Size (RW Data + ZI Data) 33473344 (32688.81kB)
Total ROM Size (Code + RO Data + RW Data) 109080 ( 106.52kB)
==============================================================================
我临时把fatfs中的字库都删了。还是这么大。为什么啊?
我来回答