Added arduino files

This commit is contained in:
2018-09-01 19:39:16 +10:00
parent 396cee5bda
commit a5d366590e
2 changed files with 251 additions and 0 deletions

18
usb_desc.c Normal file
View File

@@ -0,0 +1,18 @@
#include <usb_names.h>
#define MANUFACTURER_NAME {'L','i','t','r','u','v'}
#define MANUFACTURER_NAME_LEN 6
#define PRODUCT_NAME {'J','6',' ', 'B', 'i', 'g', 'k', 'n', 'o', 'b'}
#define PRODUCT_NAME_LEN 10
struct usb_string_descriptor_struct usb_string_manufacturer_name = {
2 + MANUFACTURER_NAME_LEN * 2,
3,
MANUFACTURER_NAME
};
struct usb_string_descriptor_struct usb_string_product_name = {
2 + PRODUCT_NAME_LEN * 2,
3,
PRODUCT_NAME
};