diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-27 11:36:10 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-10-27 11:36:10 -0400 |
commit | 415a5e119d11394fc7e7365ff5b7c64a50ef7f64 (patch) | |
tree | 126e6f69750cb094ea23c55c89a088099e8f2f22 /cores/arduino/CDC.cpp | |
parent | 2b13fd3b4091049ebdf295986d834de4c9ea3c32 (diff) |
changes in core and boards.txt to support new bootloader
old bootloader could fit in only 2 kB of flash. new version has to have a 4 kB block - jump-to address and boards.txt must reflect this.
Diffstat (limited to 'cores/arduino/CDC.cpp')
-rw-r--r-- | cores/arduino/CDC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp index 14a0eae..b8df09f 100644 --- a/cores/arduino/CDC.cpp +++ b/cores/arduino/CDC.cpp @@ -27,7 +27,7 @@ void Reboot() { USB.detach(); cli(); - asm volatile("jmp 0x7800"); // jump to bootloader - DiskLoader takes up last 2 kB + asm volatile("jmp 0x7000"); // jump to bootloader - DiskLoader lives in the last 4kB of Flash } typedef struct |