1
0
Fork 0

Fix watchdog in bootloader jump

- disable watchdog after watchdog reset
- clear WDRF after watchdog reset
This commit is contained in:
tmk 2013-03-10 15:05:28 +09:00
parent 1385058fc2
commit f55c677ba4
3 changed files with 30 additions and 17 deletions

View file

@ -49,6 +49,15 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
#NKRO_ENABLE = yes # USB Nkey Rollover
# Boot Section Size in *BYTEs*
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
OPT_DEFS += -DBOOT_SIZE=2048
#---------------- Programming Options --------------------------
AVRDUDE = avrdude

View file

@ -107,11 +107,12 @@ CONSOLE_ENABLE = yes # Console for debug
#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
# Boot Section Size in bytes
# Teensy halfKay 512
# Atmel DFU loader 4096
# LUFA bootloader 4096
#OPT_DEFS += -DBOOT_SIZE=4096
# Boot Section Size in *BYTEs*
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
OPT_DEFS += -DBOOT_SIZE=1024
# Search Path