diff options
-rwxr-xr-x | core/HardwareSerial.cpp (renamed from cores/arduino/HardwareSerial.cpp) | 0 | ||||
-rwxr-xr-x | core/HardwareSerial.h (renamed from cores/arduino/HardwareSerial.h) | 0 | ||||
-rwxr-xr-x | core/Makefile (renamed from cores/arduino/Makefile) | 0 | ||||
-rwxr-xr-x | core/Print.cpp (renamed from cores/arduino/Print.cpp) | 0 | ||||
-rwxr-xr-x | core/Print.h (renamed from cores/arduino/Print.h) | 0 | ||||
-rw-r--r-- | core/WConstants.h (renamed from cores/arduino/WConstants.h) | 0 | ||||
-rwxr-xr-x | core/WInterrupts.c (renamed from cores/arduino/WInterrupts.c) | 0 | ||||
-rw-r--r-- | core/WMath.cpp (renamed from cores/arduino/WMath.cpp) | 0 | ||||
-rwxr-xr-x | core/WProgram.h (renamed from cores/arduino/WProgram.h) | 0 | ||||
-rw-r--r-- | core/binary.h (renamed from cores/arduino/binary.h) | 0 | ||||
-rwxr-xr-x | core/main.cxx (renamed from cores/arduino/main.cxx) | 0 | ||||
-rwxr-xr-x | core/pins_arduino.c (renamed from cores/arduino/pins_arduino.c) | 0 | ||||
-rw-r--r-- | core/pins_arduino.h (renamed from cores/arduino/pins_arduino.h) | 0 | ||||
-rwxr-xr-x | core/wiring.c (renamed from cores/arduino/wiring.c) | 0 | ||||
-rwxr-xr-x | core/wiring.h (renamed from cores/arduino/wiring.h) | 0 | ||||
-rwxr-xr-x | core/wiring_analog.c (renamed from cores/arduino/wiring_analog.c) | 0 | ||||
-rwxr-xr-x | core/wiring_digital.c (renamed from cores/arduino/wiring_digital.c) | 0 | ||||
-rwxr-xr-x | core/wiring_private.h (renamed from cores/arduino/wiring_private.h) | 0 | ||||
-rwxr-xr-x | core/wiring_pulse.c (renamed from cores/arduino/wiring_pulse.c) | 0 | ||||
-rwxr-xr-x | core/wiring_shift.c (renamed from cores/arduino/wiring_shift.c) | 0 | ||||
-rwxr-xr-x | cores/atmega8/pins_atmega8.c | 119 | ||||
-rwxr-xr-x | cores/blank/WProgram.h | 0 | ||||
-rw-r--r-- | cores/blank/main.cxx | 0 |
23 files changed, 0 insertions, 119 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/core/HardwareSerial.cpp index 1af6a66..1af6a66 100755 --- a/cores/arduino/HardwareSerial.cpp +++ b/core/HardwareSerial.cpp diff --git a/cores/arduino/HardwareSerial.h b/core/HardwareSerial.h index f975ccd..f975ccd 100755 --- a/cores/arduino/HardwareSerial.h +++ b/core/HardwareSerial.h diff --git a/cores/arduino/Makefile b/core/Makefile index 0882f67..0882f67 100755 --- a/cores/arduino/Makefile +++ b/core/Makefile diff --git a/cores/arduino/Print.cpp b/core/Print.cpp index 74d0e5b..74d0e5b 100755 --- a/cores/arduino/Print.cpp +++ b/core/Print.cpp diff --git a/cores/arduino/Print.h b/core/Print.h index a69e85d..a69e85d 100755 --- a/cores/arduino/Print.h +++ b/core/Print.h diff --git a/cores/arduino/WConstants.h b/core/WConstants.h index 3e19ac4..3e19ac4 100644 --- a/cores/arduino/WConstants.h +++ b/core/WConstants.h diff --git a/cores/arduino/WInterrupts.c b/core/WInterrupts.c index 69a78b0..69a78b0 100755 --- a/cores/arduino/WInterrupts.c +++ b/core/WInterrupts.c diff --git a/cores/arduino/WMath.cpp b/core/WMath.cpp index 2120c4c..2120c4c 100644 --- a/cores/arduino/WMath.cpp +++ b/core/WMath.cpp diff --git a/cores/arduino/WProgram.h b/core/WProgram.h index fc14923..fc14923 100755 --- a/cores/arduino/WProgram.h +++ b/core/WProgram.h diff --git a/cores/arduino/binary.h b/core/binary.h index af14980..af14980 100644 --- a/cores/arduino/binary.h +++ b/core/binary.h diff --git a/cores/arduino/main.cxx b/core/main.cxx index 52351e4..52351e4 100755 --- a/cores/arduino/main.cxx +++ b/core/main.cxx diff --git a/cores/arduino/pins_arduino.c b/core/pins_arduino.c index 1c1c088..1c1c088 100755 --- a/cores/arduino/pins_arduino.c +++ b/core/pins_arduino.c diff --git a/cores/arduino/pins_arduino.h b/core/pins_arduino.h index c7e40fd..c7e40fd 100644 --- a/cores/arduino/pins_arduino.h +++ b/core/pins_arduino.h diff --git a/cores/arduino/wiring.c b/core/wiring.c index 72bc282..72bc282 100755 --- a/cores/arduino/wiring.c +++ b/core/wiring.c diff --git a/cores/arduino/wiring.h b/core/wiring.h index e6dcde1..e6dcde1 100755 --- a/cores/arduino/wiring.h +++ b/core/wiring.h diff --git a/cores/arduino/wiring_analog.c b/core/wiring_analog.c index 529ad52..529ad52 100755 --- a/cores/arduino/wiring_analog.c +++ b/core/wiring_analog.c diff --git a/cores/arduino/wiring_digital.c b/core/wiring_digital.c index 1cdbf6c..1cdbf6c 100755 --- a/cores/arduino/wiring_digital.c +++ b/core/wiring_digital.c diff --git a/cores/arduino/wiring_private.h b/core/wiring_private.h index 2dfe552..2dfe552 100755 --- a/cores/arduino/wiring_private.h +++ b/core/wiring_private.h diff --git a/cores/arduino/wiring_pulse.c b/core/wiring_pulse.c index 8f232f1..8f232f1 100755 --- a/cores/arduino/wiring_pulse.c +++ b/core/wiring_pulse.c diff --git a/cores/arduino/wiring_shift.c b/core/wiring_shift.c index 956f864..956f864 100755 --- a/cores/arduino/wiring_shift.c +++ b/core/wiring_shift.c diff --git a/cores/atmega8/pins_atmega8.c b/cores/atmega8/pins_atmega8.c deleted file mode 100755 index ed1b2bd..0000000 --- a/cores/atmega8/pins_atmega8.c +++ /dev/null @@ -1,119 +0,0 @@ -/*
- pin_atmega8.c - pin definitions for the atmega8
- Part of Arduino / Wiring Lite
-
- Copyright (c) 2005 David A. Mellis
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General
- Public License along with this library; if not, write to the
- Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- Boston, MA 02111-1307 USA
-
- $Id$
-*/
-
-#include <avr/io.h>
-#include "wiring.h"
-
-// We map the pin numbers passed to digitalRead() or
-// analogRead() directly to the corresponding pin
-// numbers on the Atmega8. No distinction is made
-// between analog and digital pins.
-
-// ATMEL ATMEGA8
-//
-// +-\/-+
-// PC6 1| |28 PC5
-// PD0 2| |27 PC4
-// PD1 3| |26 PC3
-// PD2 4| |25 PC2
-// PD3 5| |24 PC1
-// PD4 6| |23 PC0
-// VCC 7| |22 GND
-// GND 8| |21 AREF
-// PB6 9| |20 AVCC
-// PB7 10| |19 PB5
-// PD5 11| |18 PB4
-// PD6 12| |17 PB3
-// PD7 13| |16 PB2
-// PB0 14| |15 PB1
-// +----+
-
-#define NUM_PINS 28
-#define NUM_PORTS 4
-
-#define PB 2
-#define PC 3
-#define PD 4
-
-int port_to_mode[NUM_PORTS + 1] = {
- NOT_A_PORT,
- NOT_A_PORT,
- _SFR_IO_ADDR(DDRB),
- _SFR_IO_ADDR(DDRC),
- _SFR_IO_ADDR(DDRD),
-};
-
-int port_to_output[NUM_PORTS + 1] = {
- NOT_A_PORT,
- NOT_A_PORT,
- _SFR_IO_ADDR(PORTB),
- _SFR_IO_ADDR(PORTC),
- _SFR_IO_ADDR(PORTD),
-};
-
-int port_to_input[NUM_PORTS + 1] = {
- NOT_A_PORT,
- NOT_A_PORT,
- _SFR_IO_ADDR(PINB),
- _SFR_IO_ADDR(PINC),
- _SFR_IO_ADDR(PIND),
-};
-
-pin_t digital_pin_to_port_array[] = {
- { NOT_A_PIN, NOT_A_PIN },
-
- { PC, 6 },
- { PD, 0 },
- { PD, 1 },
- { PD, 2 },
- { PD, 3 },
- { PD, 4 },
- { NOT_A_PIN, NOT_A_PIN },
- { NOT_A_PIN, NOT_A_PIN },
- { PB, 6 },
- { PB, 7 },
- { PD, 5 },
- { PD, 6 },
- { PD, 7 },
- { PB, 0 },
-
- { PB, 1 },
- { PB, 2 },
- { PB, 3 },
- { PB, 4 },
- { PB, 5 },
- { NOT_A_PIN, NOT_A_PIN },
- { NOT_A_PIN, NOT_A_PIN },
- { NOT_A_PIN, NOT_A_PIN },
- { PC, 0 },
- { PC, 1 },
- { PC, 2 },
- { PC, 3 },
- { PC, 4 },
- { PC, 5 },
-};
-
-pin_t *digital_pin_to_port = digital_pin_to_port_array;
-pin_t *analog_in_pin_to_port = digital_pin_to_port_array;
-pin_t *analog_out_pin_to_port = digital_pin_to_port_array;
diff --git a/cores/blank/WProgram.h b/cores/blank/WProgram.h deleted file mode 100755 index e69de29..0000000 --- a/cores/blank/WProgram.h +++ /dev/null diff --git a/cores/blank/main.cxx b/cores/blank/main.cxx deleted file mode 100644 index e69de29..0000000 --- a/cores/blank/main.cxx +++ /dev/null |