diff options
author | Dean Camera <[email protected]> | 2009-03-17 13:56:26 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-03-17 13:56:26 +0000 |
commit | ceb68a06408ca31d41cfb57eb3cd20268c1aed15 (patch) | |
tree | 5cff01a80b3235215682ac33996b5a2c0b84a6f9 /Bootloaders/DFU | |
parent | 904ad3abd2df55b8f7da2ab84cee13f087386958 (diff) | |
download | qmk_firmware-ceb68a06408ca31d41cfb57eb3cd20268c1aed15.tar.gz qmk_firmware-ceb68a06408ca31d41cfb57eb3cd20268c1aed15.zip |
Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience.
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 7 | ||||
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index 9fff20c12d..6bea9b25fd 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -32,13 +32,6 @@ *
* Main source file for the DFU class bootloader. This file contains the complete bootloader logic.
*/
-
-/** Configuration define. Define this token to true to case the bootloader to reject all memory commands
- * until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this
- * can protect the AVR's firmware from being dumped from a secured AVR. When false, memory operations are
- * allowed at any time.
- */
-#define SECURE_MODE false
#define INCLUDE_FROM_BOOTLOADER_C
#include "BootloaderDFU.h"
diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index 21e8fce71f..5a83403dfb 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -50,6 +50,13 @@ #include <LUFA/Drivers/USB/USB.h> // USB Functionality
/* Macros: */
+ /** Configuration define. Define this token to true to case the bootloader to reject all memory commands
+ * until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this
+ * can protect the AVR's firmware from being dumped from a secured AVR. When false, memory operations are
+ * allowed at any time.
+ */
+ #define SECURE_MODE false
+
/** Major bootloader version number. */
#define BOOTLOADER_VERSION_MINOR 2
|