From 430f0683051dedca5240bdce933dc42b5e475f6f Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 22 Sep 2010 18:32:53 +0000 Subject: [PATCH] Updated makefile for v2 hardware. --- bacnet-stack/ports/bdk-atxx4-mstp/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/ports/bdk-atxx4-mstp/Makefile b/bacnet-stack/ports/bdk-atxx4-mstp/Makefile index 24b6f355..b56bba07 100644 --- a/bacnet-stack/ports/bdk-atxx4-mstp/Makefile +++ b/bacnet-stack/ports/bdk-atxx4-mstp/Makefile @@ -226,6 +226,7 @@ AVRDUDE_FLAGS += -B 8 # Fuse high byte (0=enable,1=disable): # 0x93 = 1 0 0 1 0 0 1 1 +# 0x17 = 0 0 0 1 0 0 1 1 - v1,v2 board # 0x17 = 0 0 0 1 0 1 1 1 - default # ^ ^ ^ ^ ^ \+/ ^ # | | | | | | |---- BOOTRST (Enable Bootloader Reset Vector) @@ -239,7 +240,7 @@ AVRDUDE_FLAGS += -B 8 # # Fuse low byte (0=enable,1=disable): # 0xD7 = 1 1 0 1 0 1 1 1 - v3 board -# 0xE7 = 1 1 1 0 0 1 1 1 - v1,v2 board +# 0xE6 = 1 1 1 0 0 1 1 0 - v1,v2 board # 0x62 = 0 1 1 0 0 0 1 0 - default # ^ ^ \+/ \--+--/ # | | | +------- CKSEL 3..0 (Select Clock Source) @@ -270,7 +271,7 @@ AVRDUDE_DEFAULT_FUSES = -U hfuse:w:0x17:m -U lfuse:w:0x62:m -U efuse:w:0xFF:m AVRDUDE_WRITE_FUSES = -U hfuse:w:0x93:m -U lfuse:w:0xD7:m -U efuse:w:0xFC:m -AVRDUDE_WRITE_FUSES_V2 = -U hfuse:w:0x93:m -U lfuse:w:0xE7:m -U efuse:w:0xFC:m +AVRDUDE_WRITE_FUSES_V2 = -U hfuse:w:0x13:m -U lfuse:w:0xE6:m -U efuse:w:0xFC:m AVRDUDE_BOOTL_FUSES = -U hfuse:w:0x92:m -U lfuse:w:0xD7:m -U efuse:w:0xFC:m