source: trunk/FirmwareFX2/fx2/usb_descriptors.h@ 164

Last change on this file since 164 was 4, checked in by demin, 15 years ago

initial commit

File size: 1.9 KB
Line 
1/* -*- c++ -*- */
2/*-----------------------------------------------------------------------------
3 * USB descriptor references
4 *-----------------------------------------------------------------------------
5 * Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
6 * Copyright 2003 Free Software Foundation, Inc.
7 *-----------------------------------------------------------------------------
8 * This code is part of usbjtag. usbjtag is free software; you can redistribute
9 * it and/or modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the License,
11 * or (at your option) any later version. usbjtag is distributed in the hope
12 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
13 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details. You should have received a
15 * copy of the GNU General Public License along with this program in the file
16 * COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
17 * St, Fifth Floor, Boston, MA 02110-1301 USA
18 *-----------------------------------------------------------------------------
19 */
20
21extern xdata const char high_speed_device_descr[];
22extern xdata const char high_speed_devqual_descr[];
23extern xdata const char high_speed_config_descr[];
24
25extern xdata const char full_speed_device_descr[];
26extern xdata const char full_speed_devqual_descr[];
27extern xdata const char full_speed_config_descr[];
28
29extern xdata unsigned char nstring_descriptors;
30extern xdata char * xdata string_descriptors[];
31
32/*
33 * We patch these locations with info read from the usrp config eeprom
34 */
35extern xdata char usb_desc_hw_rev_binary_patch_location_0[];
36extern xdata char usb_desc_hw_rev_binary_patch_location_1[];
37extern xdata char usb_desc_hw_rev_ascii_patch_location_0[];
38extern xdata char usb_desc_serial_number_ascii[];
Note: See TracBrowser for help on using the repository browser.