Fix watchdog in bootloader jump
- disable watchdog after watchdog reset - clear WDRF after watchdog reset
This commit is contained in:
parent
1385058fc2
commit
f55c677ba4
3 changed files with 30 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue