diff options
Diffstat (limited to 'Bootloaders/DFU/BootloaderDFU.h')
| -rw-r--r-- | Bootloaders/DFU/BootloaderDFU.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <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
|
