Pages: [1]   Go Down
Author Topic: "pins_arduino.h: no such file or directory", but it's there?  (Read 2247 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 688
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

//LiNK

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

so...
Logged

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 688
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What version of the IDE are you running?
Logged

//LiNK

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using Arduino 1.0.1
Logged

USA, FL
Offline Offline
God Member
*****
Karma: 14
Posts: 688
A life? Where can I download one of those?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try adding this line at the end of the boards.txt file:

Code:
atmega328bb.build.variant=standard

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

Code:
atmega328bb.build.variant=arduino:standard
« Last Edit: October 20, 2012, 09:37:48 pm by codlink » Logged

//LiNK

Pages: [1]   Go Up
Jump to: