/elec/audio-switcher

To get this branch, use:
bzr branch http://bzr.ed.am/elec/audio-switcher
1 by Tim Marston
initial commit
1
/*
2
             LUFA Library
3
     Copyright (C) Dean Camera, 2012.
4
5
  dean [at] fourwalledcubicle [dot] com
6
           www.lufa-lib.org
7
*/
8
9
/*
10
  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12
  Permission to use, copy, modify, distribute, and sell this
13
  software and its documentation for any purpose is hereby granted
14
  without fee, provided that the above copyright notice appear in
15
  all copies and that both that the copyright notice and this
16
  permission notice and warranty disclaimer appear in supporting
17
  documentation, and that the name of the author not be used in
18
  advertising or publicity pertaining to distribution of the
19
  software without specific, written prior permission.
20
21
  The author disclaim all warranties with regard to this
22
  software, including all implied warranties of merchantability
23
  and fitness.  In no event shall the author be liable for any
24
  special, indirect or consequential damages or any damages
25
  whatsoever resulting from loss of use, data or profits, whether
26
  in an action of contract, negligence or other tortious action,
27
  arising out of or in connection with the use or performance of
28
  this software.
29
*/
30
31
/** \file
32
 *  \brief LUFA Library Configuration Header File
33
 *
34
 *  This header file is used to configure LUFA's compile time options,
35
 *  as an alternative to the compile time constants supplied through
36
 *  a makefile.
37
 *
38
 *  For information on what each token does, refer to the LUFA
39
 *  manual section "Summary of Compile Tokens".
40
 */
41
42
#ifndef _LUFA_CONFIG_H_
43
#define _LUFA_CONFIG_H_
44
45
	#if (ARCH == ARCH_AVR8)
46
47
		/* Non-USB Related Configuration Tokens: */
48
//		#define DISABLE_TERMINAL_CODES
49
50
		/* USB Class Driver Related Tokens: */
51
//		#define HID_HOST_BOOT_PROTOCOL_ONLY
52
//		#define HID_STATETABLE_STACK_DEPTH       {Insert Value Here}
53
//		#define HID_USAGE_STACK_DEPTH            {Insert Value Here}
54
//		#define HID_MAX_COLLECTIONS              {Insert Value Here}
55
//		#define HID_MAX_REPORTITEMS              {Insert Value Here}
56
//		#define HID_MAX_REPORT_IDS               {Insert Value Here}
57
//		#define NO_CLASS_DRIVER_AUTOFLUSH
58
59
		/* General USB Driver Related Tokens: */
60
//		#define ORDERED_EP_CONFIG
61
		#define USE_STATIC_OPTIONS               (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)
62
		#define USB_DEVICE_ONLY
63
//		#define USB_HOST_ONLY
64
//		#define USB_STREAM_TIMEOUT_MS            {Insert Value Here}
65
//		#define NO_LIMITED_CONTROLLER_CONNECT
66
//		#define NO_SOF_EVENTS
67
68
		/* USB Device Mode Driver Related Tokens: */
69
//		#define USE_RAM_DESCRIPTORS
70
		#define USE_FLASH_DESCRIPTORS
71
//		#define USE_EEPROM_DESCRIPTORS
72
//		#define NO_INTERNAL_SERIAL
73
		#define FIXED_CONTROL_ENDPOINT_SIZE      8
74
//		#define DEVICE_STATE_AS_GPIOR            {Insert Value Here}
75
		#define FIXED_NUM_CONFIGURATIONS         1
76
//		#define CONTROL_ONLY_DEVICE
77
		#define INTERRUPT_CONTROL_ENDPOINT
78
//		#define NO_DEVICE_REMOTE_WAKEUP
79
//		#define NO_DEVICE_SELF_POWER
80
81
		/* USB Host Mode Driver Related Tokens: */
82
//		#define HOST_STATE_AS_GPIOR              {Insert Value Here}
83
//		#define USB_HOST_TIMEOUT_MS              {Insert Value Here}
84
//		#define HOST_DEVICE_SETTLE_DELAY_MS	     {Insert Value Here}
85
//      #define NO_AUTO_VBUS_MANAGEMENT
86
//      #define INVERTED_VBUS_ENABLE_LINE
87
88
	#else
89
90
		#error Unsupported architecture for this LUFA configuration file.
91
92
	#endif
93
#endif