mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-21 15:54:39 +01:00
Changing bootloader fuses to enable brown-out detection at 2.7 volts on the atmega168 (high fuse goes from 0xdf to 0xdd).
This commit is contained in:
parent
ec36805374
commit
e3cc10c825
@ -37,7 +37,7 @@ LDSECTION = --section-start=.text=0x3800
|
|||||||
# unlock the bootloader section) and 0xcf instead of 0x0f (to
|
# unlock the bootloader section) and 0xcf instead of 0x0f (to
|
||||||
# lock it), but since the high two bits of the lock byte are
|
# lock it), but since the high two bits of the lock byte are
|
||||||
# unused, avrdude would get confused.
|
# unused, avrdude would get confused.
|
||||||
ISPFUSES = avrdude -c $(ISPTOOL) -p m168 -P $(ISPPORT) $(ISPSPEED) -e -u -U lock:w:0x3f:m -U efuse:w:0x00:m -U hfuse:w:0xdf:m -U lfuse:w:0xff:m
|
ISPFUSES = avrdude -c $(ISPTOOL) -p m168 -P $(ISPPORT) $(ISPSPEED) -e -u -U lock:w:0x3f:m -U efuse:w:0x00:m -U hfuse:w:0xdd:m -U lfuse:w:0xff:m
|
||||||
ISPFLASH = avrdude -c $(ISPTOOL) -p m168 -P $(ISPPORT) $(ISPSPEED) -U flash:w:$(PROGRAM)_$(TARGET).hex -U lock:w:0x0f:m
|
ISPFLASH = avrdude -c $(ISPTOOL) -p m168 -P $(ISPPORT) $(ISPSPEED) -U flash:w:$(PROGRAM)_$(TARGET).hex -U lock:w:0x0f:m
|
||||||
|
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ bootloader.atmega8.programmer=stk500
|
|||||||
bootloader.atmega8.communication=serial
|
bootloader.atmega8.communication=serial
|
||||||
|
|
||||||
bootloader.atmega168-ng.low_fuses=0xff
|
bootloader.atmega168-ng.low_fuses=0xff
|
||||||
bootloader.atmega168-ng.high_fuses=0xdf
|
bootloader.atmega168-ng.high_fuses=0xdd
|
||||||
bootloader.atmega168-ng.extended_fuses=0x00
|
bootloader.atmega168-ng.extended_fuses=0x00
|
||||||
bootloader.atmega168-ng.path=bootloader168
|
bootloader.atmega168-ng.path=bootloader168
|
||||||
bootloader.atmega168-ng.file=ATmegaBOOT_168_ng.hex
|
bootloader.atmega168-ng.file=ATmegaBOOT_168_ng.hex
|
||||||
@ -306,7 +306,7 @@ bootloader.atmega168-ng.programmer=avrispmkii
|
|||||||
bootloader.atmega168-ng.communication=usb
|
bootloader.atmega168-ng.communication=usb
|
||||||
|
|
||||||
bootloader.atmega168-diecimila.low_fuses=0xff
|
bootloader.atmega168-diecimila.low_fuses=0xff
|
||||||
bootloader.atmega168-diecimila.high_fuses=0xdf
|
bootloader.atmega168-diecimila.high_fuses=0xdd
|
||||||
bootloader.atmega168-diecimila.extended_fuses=0x00
|
bootloader.atmega168-diecimila.extended_fuses=0x00
|
||||||
bootloader.atmega168-diecimila.path=bootloader168
|
bootloader.atmega168-diecimila.path=bootloader168
|
||||||
bootloader.atmega168-diecimila.file=ATmegaBOOT_168_diecimila.hex
|
bootloader.atmega168-diecimila.file=ATmegaBOOT_168_diecimila.hex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user