Add information request/response signal handler to the Bluetooth Host demo.
Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.
This commit is contained in:
parent
083d797aca
commit
ee74b4948f
8 changed files with 161 additions and 51 deletions
|
|
@ -97,7 +97,7 @@ void EVENT_USB_Device_ConfigurationChanged(void)
|
|||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
}
|
||||
|
||||
#if defined(WIN_LIBUSB_COMPAT)
|
||||
#if defined(LIBUSB_FILTERDRV_COMPAT)
|
||||
if (!(Endpoint_ConfigureEndpoint(AVRISP_DATA_IN_EPNUM, EP_TYPE_BULK,
|
||||
ENDPOINT_DIR_IN, AVRISP_DATA_EPSIZE,
|
||||
ENDPOINT_BANK_SINGLE)))
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@
|
|||
* to report a fixed 5V target voltage to the host regardless of the real target voltage.</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td>WIN_LIBUSB_COMPAT</td>
|
||||
* <td>LIBUSB_FILTERDRV_COMPAT</td>
|
||||
* <td>Makefile CDEFS</td>
|
||||
* <td>Define to switch to a non-standard endpoint scheme, breaking compatibility with AVRStudio under Windows but making
|
||||
* the code compatible with Windows builds of avrdude using the libUSB driver. Linux platforms are not affected by this
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ CDEFS += -DENABLE_ISP_PROTOCOL
|
|||
CDEFS += -DENABLE_XPROG_PROTOCOL
|
||||
#CDEFS += -DXPROG_VIA_HARDWARE_USART
|
||||
#CDEFS += -DNO_VTARGET_DETECT
|
||||
#CDEFS += -DWIN_LIBUSB_COMPAT
|
||||
#CDEFS += -DLIBUSB_FILTERDRV_COMPAT
|
||||
|
||||
|
||||
# Place -D or -U options here for ASM sources
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue