From a9cba03922519ceb5a2fd27b6153bc70a8e0da99 Mon Sep 17 00:00:00 2001 From: Fede85 Date: Tue, 10 Sep 2013 16:46:33 +0200 Subject: [PATCH] Robot_Control library to the 1.5 fromat --- .../Robot_Control/{ => arch/avr}/ArduinoRobot.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Arduino_LCD.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Arduino_LCD.h | 0 libraries/Robot_Control/{ => arch/avr}/Compass.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Compass.h | 0 libraries/Robot_Control/{ => arch/avr}/EEPROM_I2C.cpp | 0 libraries/Robot_Control/{ => arch/avr}/EEPROM_I2C.h | 0 .../Robot_Control/{ => arch/avr}/EasyTransfer2.cpp | 0 libraries/Robot_Control/{ => arch/avr}/EasyTransfer2.h | 0 libraries/Robot_Control/{ => arch/avr}/Fat16.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Fat16.h | 0 libraries/Robot_Control/{ => arch/avr}/Fat16Config.h | 0 libraries/Robot_Control/{ => arch/avr}/Fat16mainpage.h | 0 libraries/Robot_Control/{ => arch/avr}/Fat16util.h | 0 libraries/Robot_Control/{ => arch/avr}/FatStructs.h | 0 libraries/Robot_Control/{ => arch/avr}/Melody.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Motors.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Multiplexer.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Multiplexer.h | 0 libraries/Robot_Control/{ => arch/avr}/RobotSdCard.cpp | 0 libraries/Robot_Control/{ => arch/avr}/SPI.cpp | 0 libraries/Robot_Control/{ => arch/avr}/SPI.h | 0 libraries/Robot_Control/{ => arch/avr}/SdCard.cpp | 0 libraries/Robot_Control/{ => arch/avr}/SdCard.h | 0 libraries/Robot_Control/{ => arch/avr}/SdInfo.h | 0 libraries/Robot_Control/{ => arch/avr}/Sensors.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Squawk.cpp | 0 libraries/Robot_Control/{ => arch/avr}/Squawk.h | 0 libraries/Robot_Control/{ => arch/avr}/SquawkSD.cpp | 0 libraries/Robot_Control/{ => arch/avr}/SquawkSD.h | 0 libraries/Robot_Control/{ => arch/avr}/Wire.cpp | 2 +- libraries/Robot_Control/{ => arch/avr}/Wire.h | 0 .../Robot_Control/{ => arch/avr}/communication.cpp | 0 libraries/Robot_Control/{ => arch/avr}/glcdfont.c | 0 libraries/Robot_Control/{ => arch/avr}/helper.cpp | 0 libraries/Robot_Control/{ => arch/avr}/information.cpp | 0 libraries/Robot_Control/{ => arch/avr}/keyboard.cpp | 0 libraries/Robot_Control/{ => arch/avr}/lcd.cpp | 0 .../{ => arch/avr}/utility/Adafruit_GFX.cpp | 0 .../{ => arch/avr}/utility/Adafruit_GFX.h | 0 .../{ => arch/avr}/utility/RobotTextManager.cpp | 0 .../{ => arch/avr}/utility/RobotTextManager.h | 0 .../{ => arch/avr}/utility/VirtualKeyboard.cpp | 0 .../{ => arch/avr}/utility/VirtualKeyboard.h | 0 .../{ => arch/avr}/utility/scripts_Hello_User.h | 0 libraries/Robot_Control/{ => arch/avr}/utility/twi.c | 0 libraries/Robot_Control/{ => arch/avr}/utility/twi.h | 0 libraries/Robot_Control/library.properties | 10 ++++++++++ libraries/Robot_Control/{ => src}/ArduinoRobot.h | 0 49 files changed, 11 insertions(+), 1 deletion(-) rename libraries/Robot_Control/{ => arch/avr}/ArduinoRobot.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Arduino_LCD.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Arduino_LCD.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Compass.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Compass.h (100%) rename libraries/Robot_Control/{ => arch/avr}/EEPROM_I2C.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/EEPROM_I2C.h (100%) rename libraries/Robot_Control/{ => arch/avr}/EasyTransfer2.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/EasyTransfer2.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Fat16.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Fat16.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Fat16Config.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Fat16mainpage.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Fat16util.h (100%) rename libraries/Robot_Control/{ => arch/avr}/FatStructs.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Melody.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Motors.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Multiplexer.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Multiplexer.h (100%) rename libraries/Robot_Control/{ => arch/avr}/RobotSdCard.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/SPI.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/SPI.h (100%) rename libraries/Robot_Control/{ => arch/avr}/SdCard.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/SdCard.h (100%) rename libraries/Robot_Control/{ => arch/avr}/SdInfo.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Sensors.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Squawk.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/Squawk.h (100%) rename libraries/Robot_Control/{ => arch/avr}/SquawkSD.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/SquawkSD.h (100%) rename libraries/Robot_Control/{ => arch/avr}/Wire.cpp (99%) rename libraries/Robot_Control/{ => arch/avr}/Wire.h (100%) rename libraries/Robot_Control/{ => arch/avr}/communication.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/glcdfont.c (100%) rename libraries/Robot_Control/{ => arch/avr}/helper.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/information.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/keyboard.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/lcd.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/Adafruit_GFX.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/Adafruit_GFX.h (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/RobotTextManager.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/RobotTextManager.h (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/VirtualKeyboard.cpp (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/VirtualKeyboard.h (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/scripts_Hello_User.h (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/twi.c (100%) rename libraries/Robot_Control/{ => arch/avr}/utility/twi.h (100%) create mode 100644 libraries/Robot_Control/library.properties rename libraries/Robot_Control/{ => src}/ArduinoRobot.h (100%) diff --git a/libraries/Robot_Control/ArduinoRobot.cpp b/libraries/Robot_Control/arch/avr/ArduinoRobot.cpp similarity index 100% rename from libraries/Robot_Control/ArduinoRobot.cpp rename to libraries/Robot_Control/arch/avr/ArduinoRobot.cpp diff --git a/libraries/Robot_Control/Arduino_LCD.cpp b/libraries/Robot_Control/arch/avr/Arduino_LCD.cpp similarity index 100% rename from libraries/Robot_Control/Arduino_LCD.cpp rename to libraries/Robot_Control/arch/avr/Arduino_LCD.cpp diff --git a/libraries/Robot_Control/Arduino_LCD.h b/libraries/Robot_Control/arch/avr/Arduino_LCD.h similarity index 100% rename from libraries/Robot_Control/Arduino_LCD.h rename to libraries/Robot_Control/arch/avr/Arduino_LCD.h diff --git a/libraries/Robot_Control/Compass.cpp b/libraries/Robot_Control/arch/avr/Compass.cpp similarity index 100% rename from libraries/Robot_Control/Compass.cpp rename to libraries/Robot_Control/arch/avr/Compass.cpp diff --git a/libraries/Robot_Control/Compass.h b/libraries/Robot_Control/arch/avr/Compass.h similarity index 100% rename from libraries/Robot_Control/Compass.h rename to libraries/Robot_Control/arch/avr/Compass.h diff --git a/libraries/Robot_Control/EEPROM_I2C.cpp b/libraries/Robot_Control/arch/avr/EEPROM_I2C.cpp similarity index 100% rename from libraries/Robot_Control/EEPROM_I2C.cpp rename to libraries/Robot_Control/arch/avr/EEPROM_I2C.cpp diff --git a/libraries/Robot_Control/EEPROM_I2C.h b/libraries/Robot_Control/arch/avr/EEPROM_I2C.h similarity index 100% rename from libraries/Robot_Control/EEPROM_I2C.h rename to libraries/Robot_Control/arch/avr/EEPROM_I2C.h diff --git a/libraries/Robot_Control/EasyTransfer2.cpp b/libraries/Robot_Control/arch/avr/EasyTransfer2.cpp similarity index 100% rename from libraries/Robot_Control/EasyTransfer2.cpp rename to libraries/Robot_Control/arch/avr/EasyTransfer2.cpp diff --git a/libraries/Robot_Control/EasyTransfer2.h b/libraries/Robot_Control/arch/avr/EasyTransfer2.h similarity index 100% rename from libraries/Robot_Control/EasyTransfer2.h rename to libraries/Robot_Control/arch/avr/EasyTransfer2.h diff --git a/libraries/Robot_Control/Fat16.cpp b/libraries/Robot_Control/arch/avr/Fat16.cpp similarity index 100% rename from libraries/Robot_Control/Fat16.cpp rename to libraries/Robot_Control/arch/avr/Fat16.cpp diff --git a/libraries/Robot_Control/Fat16.h b/libraries/Robot_Control/arch/avr/Fat16.h similarity index 100% rename from libraries/Robot_Control/Fat16.h rename to libraries/Robot_Control/arch/avr/Fat16.h diff --git a/libraries/Robot_Control/Fat16Config.h b/libraries/Robot_Control/arch/avr/Fat16Config.h similarity index 100% rename from libraries/Robot_Control/Fat16Config.h rename to libraries/Robot_Control/arch/avr/Fat16Config.h diff --git a/libraries/Robot_Control/Fat16mainpage.h b/libraries/Robot_Control/arch/avr/Fat16mainpage.h similarity index 100% rename from libraries/Robot_Control/Fat16mainpage.h rename to libraries/Robot_Control/arch/avr/Fat16mainpage.h diff --git a/libraries/Robot_Control/Fat16util.h b/libraries/Robot_Control/arch/avr/Fat16util.h similarity index 100% rename from libraries/Robot_Control/Fat16util.h rename to libraries/Robot_Control/arch/avr/Fat16util.h diff --git a/libraries/Robot_Control/FatStructs.h b/libraries/Robot_Control/arch/avr/FatStructs.h similarity index 100% rename from libraries/Robot_Control/FatStructs.h rename to libraries/Robot_Control/arch/avr/FatStructs.h diff --git a/libraries/Robot_Control/Melody.cpp b/libraries/Robot_Control/arch/avr/Melody.cpp similarity index 100% rename from libraries/Robot_Control/Melody.cpp rename to libraries/Robot_Control/arch/avr/Melody.cpp diff --git a/libraries/Robot_Control/Motors.cpp b/libraries/Robot_Control/arch/avr/Motors.cpp similarity index 100% rename from libraries/Robot_Control/Motors.cpp rename to libraries/Robot_Control/arch/avr/Motors.cpp diff --git a/libraries/Robot_Control/Multiplexer.cpp b/libraries/Robot_Control/arch/avr/Multiplexer.cpp similarity index 100% rename from libraries/Robot_Control/Multiplexer.cpp rename to libraries/Robot_Control/arch/avr/Multiplexer.cpp diff --git a/libraries/Robot_Control/Multiplexer.h b/libraries/Robot_Control/arch/avr/Multiplexer.h similarity index 100% rename from libraries/Robot_Control/Multiplexer.h rename to libraries/Robot_Control/arch/avr/Multiplexer.h diff --git a/libraries/Robot_Control/RobotSdCard.cpp b/libraries/Robot_Control/arch/avr/RobotSdCard.cpp similarity index 100% rename from libraries/Robot_Control/RobotSdCard.cpp rename to libraries/Robot_Control/arch/avr/RobotSdCard.cpp diff --git a/libraries/Robot_Control/SPI.cpp b/libraries/Robot_Control/arch/avr/SPI.cpp similarity index 100% rename from libraries/Robot_Control/SPI.cpp rename to libraries/Robot_Control/arch/avr/SPI.cpp diff --git a/libraries/Robot_Control/SPI.h b/libraries/Robot_Control/arch/avr/SPI.h similarity index 100% rename from libraries/Robot_Control/SPI.h rename to libraries/Robot_Control/arch/avr/SPI.h diff --git a/libraries/Robot_Control/SdCard.cpp b/libraries/Robot_Control/arch/avr/SdCard.cpp similarity index 100% rename from libraries/Robot_Control/SdCard.cpp rename to libraries/Robot_Control/arch/avr/SdCard.cpp diff --git a/libraries/Robot_Control/SdCard.h b/libraries/Robot_Control/arch/avr/SdCard.h similarity index 100% rename from libraries/Robot_Control/SdCard.h rename to libraries/Robot_Control/arch/avr/SdCard.h diff --git a/libraries/Robot_Control/SdInfo.h b/libraries/Robot_Control/arch/avr/SdInfo.h similarity index 100% rename from libraries/Robot_Control/SdInfo.h rename to libraries/Robot_Control/arch/avr/SdInfo.h diff --git a/libraries/Robot_Control/Sensors.cpp b/libraries/Robot_Control/arch/avr/Sensors.cpp similarity index 100% rename from libraries/Robot_Control/Sensors.cpp rename to libraries/Robot_Control/arch/avr/Sensors.cpp diff --git a/libraries/Robot_Control/Squawk.cpp b/libraries/Robot_Control/arch/avr/Squawk.cpp similarity index 100% rename from libraries/Robot_Control/Squawk.cpp rename to libraries/Robot_Control/arch/avr/Squawk.cpp diff --git a/libraries/Robot_Control/Squawk.h b/libraries/Robot_Control/arch/avr/Squawk.h similarity index 100% rename from libraries/Robot_Control/Squawk.h rename to libraries/Robot_Control/arch/avr/Squawk.h diff --git a/libraries/Robot_Control/SquawkSD.cpp b/libraries/Robot_Control/arch/avr/SquawkSD.cpp similarity index 100% rename from libraries/Robot_Control/SquawkSD.cpp rename to libraries/Robot_Control/arch/avr/SquawkSD.cpp diff --git a/libraries/Robot_Control/SquawkSD.h b/libraries/Robot_Control/arch/avr/SquawkSD.h similarity index 100% rename from libraries/Robot_Control/SquawkSD.h rename to libraries/Robot_Control/arch/avr/SquawkSD.h diff --git a/libraries/Robot_Control/Wire.cpp b/libraries/Robot_Control/arch/avr/Wire.cpp similarity index 99% rename from libraries/Robot_Control/Wire.cpp rename to libraries/Robot_Control/arch/avr/Wire.cpp index 4e7a17c47..bfa928486 100644 --- a/libraries/Robot_Control/Wire.cpp +++ b/libraries/Robot_Control/arch/avr/Wire.cpp @@ -23,7 +23,7 @@ extern "C" { #include #include #include - #include "twi.h" + #include "utility/twi.h" } #include "Wire.h" diff --git a/libraries/Robot_Control/Wire.h b/libraries/Robot_Control/arch/avr/Wire.h similarity index 100% rename from libraries/Robot_Control/Wire.h rename to libraries/Robot_Control/arch/avr/Wire.h diff --git a/libraries/Robot_Control/communication.cpp b/libraries/Robot_Control/arch/avr/communication.cpp similarity index 100% rename from libraries/Robot_Control/communication.cpp rename to libraries/Robot_Control/arch/avr/communication.cpp diff --git a/libraries/Robot_Control/glcdfont.c b/libraries/Robot_Control/arch/avr/glcdfont.c similarity index 100% rename from libraries/Robot_Control/glcdfont.c rename to libraries/Robot_Control/arch/avr/glcdfont.c diff --git a/libraries/Robot_Control/helper.cpp b/libraries/Robot_Control/arch/avr/helper.cpp similarity index 100% rename from libraries/Robot_Control/helper.cpp rename to libraries/Robot_Control/arch/avr/helper.cpp diff --git a/libraries/Robot_Control/information.cpp b/libraries/Robot_Control/arch/avr/information.cpp similarity index 100% rename from libraries/Robot_Control/information.cpp rename to libraries/Robot_Control/arch/avr/information.cpp diff --git a/libraries/Robot_Control/keyboard.cpp b/libraries/Robot_Control/arch/avr/keyboard.cpp similarity index 100% rename from libraries/Robot_Control/keyboard.cpp rename to libraries/Robot_Control/arch/avr/keyboard.cpp diff --git a/libraries/Robot_Control/lcd.cpp b/libraries/Robot_Control/arch/avr/lcd.cpp similarity index 100% rename from libraries/Robot_Control/lcd.cpp rename to libraries/Robot_Control/arch/avr/lcd.cpp diff --git a/libraries/Robot_Control/utility/Adafruit_GFX.cpp b/libraries/Robot_Control/arch/avr/utility/Adafruit_GFX.cpp similarity index 100% rename from libraries/Robot_Control/utility/Adafruit_GFX.cpp rename to libraries/Robot_Control/arch/avr/utility/Adafruit_GFX.cpp diff --git a/libraries/Robot_Control/utility/Adafruit_GFX.h b/libraries/Robot_Control/arch/avr/utility/Adafruit_GFX.h similarity index 100% rename from libraries/Robot_Control/utility/Adafruit_GFX.h rename to libraries/Robot_Control/arch/avr/utility/Adafruit_GFX.h diff --git a/libraries/Robot_Control/utility/RobotTextManager.cpp b/libraries/Robot_Control/arch/avr/utility/RobotTextManager.cpp similarity index 100% rename from libraries/Robot_Control/utility/RobotTextManager.cpp rename to libraries/Robot_Control/arch/avr/utility/RobotTextManager.cpp diff --git a/libraries/Robot_Control/utility/RobotTextManager.h b/libraries/Robot_Control/arch/avr/utility/RobotTextManager.h similarity index 100% rename from libraries/Robot_Control/utility/RobotTextManager.h rename to libraries/Robot_Control/arch/avr/utility/RobotTextManager.h diff --git a/libraries/Robot_Control/utility/VirtualKeyboard.cpp b/libraries/Robot_Control/arch/avr/utility/VirtualKeyboard.cpp similarity index 100% rename from libraries/Robot_Control/utility/VirtualKeyboard.cpp rename to libraries/Robot_Control/arch/avr/utility/VirtualKeyboard.cpp diff --git a/libraries/Robot_Control/utility/VirtualKeyboard.h b/libraries/Robot_Control/arch/avr/utility/VirtualKeyboard.h similarity index 100% rename from libraries/Robot_Control/utility/VirtualKeyboard.h rename to libraries/Robot_Control/arch/avr/utility/VirtualKeyboard.h diff --git a/libraries/Robot_Control/utility/scripts_Hello_User.h b/libraries/Robot_Control/arch/avr/utility/scripts_Hello_User.h similarity index 100% rename from libraries/Robot_Control/utility/scripts_Hello_User.h rename to libraries/Robot_Control/arch/avr/utility/scripts_Hello_User.h diff --git a/libraries/Robot_Control/utility/twi.c b/libraries/Robot_Control/arch/avr/utility/twi.c similarity index 100% rename from libraries/Robot_Control/utility/twi.c rename to libraries/Robot_Control/arch/avr/utility/twi.c diff --git a/libraries/Robot_Control/utility/twi.h b/libraries/Robot_Control/arch/avr/utility/twi.h similarity index 100% rename from libraries/Robot_Control/utility/twi.h rename to libraries/Robot_Control/arch/avr/utility/twi.h diff --git a/libraries/Robot_Control/library.properties b/libraries/Robot_Control/library.properties new file mode 100644 index 000000000..f4d18e818 --- /dev/null +++ b/libraries/Robot_Control/library.properties @@ -0,0 +1,10 @@ +name=Robot Control +author=Arduino +email=info@arduino.cc +sentence=This is the library for programming the Control Board of the Arduino Robot. +paragraph=The Arduino robot is made by two independent boards. The Control Board is the top board of the Arduino Robot, with this library you can easily write sketches to control the robot. +url=http://arduino.cc/en/Reference/RobotLibrary +architectures=avr +version=1.0 +dependencies= +core-dependencies=arduino (>=1.5.0) diff --git a/libraries/Robot_Control/ArduinoRobot.h b/libraries/Robot_Control/src/ArduinoRobot.h similarity index 100% rename from libraries/Robot_Control/ArduinoRobot.h rename to libraries/Robot_Control/src/ArduinoRobot.h