Skip to content

Commit

Permalink
Correct atmega2560 boot flash section size
Browse files Browse the repository at this point in the history
The atmega2560 size in Makefile was set to 4096 words but the bootloader
is 3844 bytes so it will fit in a 2048 word boot flash section.

- Makefile corrected.

- make new Mega 2560 bootloader

- update high_fuses value in boards.txt
  • Loading branch information
per1234 committed May 11, 2015
1 parent 0b25744 commit b57de12
Show file tree
Hide file tree
Showing 6 changed files with 2,519 additions and 2,376 deletions.
3 changes: 2 additions & 1 deletion hardware/ariadne/avr/boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ ariadne2560M.upload.speed=115200

ariadne2560M.bootloader.tool=arduino:avrdude
ariadne2560M.bootloader.low_fuses=0xFF
ariadne2560M.bootloader.high_fuses=0xD8
ariadne2560M.bootloader.extended_fuses=0xFD
ariadne2560M.bootloader.unlock_bits=0x3F
ariadne2560M.bootloader.lock_bits=0x0F
Expand All @@ -118,11 +117,13 @@ ariadne2560M.build.board=AVR_MEGA2560
## standard bootloader
## ---------------------------------------------
ariadne2560M.menu.version.standard=Standard
ariadne2560M.menu.version.standard.bootloader.high_fuses=0xDA
ariadne2560M.menu.version.standard.bootloader.file=ariadne/ariadne_atmega2560.hex

## debug bootloader
## ---------------------------------------------
ariadne2560M.menu.version.debug=Debug
ariadne2560M.menu.version.debug.bootloader.high_fuses=0xD8
ariadne2560M.menu.version.debug.bootloader.file=ariadne/ariadne_debug2560.hex

##############################################################
Expand Down
Loading

0 comments on commit b57de12

Please sign in to comment.