打印
[Atmel]

每天跟我读点资料:ASF用户指南(八)

[复制链接]
1013|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ddllxxrr|  楼主 | 2014-7-31 18:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
IO, vr, AVR, GPIO, gp
本帖最后由 ddllxxrr 于 2014-7-31 22:37 编辑

6.5 建立工程
    建立一个应用,简单地进入应用工程文件夹(/gcc folder)并且键入make.
    例如:AT32UC3A0512 GPIO 接口总线例子在Atmel EVK1100开发板上,键入make在avr32/drivers/gpio/peripheral_bus_example/at32uc3a0512_evk1100/gcc文件夹下:
    将有如下结果:
    $ make
MKDIR avr32/drivers/intc/
CC avr32/drivers/intc/intc.o
MKDIR avr32/drivers/gpio/
CC avr32/drivers/gpio/gpio.o
MKDIR avr32/drivers/gpio/peripheral_bus_example/
CC avr32/drivers/gpio/peripheral_bus_example/gpio_periphe
MKDIR avr32/utils/startup/
AS avr32/utils/startup/startup_uc3.o
AS avr32/utils/startup/trampoline_uc3.o
AS avr32/drivers/intc/exception.o
LN avr32_drivers_gpio_peripheral_bus_example_evk1100.elf
SIZE avr32_drivers_gpio_peripheral_bus_example_evk1100.elf
avr32_drivers_gpio_peripheral_bus_example_evk1100.elf :
section size addr
.reset 0x2004 0x80000000
.text 0x134 0x80002004
.exception 0x200 0x80002200
.rodata 0xa0 0x80002400
.dalign 0x4 0x4
.bss 0xf0 0x8
.heap 0xef08 0xf8
.comment 0x30 0x0
.debug_aranges 0x158 0x0
.debug_pubnames 0x3ad 0x0
.debug_info 0x11ca 0x0
.debug_abbrev 0x554 0x0
.debug_line 0x1b6f 0x0
.debug_frame 0x294 0x0
.debug_loc 0x408 0x0
.debug_macinfo 0x2b7053 0x0
.stack 0x1000 0xf000
.debug_ranges 0x170 0x0
Total 0x2cdce5
text data bss dec hex filename
0x23d8 0x0 0xfffc 74708 123d4 avr32_drivers_gpio_per
e_evk1100.elf
OBJDUMP avr32_drivers_gpio_peripheral_bus_example_evk1100.lss
NM avr32_drivers_gpio_peripheral_bus_example_evk1100.sym
OBJCOPY avr32_drivers_gpio_peripheral_bus_example_evk1100.hex
OBJCOPY avr32_drivers_gpio_peripheral_bus_example_evk1100.bin
The result of the build is located in the same folder as the makefile location:
• Elf file (.elf)
• Listing file (.lss)
• Symbol file (.sym)
• Hex file (.hex)
• Binary file (.bin)

相关帖子

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

本版积分规则

个人签名:http://shop34182318.taobao.com/ http://shop562064536.taobao.com

2398

主题

6950

帖子

67

粉丝