From a93be80d91180b46abce14498d7e591d4a2f44d3 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 19 Jun 2014 23:38:26 +0200 Subject: cleanup --- usbdrv/usbconfig__.h | 105 --------------------------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 usbdrv/usbconfig__.h (limited to 'usbdrv/usbconfig__.h') diff --git a/usbdrv/usbconfig__.h b/usbdrv/usbconfig__.h deleted file mode 100644 index 019b0b9..0000000 --- a/usbdrv/usbconfig__.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef __usbconfig_h_included__ -#define __usbconfig_h_included__ -#if defined(CCCB_COMPATIBLE) -#define USB_CFG_IOPORTNAME D -#define USB_CFG_DMINUS_BIT 1 -#define USB_CFG_DPLUS_BIT 2 -#else -#define USB_CFG_IOPORTNAME B -#define USB_CFG_DMINUS_BIT 0 -#define USB_CFG_DPLUS_BIT 1 -#endif -#ifndef BOOTLOADER -#ifndef USB_HID -#define USB_CFG_HAVE_INTRIN_ENDPOINT 1 -#define USB_CFG_HAVE_INTRIN_ENDPOINT3 1 -#else -#define USB_CFG_HAVE_INTRIN_ENDPOINT 0 -#define USB_CFG_HAVE_INTRIN_ENDPOINT3 0 -#endif -#else -#define USB_CFG_HAVE_INTRIN_ENDPOINT 0 -#define USB_CFG_HAVE_INTRIN_ENDPOINT3 0 -#endif -#define USB_CFG_IMPLEMENT_HALT 0 -#define USB_CFG_INTR_POLL_INTERVAL 10 -#define USB_CFG_IS_SELF_POWERED 0 -#define USB_CFG_MAX_BUS_POWER 120 -#define USB_CFG_SAMPLE_EXACT 1 -#define USB_CFG_IMPLEMENT_FN_WRITE 1 -#ifndef BOOTLOADER -#define USB_CFG_IMPLEMENT_FN_READ 1 -#ifndef USB_HID -#define USB_CFG_IMPLEMENT_FN_WRITEOUT 1 -#else -#define USB_CFG_IMPLEMENT_FN_WRITEOUT 0 -#endif -#define USB_CFG_HAVE_FLOWCONTROL 1 -#else -#define USB_CFG_IMPLEMENT_FN_READ 0 -#endif -#ifndef BOOTLOADER -#ifndef ISAVRISPMKII -#define USB_CFG_VENDOR_ID 0xc0, 0x16 -#ifndef USB_HID -#define USB_CFG_DEVICE_ID 0xe1, 0x05 -#else -#define USB_CFG_DEVICE_ID 0xdc, 0x05 -#endif -#else -#define USB_CFG_VENDOR_ID 0x03, 0xeb -#define USB_CFG_DEVICE_ID 0x21, 0x04 -#endif -#endif -#ifndef ISAVRISPMKII -#define USB_CFG_DEVICE_VERSION 0x00, 0x01 -#else -#define USB_CFG_DEVICE_VERSION 0x02, 0x00 -#endif -#ifndef ISUSBASP -#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'd', 'f', 'i', 's', 'c', 'h', '.', 'o', 'r', 'g' -#define USB_CFG_VENDOR_NAME_LEN 13 -#define USB_CFG_DEVICE_NAME 's', 'c', 'h', 'e', 'i', 'b', 'e' -#define USB_CFG_DEVICE_NAME_LEN 7 -#else -#define USB_CFG_VENDOR_NAME 'w', 'w', 'w', '.', 'f', 'i', 's', 'c', 'h', 'l', '.', 'd', 'e' -#define USB_CFG_VENDOR_NAME_LEN 13 -#define USB_CFG_DEVICE_NAME 'U', 'S', 'B', 'a', 's', 'p' -#define USB_CFG_DEVICE_NAME_LEN 6 -#endif -#define USB_CFG_SERIAL_NUMBER_LENGTH 0 -#if defined(BOOTLOADER) || defined(USB_HID) -#define USB_CFG_DEVICE_CLASS 0xff -#define USB_CFG_DEVICE_SUBCLASS 0 -#define USB_CFG_INTERFACE_CLASS 0 -#define USB_CFG_INTERFACE_SUBCLASS 0 -#define USB_CFG_INTERFACE_PROTOCOL 0 -#else -#define USB_CFG_DEVICE_CLASS 2 -#define USB_CFG_DEVICE_SUBCLASS 0 -#ifndef ISAVRISPMKII -#define USB_CFG_INTERFACE_CLASS 0x02 /* CDC class */ -#define USB_CFG_INTERFACE_SUBCLASS 2 /* Abstract (Modem) */ -#define USB_CFG_INTERFACE_PROTOCOL 1 /* AT-Commands */ -#else -#define USB_CFG_INTERFACE_CLASS 0xff /* Vendor specific */ -#define USB_CFG_INTERFACE_SUBCLASS 0 /* none */ -#define USB_CFG_INTERFACE_PROTOCOL 0 /* none */ -#endif -#endif -#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 0 /* total length of report descriptor */ -#ifndef BOOTLOADER -#ifndef USB_HID -#define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC -#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC -#define USB_CFG_DESCR_PROPS_STRINGS 0 -#define USB_CFG_DESCR_PROPS_STRING_0 0 -#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0 -#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0 -#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0 -#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC -#define USB_CFG_DESCR_PROPS_HID_REPORT 0 -#define USB_CFG_DESCR_PROPS_UNKNOWN 0 -#endif -#endif -#endif /* __usbconfig_h_included__ */ -- cgit v1.2.1