From 66028b983bb866aa84d91ed204242795a9e8954b Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 27 Dec 2014 17:37:12 +0100 Subject: [PATCH] Moved USB-Core into a separate folder --- Arduino.h => arduino/Arduino.h | 8 ++++---- CDC.cpp => arduino/USB-Core/CDC.cpp | 0 CDC.h => arduino/USB-Core/CDC.h | 0 Consumer.cpp => arduino/USB-Core/Consumer.cpp | 0 Consumer.h => arduino/USB-Core/Consumer.h | 0 Gamepad.cpp => arduino/USB-Core/Gamepad.cpp | 0 Gamepad.h => arduino/USB-Core/Gamepad.h | 0 HID.cpp => arduino/USB-Core/HID.cpp | 0 HID.h => arduino/USB-Core/HID.h | 0 HIDAPI.h => arduino/USB-Core/HIDAPI.h | 0 HIDTables.h => arduino/USB-Core/HIDTables.h | 0 Keyboard.cpp => arduino/USB-Core/Keyboard.cpp | 0 Keyboard.h => arduino/USB-Core/Keyboard.h | 0 Mouse.cpp => arduino/USB-Core/Mouse.cpp | 0 Mouse.h => arduino/USB-Core/Mouse.h | 0 System.cpp => arduino/USB-Core/System.cpp | 0 System.h => arduino/USB-Core/System.h | 0 USBAPI.h => arduino/USB-Core/USBAPI.h | 0 USBCore.cpp => arduino/USB-Core/USBCore.cpp | 0 USBCore.h => arduino/USB-Core/USBCore.h | 0 USBDesc.h => arduino/USB-Core/USBDesc.h | 0 wiring_private.h => arduino/wiring_private.h | 0 22 files changed, 4 insertions(+), 4 deletions(-) rename Arduino.h => arduino/Arduino.h (98%) rename CDC.cpp => arduino/USB-Core/CDC.cpp (100%) rename CDC.h => arduino/USB-Core/CDC.h (100%) rename Consumer.cpp => arduino/USB-Core/Consumer.cpp (100%) rename Consumer.h => arduino/USB-Core/Consumer.h (100%) rename Gamepad.cpp => arduino/USB-Core/Gamepad.cpp (100%) rename Gamepad.h => arduino/USB-Core/Gamepad.h (100%) rename HID.cpp => arduino/USB-Core/HID.cpp (100%) rename HID.h => arduino/USB-Core/HID.h (100%) rename HIDAPI.h => arduino/USB-Core/HIDAPI.h (100%) rename HIDTables.h => arduino/USB-Core/HIDTables.h (100%) rename Keyboard.cpp => arduino/USB-Core/Keyboard.cpp (100%) rename Keyboard.h => arduino/USB-Core/Keyboard.h (100%) rename Mouse.cpp => arduino/USB-Core/Mouse.cpp (100%) rename Mouse.h => arduino/USB-Core/Mouse.h (100%) rename System.cpp => arduino/USB-Core/System.cpp (100%) rename System.h => arduino/USB-Core/System.h (100%) rename USBAPI.h => arduino/USB-Core/USBAPI.h (100%) rename USBCore.cpp => arduino/USB-Core/USBCore.cpp (100%) rename USBCore.h => arduino/USB-Core/USBCore.h (100%) rename USBDesc.h => arduino/USB-Core/USBDesc.h (100%) rename wiring_private.h => arduino/wiring_private.h (100%) diff --git a/Arduino.h b/arduino/Arduino.h similarity index 98% rename from Arduino.h rename to arduino/Arduino.h index 192c6e8..8340ca3 100644 --- a/Arduino.h +++ b/arduino/Arduino.h @@ -221,10 +221,10 @@ extern const uint8_t PROGMEM digital_pin_to_timer_PGM[]; #include "WCharacter.h" #include "WString.h" #include "HardwareSerial.h" -#include "USBAPI.h" -#include "CDC.h" -#include "HID.h" -#include "HIDTables.h" +#include "USB-Core/USBAPI.h" +#include "USB-Core/CDC.h" +#include "USB-Core/HID.h" +#include "USB-Core/HIDTables.h" #if defined(HAVE_HWSERIAL0) && defined(HAVE_CDCSERIAL) #error "Targets with both UART0 and CDC serial not supported" diff --git a/CDC.cpp b/arduino/USB-Core/CDC.cpp similarity index 100% rename from CDC.cpp rename to arduino/USB-Core/CDC.cpp diff --git a/CDC.h b/arduino/USB-Core/CDC.h similarity index 100% rename from CDC.h rename to arduino/USB-Core/CDC.h diff --git a/Consumer.cpp b/arduino/USB-Core/Consumer.cpp similarity index 100% rename from Consumer.cpp rename to arduino/USB-Core/Consumer.cpp diff --git a/Consumer.h b/arduino/USB-Core/Consumer.h similarity index 100% rename from Consumer.h rename to arduino/USB-Core/Consumer.h diff --git a/Gamepad.cpp b/arduino/USB-Core/Gamepad.cpp similarity index 100% rename from Gamepad.cpp rename to arduino/USB-Core/Gamepad.cpp diff --git a/Gamepad.h b/arduino/USB-Core/Gamepad.h similarity index 100% rename from Gamepad.h rename to arduino/USB-Core/Gamepad.h diff --git a/HID.cpp b/arduino/USB-Core/HID.cpp similarity index 100% rename from HID.cpp rename to arduino/USB-Core/HID.cpp diff --git a/HID.h b/arduino/USB-Core/HID.h similarity index 100% rename from HID.h rename to arduino/USB-Core/HID.h diff --git a/HIDAPI.h b/arduino/USB-Core/HIDAPI.h similarity index 100% rename from HIDAPI.h rename to arduino/USB-Core/HIDAPI.h diff --git a/HIDTables.h b/arduino/USB-Core/HIDTables.h similarity index 100% rename from HIDTables.h rename to arduino/USB-Core/HIDTables.h diff --git a/Keyboard.cpp b/arduino/USB-Core/Keyboard.cpp similarity index 100% rename from Keyboard.cpp rename to arduino/USB-Core/Keyboard.cpp diff --git a/Keyboard.h b/arduino/USB-Core/Keyboard.h similarity index 100% rename from Keyboard.h rename to arduino/USB-Core/Keyboard.h diff --git a/Mouse.cpp b/arduino/USB-Core/Mouse.cpp similarity index 100% rename from Mouse.cpp rename to arduino/USB-Core/Mouse.cpp diff --git a/Mouse.h b/arduino/USB-Core/Mouse.h similarity index 100% rename from Mouse.h rename to arduino/USB-Core/Mouse.h diff --git a/System.cpp b/arduino/USB-Core/System.cpp similarity index 100% rename from System.cpp rename to arduino/USB-Core/System.cpp diff --git a/System.h b/arduino/USB-Core/System.h similarity index 100% rename from System.h rename to arduino/USB-Core/System.h diff --git a/USBAPI.h b/arduino/USB-Core/USBAPI.h similarity index 100% rename from USBAPI.h rename to arduino/USB-Core/USBAPI.h diff --git a/USBCore.cpp b/arduino/USB-Core/USBCore.cpp similarity index 100% rename from USBCore.cpp rename to arduino/USB-Core/USBCore.cpp diff --git a/USBCore.h b/arduino/USB-Core/USBCore.h similarity index 100% rename from USBCore.h rename to arduino/USB-Core/USBCore.h diff --git a/USBDesc.h b/arduino/USB-Core/USBDesc.h similarity index 100% rename from USBDesc.h rename to arduino/USB-Core/USBDesc.h diff --git a/wiring_private.h b/arduino/wiring_private.h similarity index 100% rename from wiring_private.h rename to arduino/wiring_private.h