玩arduino第一次烧录就出现这样 求助大佬指点
Arduino:1.8.17 Hourly Build 2021/09/06 02:33 (Windows 10), 开发板:"Arduino Nano, ATmega328P"
In function 'setAngle',
inlined from 'loop.part.1' at G:\A毕业论文\单片机\V21.9.30\V21.9.30.ino:592:13,
inlined from 'loop',
inlined from 'main' at H:\arduino\arduino-nightly-windows\arduino-nightly\hardware\arduino\avr\cores\arduino\main.cpp:46:7:
G:\A毕业论文\单片机\V21.9.30\V21.9.30.ino:485:10: warning: '__builtin_strcpy' writing 17 bytes into a region of size 15 overflows the destination [-Wstringop-overflow=]
项目使用了 23872 字节,占用了 (77%) 程序存储空间。最大为 30720 字节。
全局变量使用了755字节,(36%)的动态内存,余留1293字节局部变量。最大为2048字节。
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x8a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x8a
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|