forked from mfulz_github/qmk_firmware
Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement in next release.
This commit is contained in:
parent
0f51db56c0
commit
0d3a3f7536
File diff suppressed because one or more lines are too long
|
@ -34,7 +34,6 @@
|
||||||
* \section Sec_Dependencies Module Source Dependencies
|
* \section Sec_Dependencies Module Source Dependencies
|
||||||
* The following files must be built with any user project that uses this module:
|
* 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/Device/Audio.c
|
||||||
* - LUFA/Drivers/USB/Class/Host/Audio.c
|
|
||||||
*
|
*
|
||||||
* \section Module Description
|
* \section Module Description
|
||||||
* Audio Class Driver module. This module contains an internal implementation of the USB Audio Class, for both
|
* 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"
|
#include "Device/Audio.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(USB_CAN_BE_HOST)
|
|
||||||
#include "Host/Audio.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
|
||||||
|
|
||||||
/** @} */
|
|
|
@ -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
|
|
|
@ -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
|
|
||||||
|
|
||||||
/** @} */
|
|
|
@ -34,7 +34,6 @@
|
||||||
* \section Sec_Dependencies Module Source Dependencies
|
* \section Sec_Dependencies Module Source Dependencies
|
||||||
* The following files must be built with any user project that uses this module:
|
* 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/Device/MIDI.c
|
||||||
* - LUFA/Drivers/USB/Class/Host/MIDI.c
|
|
||||||
*
|
*
|
||||||
* \section Module Description
|
* \section Module Description
|
||||||
* MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device
|
* 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"
|
#include "Device/MIDI.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(USB_CAN_BE_HOST)
|
|
||||||
#include "Host/MIDI.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -68,9 +68,6 @@
|
||||||
* Multiple device mode class drivers can be used within a project, including multiple instances of the
|
* 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
|
* 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.
|
* 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__
|
#ifndef __USB_H__
|
||||||
|
|
|
@ -13,11 +13,7 @@
|
||||||
*
|
*
|
||||||
* <b>Targeted for This Release:</b>
|
* <b>Targeted for This Release:</b>
|
||||||
* - Finish Host Mode Class Drivers
|
* - Finish Host Mode Class Drivers
|
||||||
* ( ) Audio
|
|
||||||
* (C) CDC
|
|
||||||
* (S) HID
|
* (S) HID
|
||||||
* ( ) MIDI
|
|
||||||
* (C) Mass Storage
|
|
||||||
* ( ) Still Image
|
* ( ) Still Image
|
||||||
* - Add overviews of each of the officially supported boards to the manual
|
* - 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
|
* - Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles
|
||||||
|
|
Loading…
Reference in New Issue