The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and AVRISP-MKII projects has been renamed LIBUSB_DRIVER_COMPAT, as it applies to all software on all platforms using the libUSB driver.
Fix Benito makefile which was accidentally changed during testing.
This commit is contained in:
parent
e277ff0cf4
commit
d3c623e1e1
10 changed files with 14 additions and 15 deletions
|
@ -42,7 +42,7 @@
|
|||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
/* Macros: */
|
||||
#if !defined(LIBUSB_FILTERDRV_COMPAT)
|
||||
#if !defined(LIBUSB_DRIVER_COMPAT)
|
||||
/** Endpoint number of the AVRISP data OUT endpoint. */
|
||||
#define AVRISP_DATA_OUT_EPNUM 2
|
||||
|
||||
|
|
|
@ -192,7 +192,7 @@ void EVENT_USB_Device_ConfigurationChanged(void)
|
|||
ENDPOINT_DIR_OUT, AVRISP_DATA_EPSIZE,
|
||||
ENDPOINT_BANK_SINGLE);
|
||||
|
||||
#if defined(LIBUSB_FILTERDRV_COMPAT)
|
||||
#if defined(LIBUSB_DRIVER_COMPAT)
|
||||
EndpointConfigSuccess &= Endpoint_ConfigureEndpoint(AVRISP_DATA_IN_EPNUM, EP_TYPE_BULK,
|
||||
ENDPOINT_DIR_IN, AVRISP_DATA_EPSIZE,
|
||||
ENDPOINT_BANK_SINGLE);
|
||||
|
|
|
@ -79,11 +79,10 @@
|
|||
* <td>Defines the maximum number of bytes which can be buffered in each Ring Buffer.</td>
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <td>LIBUSB_FILTERDRV_COMPAT</td>
|
||||
* <td>LIBUSB_DRIVER_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
|
||||
* option.
|
||||
* the code compatible with software such as avrdude (all platforms) that use the libUSB driver.
|
||||
* </tr>
|
||||
* </table>
|
||||
*/
|
|
@ -202,7 +202,7 @@ CDEFS += -DAUX_LINE_PIN=PINB
|
|||
CDEFS += -DAUX_LINE_DDR=DDRB
|
||||
CDEFS += -DAUX_LINE_MASK="(1 << 4)"
|
||||
CDEFS += -DVTARGET_ADC_CHANNEL=2
|
||||
#CDEFS += -DLIBUSB_FILTERDRV_COMPAT
|
||||
#CDEFS += -DLIBUSB_DRIVER_COMPAT
|
||||
|
||||
|
||||
# Place -D or -U options here for ASM sources
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue