Soldered SD Card Arduino Library 1.0.0
Easily read and write files to and form the SD card breakout! A fork of the original SDFat library by Bill Greiman.
Loading...
Searching...
No Matches
GpioPinMap.h
Go to the documentation of this file.
1/* Arduino DigitalIO Library
2 * Copyright (C) 2013 by William Greiman
3 *
4 * This file is part of the Arduino DigitalIO Library
5 *
6 * This Library is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This Library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with the Arduino DigitalIO Library. If not, see
18 * <http://www.gnu.org/licenses/>.
19 */
20#ifndef GpioPinMap_h
21#define GpioPinMap_h
22#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega168P__) || defined(__AVR_ATmega328P__)
23// 168 and 328 Arduinos
24#include "UnoGpioPinMap.h"
25#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
26// Mega ADK
27#include "MegaGpioPinMap.h"
28#elif defined(__AVR_ATmega32U4__)
29#ifdef CORE_TEENSY
30#include "Teensy2GpioPinMap.h"
31#else // CORE_TEENSY
32// Leonardo or Yun
33#include "LeonardoGpioPinMap.h"
34#endif // CORE_TEENSY
35#elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)
36// Teensy++ 1.0 & 2.0
37#include "Teensy2ppGpioPinMap.h"
38#elif defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega644P__) || \
39 defined(__AVR_ATmega644__) || defined(__AVR_ATmega64__) || defined(__AVR_ATmega32__) || \
40 defined(__AVR_ATmega324__) || defined(__AVR_ATmega16__)
41#ifdef ARDUINO_1284P_AVR_DEVELOPERS
43#elif defined(ARDUINO_1284P_BOBUINO)
44#include "BobuinoGpioPinMap.h"
45#elif defined(ARDUINO_1284P_SLEEPINGBEAUTY)
47#elif defined(ARDUINO_1284P_STANDARD)
49#else // ARDUINO_1284P_SLEEPINGBEAUTY
50#error Undefined variant 1284, 644, 324
51#endif // ARDUINO_1284P_SLEEPINGBEAUTY
52#else // 1284P, 1284, 644
53#error Unknown board type.
54#endif // end all boards
55#endif // GpioPinMap_h