完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
平台和工具
sudo dnf install avr-gccsudo dnf install avrdudeavr-gcc编译 #编译hello.c生成hello.elfavr-gcc -std=c11 -mmcu=atmega328p hello.c -o hello.elf#从hello.elf中提取段,生成hello.hexavr-objcopy -j .text -j .data -O ihex hello.elf hello.hexavrdude烧录 #烧录hello.hexsudo avrdude -c arduino -p m328p -P /dev/ttyACM0 -U flash:w:hello.hex |
|
|
|
|
只有小组成员才能发言,加入小组>>
3037 浏览 0 评论
800浏览 1评论
1048浏览 0评论
823浏览 0评论
1005浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 20:57 , Processed in 0.599179 second(s), Total 74, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2138
