Go Down

Topic: "pins_arduino.h: no such file or directory", but it's there? (Read 2572 times) previous topic - next topic

MR_NINJA

Hi, so, I'm fairly new to Arduino (but I've gobbled up all info I could find) and I'm having trouble.

I'm doing a project that involves ATmega168s on a protoboard. I followed the tutorial (barebones), and downloaded the files and placed them in the right directories. But when I open the program and select ATmega 328 on a breadboard (8mhz) and load the blink sketch to compile it says:

"arduino-1.0.1\hardware\arduino\cores\arduino/Arduino.h:213:26: error: pins_arduino.h: no such file or directory"

Does anyone know the problem?

PaulS

Quote
I followed the tutorial (barebones)

I do believe that there is more than one. Which one are you referring to?

Quote
downloaded the files

Which files? From where?

Quote
and placed them in the right directories.

Which ones would those be?

Quote
But when I open the program

Which program?


MR_NINJA

Sorry for not clarifying.

The tutorial: http://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

The files included in the "Minimal Circuit(Removing the External Clock)" section. I downloaded that zip.

I then placed it in the proper file directory: the "Hardware" subdirectory.

The program being Arduino.exe, the program for programming the Arduino and uploading code.

codlink

Are you finding the  "ATmega328 on a breadboard (8 MHz internal clock)" under >Tools>Board>?

If not, here is the path that it should be:  C:\Users\[youruserprofilehere]\(My) Documents\Arduino\hardware\breadboard\boards.txt
//LiNK

MR_NINJA

Yes, I am finding it under the tools>boards menu.

so...

codlink

//LiNK


codlink

#7
Oct 21, 2012, 04:29 am Last Edit: Oct 21, 2012, 04:37 am by codlink Reason: 1
Try adding this line at the end of the boards.txt file:

Code: [Select]
atmega328bb.build.variant=standard

Or if that doesn't work, try this one:

Code: [Select]
atmega328bb.build.variant=arduino:standard
//LiNK

Go Up