From 0d3a3f7536b6b2f22858f82541c383aa3759aa15 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 30 Aug 2009 10:43:41 +0000 Subject: [PATCH] Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement in next release. --- LUFA.pnproj | 2 +- LUFA/Drivers/USB/Class/Audio.h | 5 --- LUFA/Drivers/USB/Class/Host/Audio.c | 39 ----------------- LUFA/Drivers/USB/Class/Host/Audio.h | 66 ----------------------------- LUFA/Drivers/USB/Class/Host/MIDI.c | 39 ----------------- LUFA/Drivers/USB/Class/Host/MIDI.h | 66 ----------------------------- LUFA/Drivers/USB/Class/MIDI.h | 5 --- LUFA/Drivers/USB/USB.h | 3 -- LUFA/ManPages/FutureChanges.txt | 4 -- 9 files changed, 1 insertion(+), 228 deletions(-) delete mode 100644 LUFA/Drivers/USB/Class/Host/Audio.c delete mode 100644 LUFA/Drivers/USB/Class/Host/Audio.h delete mode 100644 LUFA/Drivers/USB/Class/Host/MIDI.c delete mode 100644 LUFA/Drivers/USB/Class/Host/MIDI.h diff --git a/LUFA.pnproj b/LUFA.pnproj index c0b6605e7e..16225f97b7 100644 --- a/LUFA.pnproj +++ b/LUFA.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/LUFA/Drivers/USB/Class/Audio.h b/LUFA/Drivers/USB/Class/Audio.h index 0597bfd5ce..cb5dbb20bd 100644 --- a/LUFA/Drivers/USB/Class/Audio.h +++ b/LUFA/Drivers/USB/Class/Audio.h @@ -34,7 +34,6 @@ * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: * - LUFA/Drivers/USB/Class/Device/Audio.c - * - LUFA/Drivers/USB/Class/Host/Audio.c * * \section Module Description * Audio Class Driver module. This module contains an internal implementation of the USB Audio Class, for both @@ -57,10 +56,6 @@ #include "Device/Audio.h" #endif - #if defined(USB_CAN_BE_HOST) - #include "Host/Audio.h" - #endif - #endif /** @} */ diff --git a/LUFA/Drivers/USB/Class/Host/Audio.c b/LUFA/Drivers/USB/Class/Host/Audio.c deleted file mode 100644 index c0ec2e94dd..0000000000 --- a/LUFA/Drivers/USB/Class/Host/Audio.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2009. - - dean [at] fourwalledcubicle [dot] com - www.fourwalledcubicle.com -*/ - -/* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, and distribute this software - and its documentation for any purpose and without fee is hereby - granted, provided that the above copyright notice appear in all - copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaim all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -#include "../../HighLevel/USBMode.h" -#if defined(USB_CAN_BE_HOST) - -#define INCLUDE_FROM_AUDIO_CLASS_HOST_C -#include "Audio.h" - -#warning The Audio Host mode Class driver is currently incomplete and is for preview purposes only. - -#endif diff --git a/LUFA/Drivers/USB/Class/Host/Audio.h b/LUFA/Drivers/USB/Class/Host/Audio.h deleted file mode 100644 index d3edcf9075..0000000000 --- a/LUFA/Drivers/USB/Class/Host/Audio.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2009. - - dean [at] fourwalledcubicle [dot] com - www.fourwalledcubicle.com -*/ - -/* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, and distribute this software - and its documentation for any purpose and without fee is hereby - granted, provided that the above copyright notice appear in all - copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaim all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -/** \ingroup Group_USBClassAudio - * @defgroup Group_USBClassAudioHost Audio Class Host Mode Driver - * - * \section Sec_Dependencies Module Source Dependencies - * The following files must be built with any user project that uses this module: - * - LUFA/Drivers/USB/Class/Host/Audio.c - * - * \section Module Description - * Host Mode USB Class driver framework interface, for the Audio USB Class driver. - * - * @{ - */ - -#ifndef __AUDIO_CLASS_HOST_H__ -#define __AUDIO_CLASS_HOST_H__ - - /* Includes: */ - #include "../../USB.h" - #include "../Common/Audio.h" - - /* Enable C linkage for C++ Compilers: */ - #if defined(__cplusplus) - extern "C" { - #endif - - /* Public Interface - May be used in end-application: */ - /* Function Prototypes: */ - - /* Disable C linkage for C++ Compilers: */ - #if defined(__cplusplus) - } - #endif - -#endif - -/** @} */ diff --git a/LUFA/Drivers/USB/Class/Host/MIDI.c b/LUFA/Drivers/USB/Class/Host/MIDI.c deleted file mode 100644 index 43df5cc40a..0000000000 --- a/LUFA/Drivers/USB/Class/Host/MIDI.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2009. - - dean [at] fourwalledcubicle [dot] com - www.fourwalledcubicle.com -*/ - -/* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, and distribute this software - and its documentation for any purpose and without fee is hereby - granted, provided that the above copyright notice appear in all - copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaim all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -#include "../../HighLevel/USBMode.h" -#if defined(USB_CAN_BE_HOST) - -#define INCLUDE_FROM_MIDI_CLASS_HOST_C -#include "MIDI.h" - -#warning The MIDI Host mode Class driver is currently incomplete and is for preview purposes only. - -#endif diff --git a/LUFA/Drivers/USB/Class/Host/MIDI.h b/LUFA/Drivers/USB/Class/Host/MIDI.h deleted file mode 100644 index b43f9e637f..0000000000 --- a/LUFA/Drivers/USB/Class/Host/MIDI.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2009. - - dean [at] fourwalledcubicle [dot] com - www.fourwalledcubicle.com -*/ - -/* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, and distribute this software - and its documentation for any purpose and without fee is hereby - granted, provided that the above copyright notice appear in all - copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaim all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -/** \ingroup Group_USBClassMIDI - * @defgroup Group_USBClassMIDIHost MIDI Class Host Mode Driver - * - * \section Sec_Dependencies Module Source Dependencies - * The following files must be built with any user project that uses this module: - * - LUFA/Drivers/USB/Class/Host/Audio.c - * - * \section Module Description - * Host Mode USB Class driver framework interface, for the MIDI USB Class driver. - * - * @{ - */ - -#ifndef __MIDI_CLASS_HOST_H__ -#define __MIDI_CLASS_HOST_H__ - - /* Includes: */ - #include "../../USB.h" - #include "../Common/MIDI.h" - - /* Enable C linkage for C++ Compilers: */ - #if defined(__cplusplus) - extern "C" { - #endif - - /* Public Interface - May be used in end-application: */ - /* Function Prototypes: */ - - /* Disable C linkage for C++ Compilers: */ - #if defined(__cplusplus) - } - #endif - -#endif - -/** @} */ diff --git a/LUFA/Drivers/USB/Class/MIDI.h b/LUFA/Drivers/USB/Class/MIDI.h index aa4daa210b..a423e0bfdb 100644 --- a/LUFA/Drivers/USB/Class/MIDI.h +++ b/LUFA/Drivers/USB/Class/MIDI.h @@ -34,7 +34,6 @@ * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: * - LUFA/Drivers/USB/Class/Device/MIDI.c - * - LUFA/Drivers/USB/Class/Host/MIDI.c * * \section Module Description * MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device @@ -60,10 +59,6 @@ #include "Device/MIDI.h" #endif - #if defined(USB_CAN_BE_HOST) - #include "Host/MIDI.h" - #endif - #endif /** @} */ diff --git a/LUFA/Drivers/USB/USB.h b/LUFA/Drivers/USB/USB.h index 1b2cd65f80..bac110c100 100644 --- a/LUFA/Drivers/USB/USB.h +++ b/LUFA/Drivers/USB/USB.h @@ -68,9 +68,6 @@ * Multiple device mode class drivers can be used within a project, including multiple instances of the * same class driver. In this way, USB Hosts and Devices can be made quickly using the internal class drivers * so that more time and effort can be put into the end application instead of the USB protocol. - * - * \warning The Host mode Class Drivers are currently incomplete and are included for preview purposes only. The Host - * mode class drivers should not be used in any user project until they have been completed in a later revision. */ #ifndef __USB_H__ diff --git a/LUFA/ManPages/FutureChanges.txt b/LUFA/ManPages/FutureChanges.txt index d6d696b7c0..95d1150a3d 100644 --- a/LUFA/ManPages/FutureChanges.txt +++ b/LUFA/ManPages/FutureChanges.txt @@ -13,11 +13,7 @@ * * Targeted for This Release: * - Finish Host Mode Class Drivers - * ( ) Audio - * (C) CDC * (S) HID - * ( ) MIDI - * (C) Mass Storage * ( ) Still Image * - Add overviews of each of the officially supported boards to the manual * - Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles