aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/caterina/Makefile
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-03-14 17:48:11 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2012-03-14 17:48:11 -0400
commit083f7c88915db70e1c41997dc9dbd94249aca4e7 (patch)
tree501064c6ee7f69ab4cc08c812479e8c71386a31a /bootloaders/caterina/Makefile
parentcd0db83a6646717ee7fcbb5b4383bc8eac988d69 (diff)
bugfix for Caterina not starting sketch if "verify upload" turned off in IDE.
Previously, if avrdude skipped the upload step the read while write memory might never be reenabled. This would prevent the bootloader from ending and the sketch from starting - the bootloader just continued to run even after a successful upload. Now enable RWW when we receive the AVR109 "Exit bootloader" 'E' command. Had to disable lock bit changing support in the bootloader to free up flash for the change - will anyone miss it?
Diffstat (limited to 'bootloaders/caterina/Makefile')
-rwxr-xr-xbootloaders/caterina/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloaders/caterina/Makefile b/bootloaders/caterina/Makefile
index 5439b5b..ef583bc 100755
--- a/bootloaders/caterina/Makefile
+++ b/bootloaders/caterina/Makefile
@@ -133,7 +133,7 @@ LUFA_OPTS += -D NO_SOF_EVENTS
#LUFA_OPTS += -D NO_BLOCK_SUPPORT
#LUFA_OPTS += -D NO_EEPROM_BYTE_SUPPORT
#LUFA_OPTS += -D NO_FLASH_BYTE_SUPPORT
-#LUFA_OPTS += -D NO_LOCK_BYTE_WRITE_SUPPORT
+LUFA_OPTS += -D NO_LOCK_BYTE_WRITE_SUPPORT
# Create the LUFA source path variables by including the LUFA root makefile