Commit 1daa5e16 authored by Dean Camera's avatar Dean Camera
Browse files

Initial restructuring of the core USB driver module to support multiple...

Initial restructuring of the core USB driver module to support multiple architectures in the future.
parent 3832182f
This diff is collapsed.
......@@ -63,7 +63,7 @@
#define __INCLUDE_FROM_AUDIO_DRIVER
/* Includes: */
#include "../HighLevel/USBMode.h"
#include "../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#include "Device/Audio.h"
......
......@@ -64,7 +64,7 @@
#define __INCLUDE_FROM_CDC_DRIVER
/* Includes: */
#include "../HighLevel/USBMode.h"
#include "../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#include "Device/CDC.h"
......
......@@ -51,7 +51,7 @@
#define _AUDIO_CLASS_COMMON_H_
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include <string.h>
......
......@@ -51,7 +51,7 @@
#define _CDC_CLASS_COMMON_H_
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include <string.h>
......
......@@ -51,7 +51,7 @@
#define _HID_CLASS_COMMON_H_
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include "HIDParser.h"
#include <string.h>
......
......@@ -66,14 +66,13 @@
#define __HIDPARSER_H__
/* Includes: */
#include <string.h>
#include <stdbool.h>
#include "../../../../Common/Common.h"
#include "HIDReportData.h"
#include "../Common/HID.h"
#include "../../../../Common/Common.h"
#include <string.h>
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
extern "C" {
......
......@@ -54,7 +54,7 @@
#define __INCLUDE_FROM_AUDIO_DRIVER
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include "Audio.h"
#include <string.h>
......
......@@ -51,7 +51,7 @@
#define _MS_CLASS_COMMON_H_
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include <string.h>
......
......@@ -51,7 +51,7 @@
#define _PRINTER_CLASS_COMMON_H_
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include <string.h>
......
......@@ -54,7 +54,7 @@
#define __INCLUDE_FROM_CDC_DRIVER
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include "CDC.h"
#include <string.h>
......
......@@ -51,7 +51,7 @@
#define _SI_CLASS_COMMON_H_
/* Includes: */
#include "../../HighLevel/StdDescriptors.h"
#include "../../Core/StdDescriptors.h"
#include <string.h>
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#define __INCLUDE_FROM_AUDIO_DRIVER
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#define __INCLUDE_FROM_CDC_DRIVER
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#define __INCLUDE_FROM_HID_DRIVER
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#define __INCLUDE_FROM_MIDI_DRIVER
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#define __INCLUDE_FROM_MS_DRIVER
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#define __INCLUDE_FROM_RNDIS_DRIVER
......
......@@ -65,7 +65,7 @@
#define __INCLUDE_FROM_HID_DRIVER
/* Includes: */
#include "../HighLevel/USBMode.h"
#include "../Core/USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#include "Device/HID.h"
......
......@@ -29,7 +29,8 @@
*/
#define __INCLUDE_FROM_USB_DRIVER
#include "../../HighLevel/USBMode.h"
#include "../../Core/USBMode.h"
#if defined(USB_CAN_BE_HOST)
#define __INCLUDE_FROM_CDC_DRIVER
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment