ArduinoCore-avr/bootloaders
Zach Eveland 7948125208 Leonardo now checks whether bootloader should be run after a WDT event.
Before the sketch initiates an auto-reset for upload it pokes a magic word into a specific RAM address.  On starting the bootloader checks this address.  If it finds the magic word it knows the bootloader code should run. If not it jumps straight back to sketch.

Test in a sketch by adding to setup():
wdt_enable(WDTO_2S);

Sketch should upload, start, run for two seconds, WDT, and sketch should restart (not bootloader).

Had to cut out unused descriptor code to make the bootloader still fit in 4k.
2012-02-14 12:17:30 -05:00
..
atmega Adding ATmega328 bootloader for the Pro and Pro Mini running at 8 MHz (3.3V). Uses the USART0 double speed mode, which according to Nathan from Sparkfun, is necessary to achieve reliable communication at 57600 baud. 2009-05-08 11:05:41 +00:00
atmega8 Moving bootloaders into the hardware/bootloaders directory. 2007-10-06 13:28:43 +00:00
bt Adding ATmega328 version of the Arduino BT bootloader, along with a Makefile for building it. 2010-08-07 19:48:59 +00:00
caterina made Leonardo and Micro bootloader PIDs same as sketch PIDs 2012-01-10 21:23:01 -05:00
caterina_LUFA Leonardo now checks whether bootloader should be run after a WDT event. 2012-02-14 12:17:30 -05:00
lilypad Adding LilyPad bootloader and adding LilyPad to board definition file. 2007-10-09 22:46:09 +00:00
optiboot Correcting Arduino Mini w/ ATmega328 bootloader file and fuses (untested). 2011-11-25 19:26:01 -06:00
stk500v2 Revert "Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot" 2011-10-27 11:45:13 -04:00