打印
[文档下载]

在KEIL中印出BIN檔的大小

[复制链接]
1224|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
a_ziliu|  楼主 | 2017-8-29 11:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
利用批次檔的作法,把BUILD出來的BIN檔大小,打印在KEIL的輸出視窗。
Setup keil compare size.zip (423.84 KB)
沙发
mintspring| | 2017-8-29 19:39 | 只看该作者
没懂是什么意思,Keil输出的时候下面消息窗口不是打印的有相关内容吗

使用特权

评论回复
板凳
gujiamao12345| | 2017-8-29 19:58 | 只看该作者

你指的是Code=76062 RO-data=7438 RW-data=1176 ZI-data=6248

mintspring 发表于 2017-8-29 19:39
没懂是什么意思,Keil输出的时候下面消息窗口不是打印的有相关内容吗

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'rtthread-stm32'
compiling application.c...
compiling startup.c...
compiling canapp.c...
compiling board.c...
compiling stm32f10x_it.c...
compiling led.c...
compiling usart.c...
compiling gpio.c...
compiling bxcan.c...
compiling system_stm32f10x.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_wwdg.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_adc.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_can.c...
compiling stm32f10x_cec.c...
compiling misc.c...
assembling startup_stm32f10x_hd.s...
compiling clock.c...
compiling components.c...
compiling device.c...
compiling idle.c...
compiling ipc.c...
compiling irq.c...
compiling kservice.c...
compiling mem.c...
compiling mempool.c...
compiling object.c...
compiling scheduler.c...
compiling thread.c...
compiling timer.c...
compiling cpuport.c...
assembling context_rvds.S...
compiling backtrace.c...
compiling div0.c...
compiling showmem.c...
compiling can.c...
compiling pin.c...
compiling serial.c...
compiling completion.c...
compiling dataqueue.c...
compiling pipe.c...
compiling portal.c...
compiling ringbuffer.c...
compiling workqueue.c...
compiling shell.c...
compiling symbol.c...
compiling cmd.c...
compiling finsh_compiler.c...
compiling finsh_error.c...
compiling finsh_heap.c...
compiling finsh_init.c...
compiling finsh_node.c...
compiling finsh_ops.c...
compiling finsh_parser.c...
compiling finsh_var.c...
compiling finsh_vm.c...
compiling finsh_token.c...
linking...
Program Size: Code=76062 RO-data=7438 RW-data=1176 ZI-data=6248  
After Build - User command #1: fromelf --bin .\build\rtthread-stm32.axf --output rtthread.bin
After Build - User command #2: F:\code\bsp\stm32f10x\test.bat
File is >= 12000 bytes
File  83812 bytes
".\build\rtthread-stm32.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed:  00:00:30

使用特权

评论回复
地板
gujiamao12345| | 2017-8-29 20:00 | 只看该作者
多谢,话说bat你是参考哪里的?

使用特权

评论回复
5
mintspring| | 2017-8-29 21:44 | 只看该作者
噢,明白了,多谢楼主。

使用特权

评论回复
6
xinpian101| | 2017-8-29 22:00 | 只看该作者
瞧瞧怎么做的。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

100

主题

295

帖子

6

粉丝