我找了.map但是不能理解它,所以我问Cosmic支持他们回复给我:
> .text,.const和.vector是ROM
> .bsct,.ubsct,.data和.bss都是RAM
> 。信息。和.debug是不使用目标资源/内存的符号表。
我注意到我的代码大小约为3K,我只是使用STD Lib的GPIO,TIM2和UART来切换带有中断的LED。我正在编译发布代码大小优化,我没有使用断言,printfs或大的东西。哪里可以浪费这么大的尺寸?!
以上来自于谷歌翻译
以下为原文
I've look for .map but can't understand it much, so I asked Cosmic support and they reply it to me:
> .text, .const and .vector are ROM
> .bsct, .ubsct, .data and .bss are all RAM
> .info. and .debug are symbol tables that do not use target resources/memory.
I notice that my code is about 3K size, and I'm just using GPIO, TIM2 and UART from STD Lib to toggling a LED with interrupts. I'm compile for release with code size optimization, i'm not using asserts, printfs or something big. where can it be wasting so much size?!
我找了.map但是不能理解它,所以我问Cosmic支持他们回复给我:
> .text,.const和.vector是ROM
> .bsct,.ubsct,.data和.bss都是RAM
> 。信息。和.debug是不使用目标资源/内存的符号表。
我注意到我的代码大小约为3K,我只是使用STD Lib的GPIO,TIM2和UART来切换带有中断的LED。我正在编译发布代码大小优化,我没有使用断言,printfs或大的东西。哪里可以浪费这么大的尺寸?!
以上来自于谷歌翻译
以下为原文
I've look for .map but can't understand it much, so I asked Cosmic support and they reply it to me:
> .text, .const and .vector are ROM
> .bsct, .ubsct, .data and .bss are all RAM
> .info. and .debug are symbol tables that do not use target resources/memory.
I notice that my code is about 3K size, and I'm just using GPIO, TIM2 and UART from STD Lib to toggling a LED with interrupts. I'm compile for release with code size optimization, i'm not using asserts, printfs or something big. where can it be wasting so much size?!
举报