1.6.3 board file problem related to clock speed

I am building an arduino using atmega382p and want to use the internal clock. here is my board file. Tested with a led blink sketch. the LED is blinking very slowly. 2-3 second instead of 1 second. what is wrong here.

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

atmega328bb.name=ATmega328 (8 MHz internal clock)

atmega328bb.upload.tool=avrdude
atmega328bb.upload.protocol=arduino
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=19200

atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=800000L
atmega328bb.build.board=AVR_NG
atmega328bb.build.core=arduino
atmega328bb.build.variant=standard

post your code.

AMPS-N: post your code.

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

When you say "the LED is blinking very slowly. 2-3 second instead of 1 second" do you mean "a full on/off cycles every two seconds" which is how you wrote the code or "two to three seconds ON and two to three seconds OFF" which would be a problem.

Your fuses seemed to be set to 8MHz but then below you have "atmega328bb.build.f_cpu=800000L" that's 800kHz.

johnwasser: When you say "the LED is blinking very slowly. 2-3 second instead of 1 second" do you mean "a full on/off cycles every two seconds" which is how you wrote the code or "two to three seconds ON and two to three seconds OFF" which would be a problem.

2-3 second for it to turn on, and 2-3 second for it to turn off. the time is wrong. 4-6 second for a cycle.

kallek:
Your fuses seemed to be set to 8MHz but then below you have “atmega328bb.build.f_cpu=800000L” that’s 800kHz.

i know. I tried to compensate the timing by using 800khz. I have tried 8,000,000 already. the clock is wrong in either case.