avr:atmega328bb 没有定义 'build.board' 首选项。自动设置为:AVR_ATMEGA328BB arduino 引导加载错误

avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB error in arduino bootloading

我正在使用 arduino uno 来引导加载 atmega-328p。我已正确完成所有连接,如 arduino.cc 站点所示。但是随后警告给arduino ide that

board avr:atmega328bb 没有定义 'build.board' 首选项。自动设置为:AVR_ATMEGA328BB

我已将 ide 的 preferrence.txt 更改为 build.board = AVR_ATMEGA328BB

之后也显示错误。我在 windows 上使用 arduino ide。 我做错了什么?

实际上是IC底座连接有问题。 atmega328p 引脚连接松动导致引导加载程序无法识别板。从而给出错误。正确的 ic 连接解决了问题。