Adafruit bootloader, boards.txt problems

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.

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

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

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 ?

Same problem here.
The boards.txt file has been taken from here

Copyed pins_ardino.h file from \Arduino\arduino-1.0.1\hardware\arduino\variants\standard to D:\Arduino\arduino-1.0.1\hardware\arduino\cores\arduino and problem has gone.
But I think Arduino team should patch this anyway.

You think the Arduino team should provide a patch for a third party's bootloader? Isn't that up to the third party?

Is this third party?

Sorry, no, that one isn't. I thought you were referring to the OP's Adafruit bootloader.

As I see Adafruit's bootloader file is the same.
Problem isn't in bootloader, problem is in Arduino.h file, there is statement

#include "pins_arduino.h"

that instructs compiler to load the library from local folder, but there is no such file in the same folder.

The breadboard.zip file from the tutorial in http://arduino.cc/en/Tutorial/ArduinoToBreadboard contains only the file boards.txt in the subfolder breadboard.

This file is missing a line at the end to indicate the board variant:

atmega328bb.build.variant=standard

The subfolder must also contain the standard variant with the corresponding pins_arduino.h file.

So, follow the instructions in the tutorial to open your sketchbook folder and create the subfolder *\hardware\breadboard* containing the file boards.txt.
Then edit the file boards.txt to add the missing line.
Then create a subfolder *\variants\standard*, and copy the file pins_arduino.h from the folder *hardware\arduino\variants\standard* in your Arduino IDE installation.
In Ubuntu 12.10 this is *\usr\share\arduino* when the Arduino IDE is installed using the Ubuntu Software Center.

This will make the compilation work also for gnoduido.