What happened to the "pins_arduino.h" library?

Hello,

I’m using a tutorial that’s telling me to edit “pins_arduino.h”, but I can’t seem to find the file.

The tutorial is a few years old, so I assume it’s outdated but it says the file is at “\arduino-0022\hardware\arduino\cores\arduino”

Has the “pins_arduino.h” been moved, or was it deleted?

Thanks,
Scott

Its not a library its a header file specific to the Arduino variant so it lives under the variants
directory.

[ or rather there's one for each variant ]

Well there are several depending on what board is selected. They are in the core files:

Arduino105vr2/hardware/arduino/variants

Each folder in the variants folder as the pins_arudino.h file to support a specific board.

Thanks guys for the quick replies!

I understand what you're both saying. I'm using an Uno, so which of the variants should I edit?

Another thing. The tutorial I'm following tells me to also edit the "w5100.h" library. I found the library, but the text it's asking me to edit is slightly different from the text in the file. For example, the tutorial says to locate this

private:
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
inline static void initSS() { DDRB |= _BV(4); };
inline static void setSS() { PORTB &= ~_BV(4); };
inline static void resetSS() { PORTB |= _BV(4); };
#else
inline static void initSS() { DDRB |= _BV(2); };
inline static void setSS() { PORTB &= ~_BV(2); };
inline static void resetSS() { PORTB |= _BV(2); };
#endif

But the closest thing I can find in the "w5100.h" file is this:

private:
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
  inline static void initSS()    { DDRB  |=  _BV(4); };
  inline static void setSS()     { PORTB &= ~_BV(4); };
  inline static void resetSS()   { PORTB |=  _BV(4); };
#elif defined(__AVR_ATmega32U4__)
  inline static void initSS()    { DDRB  |=  _BV(6); };
  inline static void setSS()     { PORTB &= ~_BV(6); };
  inline static void resetSS()   { PORTB |=  _BV(6); }; 
#elif

They're slightly different, so I'm not sure on what I should do.

I hope I'm explaining this well enough, but here's the short tutorial if you're interested: http://blog.andrewwei.mu/?p=19

Thanks again