1 |
2 |
ktt1 |
/******************************************************************************/
|
2 |
|
|
/* _ _ __ ____ */
|
3 |
|
|
/* / / | | / _| | __| */
|
4 |
|
|
/* | |_| | _ _ / / | |_ */
|
5 |
|
|
/* | _ | | | | | | | | _| */
|
6 |
|
|
/* | | | | | |_| | \ \_ | |__ */
|
7 |
|
|
/* |_| |_| \_____| \__| |____| microLab */
|
8 |
|
|
/* */
|
9 |
|
|
/* Bern University of Applied Sciences (BFH) */
|
10 |
|
|
/* Quellgasse 21 */
|
11 |
|
|
/* Room HG 4.33 */
|
12 |
|
|
/* 2501 Biel/Bienne */
|
13 |
|
|
/* Switzerland */
|
14 |
|
|
/* */
|
15 |
|
|
/* http://www.microlab.ch */
|
16 |
|
|
/******************************************************************************/
|
17 |
|
|
/* GECKO4COM
|
18 |
|
|
*
|
19 |
|
|
*
|
20 |
|
|
* This program is free software: you can redistribute it and/or modify
|
21 |
|
|
* it under the terms of the GNU General Public License as published by
|
22 |
|
|
* the Free Software Foundation, either version 3 of the License, or
|
23 |
|
|
* (at your option) any later version.
|
24 |
|
|
*
|
25 |
|
|
* This program is distributed in the hope that it will be useful,
|
26 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
27 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
28 |
|
|
* GNU General Public License for more details.
|
29 |
|
|
* You should have received a copy of the GNU General Public License
|
30 |
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
31 |
|
|
*/
|
32 |
|
|
|
33 |
|
|
/*********************************************************************/
|
34 |
|
|
/** \file usb_descriptors.h
|
35 |
|
|
*********************************************************************
|
36 |
|
|
* \brief header file for the USB descriptors. The descriptors are
|
37 |
|
|
* defined outside in the usb_descriptor.a51 file.
|
38 |
|
|
*
|
39 |
|
|
* \author GNUradio, Christoph Zimmermann bfh.ch
|
40 |
|
|
*
|
41 |
|
|
*/
|
42 |
|
|
|
43 |
|
|
/** USB High speed device descriptor */
|
44 |
|
|
extern xdata const char high_speed_device_descr[];
|
45 |
|
|
/** USB High speed device qualifier descriptor */
|
46 |
|
|
extern xdata const char high_speed_devqual_descr[];
|
47 |
|
|
/** USB High speed configuration descriptor */
|
48 |
|
|
extern xdata const char high_speed_config_descr[];
|
49 |
|
|
|
50 |
|
|
/** USB Full speed device descriptor */
|
51 |
|
|
extern xdata const char full_speed_device_descr[];
|
52 |
|
|
/** USB Full speed device qualifier descriptor */
|
53 |
|
|
extern xdata const char full_speed_devqual_descr[];
|
54 |
|
|
/** USB Full speed configuration descriptor */
|
55 |
|
|
extern xdata const char full_speed_config_descr[];
|
56 |
|
|
|
57 |
|
|
#ifdef USB_DFU_SUPPORT
|
58 |
|
|
/** USB DFU mode device descriptor */
|
59 |
|
|
extern xdata const char dfu_mode_device_descr[];
|
60 |
|
|
/** USB DFU mode configuration descriptor */
|
61 |
|
|
extern xdata const char dfu_mode_config_descr[];
|
62 |
|
|
/** USB DFU mode functional descriptor */
|
63 |
|
|
extern xdata const char dfu_mode_functional_descr[];
|
64 |
|
|
#endif
|
65 |
|
|
|
66 |
|
|
/** Number of USB String descriptors available */
|
67 |
|
|
extern xdata unsigned char nstring_descriptors;
|
68 |
|
|
|
69 |
|
|
/** USB String descriptors */
|
70 |
|
|
extern xdata char * xdata string_descriptors[];
|
71 |
|
|
|
72 |
|
|
/** We patch these locations with info read from the config eeprom */
|
73 |
|
|
extern xdata char usb_desc_hw_rev_binary_patch_location_0[];
|
74 |
|
|
/** We patch these locations with info read from the config eeprom */
|
75 |
|
|
extern xdata char usb_desc_hw_rev_binary_patch_location_1[];
|
76 |
|
|
/** We patch these locations with info read from the config eeprom */
|
77 |
|
|
extern xdata char usb_desc_hw_rev_binary_patch_location_2[];
|
78 |
|
|
/** We patch these locations with info read from the config eeprom */
|
79 |
|
|
/*extern xdata char usb_desc_hw_rev_ascii_patch_location_0[];*/
|
80 |
|
|
/** We patch these locations with info read from the config eeprom */
|
81 |
|
|
extern xdata char usb_desc_serial_number_ascii[];
|
82 |
|
|
|