From 76527c7a9d550d9bf466395ae6ef21faba5dd5c1 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 6 Oct 2007 14:09:02 +0000 Subject: [PATCH] Renaming core to targets. --- hardware/firmwares/Standard_Firmata/Makefile | 20 +++++++++--------- .../arduino/HardwareSerial.cpp | 0 .../arduino/HardwareSerial.h | 0 hardware/{core => targets}/arduino/Makefile | 0 .../{core => targets}/arduino/WConstants.h | 0 .../{core => targets}/arduino/WInterrupts.c | 0 hardware/{core => targets}/arduino/WProgram.h | 0 .../{core => targets}/arduino/WRandom.cpp | 0 hardware/{core => targets}/arduino/binary.h | 0 hardware/{core => targets}/arduino/main.cxx | 0 .../{core => targets}/arduino/pins_arduino.c | 0 .../{core => targets}/arduino/pins_arduino.h | 0 hardware/{core => targets}/arduino/wiring.c | 0 hardware/{core => targets}/arduino/wiring.h | 0 .../{core => targets}/arduino/wiring_analog.c | 0 .../arduino/wiring_digital.c | 0 .../arduino/wiring_private.h | 0 .../{core => targets}/arduino/wiring_pulse.c | 0 .../{core => targets}/arduino/wiring_serial.c | 0 .../{core => targets}/arduino/wiring_shift.c | 0 .../{core => targets}/atmega8/pins_atmega8.c | 0 hardware/{core => targets}/blank/WProgram.h | 0 hardware/{core => targets}/blank/main.cxx | 0 hardware/{core => targets}/wiring/Binary.h | 0 hardware/{core => targets}/wiring/Encoder.h | 0 hardware/{core => targets}/wiring/Encoder.o | Bin .../{core => targets}/wiring/HardwareSerial.h | 0 .../{core => targets}/wiring/HardwareSerial.o | Bin .../{core => targets}/wiring/LiquidCrystal.h | 0 .../{core => targets}/wiring/LiquidCrystal.o | Bin hardware/{core => targets}/wiring/Matrix.h | 0 hardware/{core => targets}/wiring/Matrix.o | Bin hardware/{core => targets}/wiring/QSlide.h | 0 hardware/{core => targets}/wiring/QSlide.o | Bin hardware/{core => targets}/wiring/Servo.h | 0 hardware/{core => targets}/wiring/Servo.o | Bin hardware/{core => targets}/wiring/Sprite.h | 0 hardware/{core => targets}/wiring/Sprite.o | Bin hardware/{core => targets}/wiring/TwoWire.h | 0 hardware/{core => targets}/wiring/TwoWire.o | Bin hardware/{core => targets}/wiring/WApplet.o | Bin .../{core => targets}/wiring/WConstants.h | 0 .../{core => targets}/wiring/WInterrupts.o | Bin hardware/{core => targets}/wiring/WProgram.h | 0 hardware/{core => targets}/wiring/WRandom.o | Bin hardware/{core => targets}/wiring/WTimer.o | Bin hardware/{core => targets}/wiring/buffer.h | 0 hardware/{core => targets}/wiring/buffer.o | Bin hardware/{core => targets}/wiring/twi.h | 0 hardware/{core => targets}/wiring/twi.o | Bin hardware/{core => targets}/wiring/uart.h | 0 hardware/{core => targets}/wiring/uart.o | Bin 52 files changed, 10 insertions(+), 10 deletions(-) rename hardware/{core => targets}/arduino/HardwareSerial.cpp (100%) rename hardware/{core => targets}/arduino/HardwareSerial.h (100%) rename hardware/{core => targets}/arduino/Makefile (100%) rename hardware/{core => targets}/arduino/WConstants.h (100%) rename hardware/{core => targets}/arduino/WInterrupts.c (100%) rename hardware/{core => targets}/arduino/WProgram.h (100%) rename hardware/{core => targets}/arduino/WRandom.cpp (100%) rename hardware/{core => targets}/arduino/binary.h (100%) rename hardware/{core => targets}/arduino/main.cxx (100%) rename hardware/{core => targets}/arduino/pins_arduino.c (100%) rename hardware/{core => targets}/arduino/pins_arduino.h (100%) rename hardware/{core => targets}/arduino/wiring.c (100%) rename hardware/{core => targets}/arduino/wiring.h (100%) rename hardware/{core => targets}/arduino/wiring_analog.c (100%) rename hardware/{core => targets}/arduino/wiring_digital.c (100%) rename hardware/{core => targets}/arduino/wiring_private.h (100%) rename hardware/{core => targets}/arduino/wiring_pulse.c (100%) rename hardware/{core => targets}/arduino/wiring_serial.c (100%) rename hardware/{core => targets}/arduino/wiring_shift.c (100%) rename hardware/{core => targets}/atmega8/pins_atmega8.c (100%) rename hardware/{core => targets}/blank/WProgram.h (100%) rename hardware/{core => targets}/blank/main.cxx (100%) rename hardware/{core => targets}/wiring/Binary.h (100%) rename hardware/{core => targets}/wiring/Encoder.h (100%) rename hardware/{core => targets}/wiring/Encoder.o (100%) rename hardware/{core => targets}/wiring/HardwareSerial.h (100%) rename hardware/{core => targets}/wiring/HardwareSerial.o (100%) rename hardware/{core => targets}/wiring/LiquidCrystal.h (100%) rename hardware/{core => targets}/wiring/LiquidCrystal.o (100%) rename hardware/{core => targets}/wiring/Matrix.h (100%) rename hardware/{core => targets}/wiring/Matrix.o (100%) rename hardware/{core => targets}/wiring/QSlide.h (100%) rename hardware/{core => targets}/wiring/QSlide.o (100%) rename hardware/{core => targets}/wiring/Servo.h (100%) rename hardware/{core => targets}/wiring/Servo.o (100%) rename hardware/{core => targets}/wiring/Sprite.h (100%) rename hardware/{core => targets}/wiring/Sprite.o (100%) rename hardware/{core => targets}/wiring/TwoWire.h (100%) rename hardware/{core => targets}/wiring/TwoWire.o (100%) rename hardware/{core => targets}/wiring/WApplet.o (100%) rename hardware/{core => targets}/wiring/WConstants.h (100%) rename hardware/{core => targets}/wiring/WInterrupts.o (100%) rename hardware/{core => targets}/wiring/WProgram.h (100%) rename hardware/{core => targets}/wiring/WRandom.o (100%) rename hardware/{core => targets}/wiring/WTimer.o (100%) rename hardware/{core => targets}/wiring/buffer.h (100%) rename hardware/{core => targets}/wiring/buffer.o (100%) rename hardware/{core => targets}/wiring/twi.h (100%) rename hardware/{core => targets}/wiring/twi.o (100%) rename hardware/{core => targets}/wiring/uart.h (100%) rename hardware/{core => targets}/wiring/uart.o (100%) diff --git a/hardware/firmwares/Standard_Firmata/Makefile b/hardware/firmwares/Standard_Firmata/Makefile index 8ad2d2ca4..6edbf9722 100644 --- a/hardware/firmwares/Standard_Firmata/Makefile +++ b/hardware/firmwares/Standard_Firmata/Makefile @@ -48,12 +48,12 @@ PORT = /dev/tty.usbserial-* TARGET = Pd_firmware ARDUINO = /Applications/arduino-0007 -ARDUINO_SRC = $(ARDUINO)/lib/targets/arduino -ARDUINO_LIB_SRC = $(ARDUINO)/lib/targets/libraries -INCLUDE = -I$(ARDUINO_SRC) -I$(ARDUINO)/tools/avr/avr/include \ - -I$(ARDUINO)/lib/targets/libraries/EEPROM \ - -I$(ARDUINO)/lib/targets/libraries/Firmata \ - -I$(ARDUINO)/lib/targets/libraries +ARDUINO_SRC = $(ARDUINO)/hardware/targets/arduino +ARDUINO_LIB_SRC = $(ARDUINO)/hardware/libraries +INCLUDE = -I$(ARDUINO_SRC) -I$(ARDUINO)/hardware/tools/avr/avr/include \ + -I$(ARDUINO_LIB_SRC)/EEPROM \ + -I$(ARDUINO_LIB_SRC)/Firmata \ + -I$(ARDUINO_LIB_SRC) SRC = $(ARDUINO_SRC)/pins_arduino.c $(ARDUINO_SRC)/wiring.c \ $(ARDUINO_SRC)/WInterrupts.c CXXSRC = applet/$(TARGET).cpp $(ARDUINO_SRC)/HardwareSerial.cpp \ @@ -242,10 +242,10 @@ etags: etags *.pde \ $(ARDUINO_SRC)/*.[ch] \ $(ARDUINO_SRC)/*.cpp \ - $(ARDUINO)/lib/targets/libraries/*/*.[ch] \ - $(ARDUINO)/lib/targets/libraries/*/*.cpp \ - $(ARDUINO)/tools/avr/avr/include/avr/*.[ch] \ - $(ARDUINO)/tools/avr/avr/include/*.[ch] + $(ARDUINO_LIB_SRC)/*/*.[ch] \ + $(ARDUINO_LIB_SRC)/*/*.cpp \ + $(ARDUINO)/hardware/tools/avr/avr/include/avr/*.[ch] \ + $(ARDUINO)/hardware/tools/avr/avr/include/*.[ch] etags_Darwin: # etags -a diff --git a/hardware/core/arduino/HardwareSerial.cpp b/hardware/targets/arduino/HardwareSerial.cpp similarity index 100% rename from hardware/core/arduino/HardwareSerial.cpp rename to hardware/targets/arduino/HardwareSerial.cpp diff --git a/hardware/core/arduino/HardwareSerial.h b/hardware/targets/arduino/HardwareSerial.h similarity index 100% rename from hardware/core/arduino/HardwareSerial.h rename to hardware/targets/arduino/HardwareSerial.h diff --git a/hardware/core/arduino/Makefile b/hardware/targets/arduino/Makefile similarity index 100% rename from hardware/core/arduino/Makefile rename to hardware/targets/arduino/Makefile diff --git a/hardware/core/arduino/WConstants.h b/hardware/targets/arduino/WConstants.h similarity index 100% rename from hardware/core/arduino/WConstants.h rename to hardware/targets/arduino/WConstants.h diff --git a/hardware/core/arduino/WInterrupts.c b/hardware/targets/arduino/WInterrupts.c similarity index 100% rename from hardware/core/arduino/WInterrupts.c rename to hardware/targets/arduino/WInterrupts.c diff --git a/hardware/core/arduino/WProgram.h b/hardware/targets/arduino/WProgram.h similarity index 100% rename from hardware/core/arduino/WProgram.h rename to hardware/targets/arduino/WProgram.h diff --git a/hardware/core/arduino/WRandom.cpp b/hardware/targets/arduino/WRandom.cpp similarity index 100% rename from hardware/core/arduino/WRandom.cpp rename to hardware/targets/arduino/WRandom.cpp diff --git a/hardware/core/arduino/binary.h b/hardware/targets/arduino/binary.h similarity index 100% rename from hardware/core/arduino/binary.h rename to hardware/targets/arduino/binary.h diff --git a/hardware/core/arduino/main.cxx b/hardware/targets/arduino/main.cxx similarity index 100% rename from hardware/core/arduino/main.cxx rename to hardware/targets/arduino/main.cxx diff --git a/hardware/core/arduino/pins_arduino.c b/hardware/targets/arduino/pins_arduino.c similarity index 100% rename from hardware/core/arduino/pins_arduino.c rename to hardware/targets/arduino/pins_arduino.c diff --git a/hardware/core/arduino/pins_arduino.h b/hardware/targets/arduino/pins_arduino.h similarity index 100% rename from hardware/core/arduino/pins_arduino.h rename to hardware/targets/arduino/pins_arduino.h diff --git a/hardware/core/arduino/wiring.c b/hardware/targets/arduino/wiring.c similarity index 100% rename from hardware/core/arduino/wiring.c rename to hardware/targets/arduino/wiring.c diff --git a/hardware/core/arduino/wiring.h b/hardware/targets/arduino/wiring.h similarity index 100% rename from hardware/core/arduino/wiring.h rename to hardware/targets/arduino/wiring.h diff --git a/hardware/core/arduino/wiring_analog.c b/hardware/targets/arduino/wiring_analog.c similarity index 100% rename from hardware/core/arduino/wiring_analog.c rename to hardware/targets/arduino/wiring_analog.c diff --git a/hardware/core/arduino/wiring_digital.c b/hardware/targets/arduino/wiring_digital.c similarity index 100% rename from hardware/core/arduino/wiring_digital.c rename to hardware/targets/arduino/wiring_digital.c diff --git a/hardware/core/arduino/wiring_private.h b/hardware/targets/arduino/wiring_private.h similarity index 100% rename from hardware/core/arduino/wiring_private.h rename to hardware/targets/arduino/wiring_private.h diff --git a/hardware/core/arduino/wiring_pulse.c b/hardware/targets/arduino/wiring_pulse.c similarity index 100% rename from hardware/core/arduino/wiring_pulse.c rename to hardware/targets/arduino/wiring_pulse.c diff --git a/hardware/core/arduino/wiring_serial.c b/hardware/targets/arduino/wiring_serial.c similarity index 100% rename from hardware/core/arduino/wiring_serial.c rename to hardware/targets/arduino/wiring_serial.c diff --git a/hardware/core/arduino/wiring_shift.c b/hardware/targets/arduino/wiring_shift.c similarity index 100% rename from hardware/core/arduino/wiring_shift.c rename to hardware/targets/arduino/wiring_shift.c diff --git a/hardware/core/atmega8/pins_atmega8.c b/hardware/targets/atmega8/pins_atmega8.c similarity index 100% rename from hardware/core/atmega8/pins_atmega8.c rename to hardware/targets/atmega8/pins_atmega8.c diff --git a/hardware/core/blank/WProgram.h b/hardware/targets/blank/WProgram.h similarity index 100% rename from hardware/core/blank/WProgram.h rename to hardware/targets/blank/WProgram.h diff --git a/hardware/core/blank/main.cxx b/hardware/targets/blank/main.cxx similarity index 100% rename from hardware/core/blank/main.cxx rename to hardware/targets/blank/main.cxx diff --git a/hardware/core/wiring/Binary.h b/hardware/targets/wiring/Binary.h similarity index 100% rename from hardware/core/wiring/Binary.h rename to hardware/targets/wiring/Binary.h diff --git a/hardware/core/wiring/Encoder.h b/hardware/targets/wiring/Encoder.h similarity index 100% rename from hardware/core/wiring/Encoder.h rename to hardware/targets/wiring/Encoder.h diff --git a/hardware/core/wiring/Encoder.o b/hardware/targets/wiring/Encoder.o similarity index 100% rename from hardware/core/wiring/Encoder.o rename to hardware/targets/wiring/Encoder.o diff --git a/hardware/core/wiring/HardwareSerial.h b/hardware/targets/wiring/HardwareSerial.h similarity index 100% rename from hardware/core/wiring/HardwareSerial.h rename to hardware/targets/wiring/HardwareSerial.h diff --git a/hardware/core/wiring/HardwareSerial.o b/hardware/targets/wiring/HardwareSerial.o similarity index 100% rename from hardware/core/wiring/HardwareSerial.o rename to hardware/targets/wiring/HardwareSerial.o diff --git a/hardware/core/wiring/LiquidCrystal.h b/hardware/targets/wiring/LiquidCrystal.h similarity index 100% rename from hardware/core/wiring/LiquidCrystal.h rename to hardware/targets/wiring/LiquidCrystal.h diff --git a/hardware/core/wiring/LiquidCrystal.o b/hardware/targets/wiring/LiquidCrystal.o similarity index 100% rename from hardware/core/wiring/LiquidCrystal.o rename to hardware/targets/wiring/LiquidCrystal.o diff --git a/hardware/core/wiring/Matrix.h b/hardware/targets/wiring/Matrix.h similarity index 100% rename from hardware/core/wiring/Matrix.h rename to hardware/targets/wiring/Matrix.h diff --git a/hardware/core/wiring/Matrix.o b/hardware/targets/wiring/Matrix.o similarity index 100% rename from hardware/core/wiring/Matrix.o rename to hardware/targets/wiring/Matrix.o diff --git a/hardware/core/wiring/QSlide.h b/hardware/targets/wiring/QSlide.h similarity index 100% rename from hardware/core/wiring/QSlide.h rename to hardware/targets/wiring/QSlide.h diff --git a/hardware/core/wiring/QSlide.o b/hardware/targets/wiring/QSlide.o similarity index 100% rename from hardware/core/wiring/QSlide.o rename to hardware/targets/wiring/QSlide.o diff --git a/hardware/core/wiring/Servo.h b/hardware/targets/wiring/Servo.h similarity index 100% rename from hardware/core/wiring/Servo.h rename to hardware/targets/wiring/Servo.h diff --git a/hardware/core/wiring/Servo.o b/hardware/targets/wiring/Servo.o similarity index 100% rename from hardware/core/wiring/Servo.o rename to hardware/targets/wiring/Servo.o diff --git a/hardware/core/wiring/Sprite.h b/hardware/targets/wiring/Sprite.h similarity index 100% rename from hardware/core/wiring/Sprite.h rename to hardware/targets/wiring/Sprite.h diff --git a/hardware/core/wiring/Sprite.o b/hardware/targets/wiring/Sprite.o similarity index 100% rename from hardware/core/wiring/Sprite.o rename to hardware/targets/wiring/Sprite.o diff --git a/hardware/core/wiring/TwoWire.h b/hardware/targets/wiring/TwoWire.h similarity index 100% rename from hardware/core/wiring/TwoWire.h rename to hardware/targets/wiring/TwoWire.h diff --git a/hardware/core/wiring/TwoWire.o b/hardware/targets/wiring/TwoWire.o similarity index 100% rename from hardware/core/wiring/TwoWire.o rename to hardware/targets/wiring/TwoWire.o diff --git a/hardware/core/wiring/WApplet.o b/hardware/targets/wiring/WApplet.o similarity index 100% rename from hardware/core/wiring/WApplet.o rename to hardware/targets/wiring/WApplet.o diff --git a/hardware/core/wiring/WConstants.h b/hardware/targets/wiring/WConstants.h similarity index 100% rename from hardware/core/wiring/WConstants.h rename to hardware/targets/wiring/WConstants.h diff --git a/hardware/core/wiring/WInterrupts.o b/hardware/targets/wiring/WInterrupts.o similarity index 100% rename from hardware/core/wiring/WInterrupts.o rename to hardware/targets/wiring/WInterrupts.o diff --git a/hardware/core/wiring/WProgram.h b/hardware/targets/wiring/WProgram.h similarity index 100% rename from hardware/core/wiring/WProgram.h rename to hardware/targets/wiring/WProgram.h diff --git a/hardware/core/wiring/WRandom.o b/hardware/targets/wiring/WRandom.o similarity index 100% rename from hardware/core/wiring/WRandom.o rename to hardware/targets/wiring/WRandom.o diff --git a/hardware/core/wiring/WTimer.o b/hardware/targets/wiring/WTimer.o similarity index 100% rename from hardware/core/wiring/WTimer.o rename to hardware/targets/wiring/WTimer.o diff --git a/hardware/core/wiring/buffer.h b/hardware/targets/wiring/buffer.h similarity index 100% rename from hardware/core/wiring/buffer.h rename to hardware/targets/wiring/buffer.h diff --git a/hardware/core/wiring/buffer.o b/hardware/targets/wiring/buffer.o similarity index 100% rename from hardware/core/wiring/buffer.o rename to hardware/targets/wiring/buffer.o diff --git a/hardware/core/wiring/twi.h b/hardware/targets/wiring/twi.h similarity index 100% rename from hardware/core/wiring/twi.h rename to hardware/targets/wiring/twi.h diff --git a/hardware/core/wiring/twi.o b/hardware/targets/wiring/twi.o similarity index 100% rename from hardware/core/wiring/twi.o rename to hardware/targets/wiring/twi.o diff --git a/hardware/core/wiring/uart.h b/hardware/targets/wiring/uart.h similarity index 100% rename from hardware/core/wiring/uart.h rename to hardware/targets/wiring/uart.h diff --git a/hardware/core/wiring/uart.o b/hardware/targets/wiring/uart.o similarity index 100% rename from hardware/core/wiring/uart.o rename to hardware/targets/wiring/uart.o