@ -23,7 +23,7 @@
# endif
// <s> Language IDs
// <i> Language IDs in c format, split by comma (E.g., 0x0409 ...)
// <id> usb_du fd_langid
// <id> usb_dfu d_langid
# ifndef CONF_USB_DFUD_LANGID
# define CONF_USB_DFUD_LANGID "0x0409"
# endif
@ -69,33 +69,33 @@
// <0x0010=> 16 bytes
// <0x0020=> 32 bytes
// <0x0040=> 64 bytes
// <id> usb_du fd_bmaxpksz0
// <id> usb_dfu d_bmaxpksz0
# ifndef CONF_USB_DFUD_BMAXPKSZ0
# define CONF_USB_DFUD_BMAXPKSZ0 0x40
# endif
// <o> idVendor <0x0000-0xFFFF>
// <0x1d50=> OpenMoko
// <id> usb_octsim _idvendor
# ifndef CONF_USB_OCTSIM _IDVENDOR
# define CONF_USB_OCTSIM _IDVENDOR 0x1d50
// <id> usb_dfud _idvendor
# ifndef CONF_USB_OPENMOKO _IDVENDOR
# define CONF_USB_OPENMOKO _IDVENDOR 0x1d50
# endif
// <o> idProduct <0x0000-0xFFFF>
// <0x6140=> sysmoOCTSIM
// <id> usb_du fd_idproduct
# ifndef CONF_USB_OCT SI M_IDPRODUCT
# define CONF_USB_OCT SI M_IDPRODUCT 0x6140
// <0x6140=> osmo-ASF4-DFU
// <id> usb_dfu d_idproduct
# ifndef CONF_USB_OSMOASF4DFU _IDPRODUCT
# define CONF_USB_OSMOASF4DFU _IDPRODUCT 0x6140
# endif
// <o> bcdDevice <0x0000-0xFFFF>
// <id> usb_du fd_bcddevice
// <id> usb_dfu d_bcddevice
# ifndef CONF_USB_DFUD_BCDDEVICE
# define CONF_USB_DFUD_BCDDEVICE 0x000
# endif
// <e> Enable string descriptor of iManufact
// <id> usb_du fd_imanufact_en
// <id> usb_dfu d_imanufact_en
# ifndef CONF_USB_DFUD_IMANUFACT_EN
# define CONF_USB_DFUD_IMANUFACT_EN 1
# endif
@ -105,7 +105,7 @@
# endif
// <s> Unicode string of iManufact
// <id> usb_du fd_imanufact_str
// <id> usb_dfu d_imanufact_str
# ifndef CONF_USB_DFUD_IMANUFACT_STR
# define CONF_USB_DFUD_IMANUFACT_STR "osmocom"
# endif
@ -117,7 +117,7 @@
// </e>
// <e> Enable string descriptor of iProduct
// <id> usb_du fd_iproduct_en
// <id> usb_dfu d_iproduct_en
# ifndef CONF_USB_DFUD_IPRODUCT_EN
# define CONF_USB_DFUD_IPRODUCT_EN 1
# endif
@ -128,7 +128,7 @@
# endif
// <s> Unicode string of iProduct
// <id> usb_du fd_iproduct_str
// <id> usb_dfu d_iproduct_str
# ifndef CONF_USB_DFUD_IPRODUCT_STR
# define CONF_USB_DFUD_IPRODUCT_STR "osmo-ASF4-DFU"
# endif
@ -140,7 +140,7 @@
// </e>
// <e> Enable string descriptor of iSerialNum
// <id> usb_du fd_iserialnum_en
// <id> usb_dfu d_iserialnum_en
# ifndef CONF_USB_DFUD_ISERIALNUM_EN
# define CONF_USB_DFUD_ISERIALNUM_EN 0
# endif
@ -152,7 +152,7 @@
# endif
// <s> Unicode string of iSerialNum
// <id> usb_du fd_iserialnum_str
// <id> usb_dfu d_iserialnum_str
# ifndef CONF_USB_DFUD_ISERIALNUM_STR
# define CONF_USB_DFUD_ISERIALNUM_STR "123456789ABCDEF"
# endif
@ -164,7 +164,7 @@
// </e>
// <o> bNumConfigurations <0x01-0xFF>
// <id> usb_du fd_bnumconfig
// <id> usb_dfu d_bnumconfig
# ifndef CONF_USB_DFUD_BNUMCONFIG
# define CONF_USB_DFUD_BNUMCONFIG 0x1
# endif
@ -174,25 +174,25 @@
// <h> DFU Configuration Descriptor
// <o> wTotalLength <0x01-0xFF>
// <id> usb_du fd_wtotallength
// <id> usb_dfu d_wtotallength
# ifndef CONF_USB_DFUD_WTOTALLENGTH
# define CONF_USB_DFUD_WTOTALLENGTH 27
# endif
// <o> bNumInterfaces <0x01-0xFF>
// <id> usb_du fd_bnuminterfaces
// <id> usb_dfu d_bnuminterfaces
# ifndef CONF_USB_DFUD_BNUMINTERFACES
# define CONF_USB_DFUD_BNUMINTERFACES 1
# endif
// <o> bConfigurationValue <0x01-0xFF>
// <id> usb_du fd_bconfigval
// <id> usb_dfu d_bconfigval
# ifndef CONF_USB_DFUD_BCONFIGVAL
# define CONF_USB_DFUD_BCONFIGVAL 0x1
# endif
// <e> Enable string descriptor of iConfig
// <id> usb_du fd_iconfig_en
// <id> usb_dfu d_iconfig_en
# ifndef CONF_USB_DFUD_ICONFIG_EN
# define CONF_USB_DFUD_ICONFIG_EN 0
# endif
@ -205,7 +205,7 @@
# endif
// <s> Unicode string of iConfig
// <id> usb_du fd_iconfig_str
// <id> usb_dfu d_iconfig_str
# ifndef CONF_USB_DFUD_ICONFIG_STR
# define CONF_USB_DFUD_ICONFIG_STR ""
# endif
@ -221,13 +221,13 @@
// <0xA0=> Bus power supply, support for remote wakeup
// <0xC0=> Self powered, not support for remote wakeup
// <0xE0=> Self powered, support for remote wakeup
// <id> usb_du fd_bmattri
// <id> usb_dfu d_bmattri
# ifndef CONF_USB_DFUD_BMATTRI
# define CONF_USB_DFUD_BMATTRI 0x80
# endif
// <o> bMaxPower <0x00-0xFF>
// <id> usb_du fd_bmaxpower
// <id> usb_dfu d_bmaxpower
# ifndef CONF_USB_DFUD_BMAXPOWER
# define CONF_USB_DFUD_BMAXPOWER 0x32
# endif
@ -236,25 +236,25 @@
// <h> DFU Interface Descriptor
// <o> bInterfaceNumber <0x00-0xFF>
// <id> usb_du fd_bifcnum
// <id> usb_dfu d_bifcnum
# ifndef CONF_USB_DFUD_BIFCNUM
# define CONF_USB_DFUD_BIFCNUM 0x0
# endif
// <o> bAlternateSetting <0x00-0xFF>
// <id> usb_du fd_baltset
// <id> usb_dfu d_baltset
# ifndef CONF_USB_DFUD_BALTSET
# define CONF_USB_DFUD_BALTSET 0x0
# endif
// <o> bNumEndpoints <0x00-0xFF>
// <id> usb_du fd_bnumep
// <id> usb_dfu d_bnumep
# ifndef CONF_USB_DFUD_BNUMEP
# define CONF_USB_DFUD_BNUMEP 0x0
# endif
// <e> Enable string descriptor of iInterface
// <id> usb_du fd_iinterface_en
// <id> usb_dfu d_iinterface_en
# ifndef CONF_USB_DFUD_IINTERFACE_EN
# define CONF_USB_DFUD_IINTERFACE_EN 1
# endif
@ -267,7 +267,7 @@
# endif
// <s> Unicode string of iInterface
// <id> usb_du fd_iinterface_str
// <id> usb_dfu d_iinterface_str
# ifndef CONF_USB_DFUD_IINTERFAGE_STR
# define CONF_USB_DFUD_IINTERFACE_STR "SAM D5x / E5x DFU bootloader (DFU mode)"
# endif