diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-23 08:37:11 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-23 08:37:11 +0000 |
commit | f229502d9addacfbefe955a47931b980bfbb1a10 (patch) | |
tree | 17311a066348fa23088257d51a95354bdb152885 /Projects/Incomplete/AVRISP/makefile | |
parent | 1e8df8951a3335e4b45ad0c25a82df3d90d785f3 (diff) | |
download | lufa-f229502d9addacfbefe955a47931b980bfbb1a10.tar.gz lufa-f229502d9addacfbefe955a47931b980bfbb1a10.tar.bz2 lufa-f229502d9addacfbefe955a47931b980bfbb1a10.zip |
Fixed AVRISP programmer demo -- can now connect to a target and read/write Sig/Lock/Fuse/OSCCAL bytes successfully.
Changed SPI_Init() to allow for the clock polarity and data sample modes to be set.
Changed Dataflash_Init() to no longer call SPI_Init() automatically.
Diffstat (limited to 'Projects/Incomplete/AVRISP/makefile')
-rw-r--r-- | Projects/Incomplete/AVRISP/makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Projects/Incomplete/AVRISP/makefile b/Projects/Incomplete/AVRISP/makefile index 958d9abae..b9aee4848 100644 --- a/Projects/Incomplete/AVRISP/makefile +++ b/Projects/Incomplete/AVRISP/makefile @@ -60,7 +60,7 @@ # MCU name
-MCU = at90usb1287
+MCU = at90usb647
# Target board (see library "Board Types" documentation, USER or blank for projects not requiring
@@ -194,9 +194,9 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
-CDEFS += -DRESET_LINE_PORT=PORTA
-CDEFS += -DRESET_LINE_DDR=DDRA
-CDEFS += -DRESET_LINE_MASK="(1 << 0)"
+CDEFS += -DRESET_LINE_PORT=PORTB
+CDEFS += -DRESET_LINE_DDR=DDRB
+CDEFS += -DRESET_LINE_MASK="(1 << 4)"
# Place -D or -U options here for ASM sources
|