[AVR单片机] 为什么我装了WINAVR还是不能编译C程序

[复制链接]
2327|2
 楼主| 01dxwlm 发表于 2008-6-5 10:05 | 显示全部楼层 |阅读模式
刚刚接触AVR,不知道怎么编译C程序,指点下了
 楼主| 01dxwlm 发表于 2008-6-6 09:19 | 显示全部楼层

怎么不提示FLASH和RAM使用情况啊?

谢谢楼上的指点,现在可以编译C了.
Build started 6.6.2008 at 09:12:02
avr-gcc  -mmcu=atmega128 -Wall -gdwarf-2 -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wp,-M,-MP,-MT,test0.o,-MF,dep/test0.o.d  -c   ../test0.c -o test0.o
avr-gcc -mmcu=atmega128  test0.o    -o test0.elf
avr-objcopy -O ihex -R .eeprom  test0.elf test0.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex test0.elf test0.eep
Build succeeded with 0 Warnings...

楼上的再指点下.
微控电子 发表于 2008-6-6 21:16 | 显示全部楼层

默认设置就有这些信息的

编译正确完成后就有这些信息的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

121

主题

592

帖子

2

粉丝
快速回复 在线客服 返回列表 返回顶部