From 06f3a6a876abb4911fbf205daeacbb33c4c0f92a Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 23 Jul 2009 11:01:32 +0000 Subject: [PATCH] Tweaks to the new Benito Programmer project for documentation and port/pin usage. --- LUFA.pnproj | 2 +- .../Benito/{LUFA USBtoSerial.inf => Benito Programmer.inf} | 0 Projects/Benito/Benito.c | 5 +++++ Projects/Benito/makefile | 6 +++--- 4 files changed, 9 insertions(+), 4 deletions(-) rename Projects/Benito/{LUFA USBtoSerial.inf => Benito Programmer.inf} (100%) diff --git a/LUFA.pnproj b/LUFA.pnproj index f68d4272fe..8d108ce0a0 100644 --- a/LUFA.pnproj +++ b/LUFA.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Projects/Benito/LUFA USBtoSerial.inf b/Projects/Benito/Benito Programmer.inf similarity index 100% rename from Projects/Benito/LUFA USBtoSerial.inf rename to Projects/Benito/Benito Programmer.inf diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index ba8053473a..712016bc0e 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -36,8 +36,13 @@ #include "Benito.h" +/** Counter for the number of milliseconds remaining for the target /RESET pulse being generated. */ volatile uint8_t ResetPulseMSRemaining = 0; + +/** Counter for the number of milliseconds remaining for the TX activity LED pulse being generated. */ volatile uint8_t TxPulseMSRemaining = 0; + +/** Counter for the number of milliseconds remaining for the RX activity LED pulse being generated. */ volatile uint8_t RxPulseMSRemaining = 0; /** LUFA CDC Class driver interface configuration and state information. This structure is diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index 7d56cdb3f2..71422b64e4 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -192,9 +192,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 += -DAVR_RESET_LINE_PORT="PORTD" -CDEFS += -DAVR_RESET_LINE_DDR="DDRD" -CDEFS += -DAVR_RESET_LINE_MASK="(1 << 5)" +CDEFS += -DAVR_RESET_LINE_PORT="PORTB" +CDEFS += -DAVR_RESET_LINE_DDR="DDRB" +CDEFS += -DAVR_RESET_LINE_MASK="(1 << 0)" CDEFS += -DAVR_RESET_PULSE_MS=10 CDEFS += -DTX_RX_LED_PULSE_MS=10