projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0486f12
)
Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
author
Dean Camera
<dean@fourwalledcubicle.com>
Sun, 6 Sep 2009 20:30:26 +0000
(20:30 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sun, 6 Sep 2009 20:30:26 +0000
(20:30 +0000)
Bootloaders/CDC/BootloaderCDC.c
patch
|
blob
|
blame
|
history
Bootloaders/CDC/BootloaderCDC.h
patch
|
blob
|
blame
|
history
Bootloaders/DFU/BootloaderDFU.c
patch
|
blob
|
blame
|
history
Bootloaders/DFU/BootloaderDFU.h
patch
|
blob
|
blame
|
history
LUFA/ManPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
diff --git
a/Bootloaders/CDC/BootloaderCDC.c
b/Bootloaders/CDC/BootloaderCDC.c
index
f925956
..
d1f595c
100644
(file)
--- a/
Bootloaders/CDC/BootloaderCDC.c
+++ b/
Bootloaders/CDC/BootloaderCDC.c
@@
-116,15
+116,6
@@
void ResetHardware(void)
boot_rww_enable();
\r
}
\r
\r
boot_rww_enable();
\r
}
\r
\r
-/** Event handler for the USB_Disconnect event. This indicates that the bootloader should exit and the user
\r
- * application started.
\r
- */
\r
-void EVENT_USB_Device_Disconnect(void)
\r
-{
\r
- /* Upon disconnection, run user application */
\r
- RunBootloader = false;
\r
-}
\r
-
\r
/** Event handler for the USB_ConfigurationChanged event. This configures the device's endpoints ready
\r
* to relay data to and from the attached USB host.
\r
*/
\r
/** Event handler for the USB_ConfigurationChanged event. This configures the device's endpoints ready
\r
* to relay data to and from the attached USB host.
\r
*/
\r
diff --git
a/Bootloaders/CDC/BootloaderCDC.h
b/Bootloaders/CDC/BootloaderCDC.h
index
13a4f9f
..
6a46a55
100644
(file)
--- a/
Bootloaders/CDC/BootloaderCDC.h
+++ b/
Bootloaders/CDC/BootloaderCDC.h
@@
-118,7
+118,6
@@
void SetupHardware(void);
\r
void ResetHardware(void);
\r
\r
void SetupHardware(void);
\r
void ResetHardware(void);
\r
\r
- void EVENT_USB_Device_Disconnect(void);
\r
void EVENT_USB_Device_ConfigurationChanged(void);
\r
void EVENT_USB_Device_UnhandledControlRequest(void);
\r
\r
void EVENT_USB_Device_ConfigurationChanged(void);
\r
void EVENT_USB_Device_UnhandledControlRequest(void);
\r
\r
diff --git
a/Bootloaders/DFU/BootloaderDFU.c
b/Bootloaders/DFU/BootloaderDFU.c
index
fb326a1
..
d7af1e6
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.c
+++ b/
Bootloaders/DFU/BootloaderDFU.c
@@
-141,15
+141,6
@@
void ResetHardware(void)
MCUCR = 0;
\r
}
\r
\r
MCUCR = 0;
\r
}
\r
\r
-/** Event handler for the USB_Disconnect event. This indicates that the bootloader should exit and the user
\r
- * application started.
\r
- */
\r
-void EVENT_USB_Device_Disconnect(void)
\r
-{
\r
- /* Upon disconnection, run user application */
\r
- RunBootloader = false;
\r
-}
\r
-
\r
/** Event handler for the USB_UnhandledControlRequest event. This is used to catch standard and class specific
\r
* control requests that are not handled internally by the USB library (including the DFU commands, which are
\r
* all issued via the control endpoint), so that they can be handled appropriately for the application.
\r
/** Event handler for the USB_UnhandledControlRequest event. This is used to catch standard and class specific
\r
* control requests that are not handled internally by the USB library (including the DFU commands, which are
\r
* all issued via the control endpoint), so that they can be handled appropriately for the application.
\r
diff --git
a/Bootloaders/DFU/BootloaderDFU.h
b/Bootloaders/DFU/BootloaderDFU.h
index
11d91db
..
a4eb235
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.h
+++ b/
Bootloaders/DFU/BootloaderDFU.h
@@
-191,7
+191,6
@@
void SetupHardware(void);
\r
void ResetHardware(void);
\r
\r
void SetupHardware(void);
\r
void ResetHardware(void);
\r
\r
- void EVENT_USB_Device_Disconnect(void);
\r
void EVENT_USB_Device_UnhandledControlRequest(void);
\r
\r
#if defined(INCLUDE_FROM_BOOTLOADER_C)
\r
void EVENT_USB_Device_UnhandledControlRequest(void);
\r
\r
#if defined(INCLUDE_FROM_BOOTLOADER_C)
\r
diff --git
a/LUFA/ManPages/ChangeLog.txt
b/LUFA/ManPages/ChangeLog.txt
index
ea31537
..
0bdb57e
100644
(file)
--- a/
LUFA/ManPages/ChangeLog.txt
+++ b/
LUFA/ManPages/ChangeLog.txt
@@
-60,6
+60,7
@@
* - CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker)
\r
* - Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)
\r
* - Fix allowable F_CPU values comment in project makefiles
\r
* - CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker)
\r
* - Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)
\r
* - Fix allowable F_CPU values comment in project makefiles
\r
+ * - Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs
\r
*
\r
*
\r
* \section Sec_ChangeLog090810 Version 090810
\r
*
\r
*
\r
* \section Sec_ChangeLog090810 Version 090810
\r