From ceb68a06408ca31d41cfb57eb3cd20268c1aed15 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 17 Mar 2009 13:56:26 +0000 Subject: Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience. --- Bootloaders/DFU/BootloaderDFU.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Bootloaders/DFU/BootloaderDFU.h') diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index 21e8fce71..5a83403df 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -50,6 +50,13 @@ #include // 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 -- cgit v1.2.3