Adafruit bootloader, boards.txt problems

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
gsila
 
Posts: 1
Joined: Sat Aug 25, 2012 4:14 am

Adafruit bootloader, boards.txt problems

Post by gsila »

Hello guys

I recently upgradet my arduino IDE to 1.0.1. and i can't get IDE to work properly. I have arduino Nano with adafruit bootloader and i always get this error.
Code:

In file included from sketch_aug24a.cpp:3:
C:\Users\Grega\Desktop\arduino-1.0.1\hardware\arduino\cores\arduino/Arduino.h:213:26: error: pins_arduino.h: No such file or directory


This is what i added to Boards.TXT
Code:

##############################################################

atmega328ADA.name=Arduino Duemilanove or Nano ATmega328 w/Adafruit bootloader

atmega328ADA.upload.protocol=stk500
atmega328ADA.upload.maximum_size=30720
atmega328ADA.upload.speed=19200

atmega328ADA.bootloader.low_fuses=0xFF
atmega328ADA.bootloader.high_fuses=0xDA
atmega328ADA.bootloader.extended_fuses=0x05
atmega328ADA.bootloader.path=atmega
atmega328ADA.bootloader.file=ATmegaBOOT_xx8_adaboot328.hex
atmega328ADA.bootloader.unlock_bits=0x3F
atmega328ADA.bootloader.lock_bits=0x0F

atmega328ADA.build.mcu=atmega328p
atmega328ADA.build.f_cpu=16000000L
atmega328ADA.build.core=arduino

##############################################################


I copied all files from adafruit zip to bootloaders directory


does anyone know what im doing wrong ?

Wody
 
Posts: 66
Joined: Thu Jul 12, 2012 5:19 pm

Re: Adafruit bootloader, boards.txt problems

Post by Wody »

Hey,

You're missing a line:

atmega328ADA.build.variant=eightanaloginputs

It's probably because you just copied the entry from the zip, instead of copying the entry for the Arduino Nano in the 1.01 boards.txt and changing that.

The .zip seems for older versions of the IDE, I do not know if that means the bootloader is better or not than the one included with the IDE though.
I also am not sure if that is the right variant, or if you need to useone of the other options. But a line like that is missing, that's for sure!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”