xilinx sdk ram/rom佔用說明

Invoking: ARM v7 Print Size
arm-none-eabi-size print_zynq_tcp.elf  |tee "print_zynq_tcp.elf.size"
   text       data        bss        dec        hex    filename
 197112       4460    2218336    2419908     24ecc4    print_zynq_tcp.elf
Finished building: print_zynq_tcp.elf.size

編譯後得到上述結果。

text : flash佔用

data:  變量佔用,初始化過的ram,會佔flash空間。 int a = 0;

bss:  變量佔用,沒有初始化過的ram                           int a;

dec:  上面的總和。   dec = text + data + bss;


 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章