Corrected CDC class bootloader to fix a few bugs, changed address counter to store...
[pub/USBasp.git] / Bootloaders / DFU / BootloaderDFU.h
index 21e8fce..5a83403 100644 (file)
                #include <LUFA/Drivers/USB/USB.h>                // USB Functionality\r
                \r
        /* Macros: */\r
+               /** Configuration define. Define this token to true to case the bootloader to reject all memory commands\r
+                *  until a memory erase has been performed. When used in conjunction with the lockbits of the AVR, this\r
+                *  can protect the AVR's firmware from being dumped from a secured AVR. When false, memory operations are\r
+                *  allowed at any time.\r
+                */\r
+               #define SECURE_MODE           false\r
+\r
                /** Major bootloader version number. */\r
                #define BOOTLOADER_VERSION_MINOR 2\r
 \r