Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience.

This commit is contained in:
Dean Camera 2009-03-17 13:56:26 +00:00
parent 904ad3abd2
commit ceb68a0640
6 changed files with 128 additions and 122 deletions

View file

@ -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