projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move out BUILD build system module start and end messages to the respective targets...
[pub/USBasp.git]
/
Bootloaders
/
CDC
/
Descriptors.h
diff --git
a/Bootloaders/CDC/Descriptors.h
b/Bootloaders/CDC/Descriptors.h
index
842f22c
..
6eec9d3
100644
(file)
--- a/
Bootloaders/CDC/Descriptors.h
+++ b/
Bootloaders/CDC/Descriptors.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-39,6
+39,8
@@
/* Includes: */
#include <LUFA/Drivers/USB/USB.h>
/* Includes: */
#include <LUFA/Drivers/USB/USB.h>
+ #include "Config/AppConfig.h"
+
/* Macros: */
#if defined(__AVR_AT90USB1287__)
#define AVR_SIGNATURE_1 0x1E
/* Macros: */
#if defined(__AVR_AT90USB1287__)
#define AVR_SIGNATURE_1 0x1E
@@
-92,14
+94,14
@@
#error The selected AVR part is not currently supported by this bootloader.
#endif
#error The selected AVR part is not currently supported by this bootloader.
#endif
- /** Endpoint
number
for the CDC control interface event notification endpoint. */
- #define CDC_NOTIFICATION_EP
NUM 2
+ /** Endpoint
address
for the CDC control interface event notification endpoint. */
+ #define CDC_NOTIFICATION_EP
ADDR (ENDPOINT_DIR_IN | 2)
- /** Endpoint
number
for the CDC data interface TX (data IN) endpoint. */
- #define CDC_TX_EP
NUM 3
+ /** Endpoint
address
for the CDC data interface TX (data IN) endpoint. */
+ #define CDC_TX_EP
ADDR (ENDPOINT_DIR_IN | 3)
- /** Endpoint
number
for the CDC data interface RX (data OUT) endpoint. */
- #define CDC_RX_EP
NUM 4
+ /** Endpoint
address
for the CDC data interface RX (data OUT) endpoint. */
+ #define CDC_RX_EP
ADDR (ENDPOINT_DIR_OUT | 4)
/** Size of the CDC data interface TX and RX data endpoint banks, in bytes. */
#define CDC_TXRX_EPSIZE 16
/** Size of the CDC data interface TX and RX data endpoint banks, in bytes. */
#define CDC_TXRX_EPSIZE 16