aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx3/b200/bootloader/usb_descriptors.h
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2019-04-11 15:14:37 -0500
committerMartin Braun <martin.braun@ettus.com>2019-04-11 15:21:53 -0700
commitc1e0e7329615806516d9ec3391a3fbf9e3a08852 (patch)
tree5c9d4c6e69a7e61a2cf8bd3f6fdd201b56ebff3a /firmware/fx3/b200/bootloader/usb_descriptors.h
parent3642ac013e9b7eaf7d454790c6a1c7387b0238c4 (diff)
downloaduhd-c1e0e7329615806516d9ec3391a3fbf9e3a08852.tar.gz
uhd-c1e0e7329615806516d9ec3391a3fbf9e3a08852.tar.bz2
uhd-c1e0e7329615806516d9ec3391a3fbf9e3a08852.zip
b200: add custom bootloader
- Adds custom bootloader code - Refactor common functions in firmware and bootloader
Diffstat (limited to 'firmware/fx3/b200/bootloader/usb_descriptors.h')
-rw-r--r--firmware/fx3/b200/bootloader/usb_descriptors.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/firmware/fx3/b200/bootloader/usb_descriptors.h b/firmware/fx3/b200/bootloader/usb_descriptors.h
new file mode 100644
index 000000000..8a7942327
--- /dev/null
+++ b/firmware/fx3/b200/bootloader/usb_descriptors.h
@@ -0,0 +1,26 @@
+//
+// Copyright 2019 Ettus Research, a National Instruments Brand
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+
+/* Bootloader's unique config and string descriptors. */
+
+/* Bootloader Full Speed Configuration Descriptor */
+extern const unsigned char bl_fs_config_desc[];
+
+/* Bootloader High Speed Configuration Descriptor */
+extern const unsigned char bl_hs_config_desc[];
+
+/* Bootloader Super Speed Configuration Descriptor */
+extern const unsigned char bl_ss_config_desc[];
+
+/* Bootloader Manufacturer String Descriptor */
+extern const unsigned char bl_manufacturer_desc[];
+
+/* Bootloader Product String Descriptor */
+extern const unsigned char bl_product_desc[];
+
+/* Bootloader Device Serial String Descriptor */
+extern const unsigned char bl_dev_serial_desc[];
+