aboutsummaryrefslogtreecommitdiff
path: root/Projects
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-07-23 11:01:32 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-07-23 11:01:32 +0000
commit10824e9dbb19f10a7677a12dc39659b3097848fb (patch)
treec0049d48f4f9dc09be6badcaa9d46cf9ef56b3a6 /Projects
parentfd2b849d4878bba72ce618db34e7e63c61f36b4d (diff)
Tweaks to the new Benito Programmer project for documentation and port/pin usage.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@680 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects')
-rw-r--r--Projects/Benito/Benito Programmer.inf (renamed from Projects/Benito/LUFA USBtoSerial.inf)0
-rw-r--r--Projects/Benito/Benito.c5
-rw-r--r--Projects/Benito/makefile6
3 files changed, 8 insertions, 3 deletions
diff --git a/Projects/Benito/LUFA USBtoSerial.inf b/Projects/Benito/Benito Programmer.inf
index bd9c8bf1..bd9c8bf1 100644
--- a/Projects/Benito/LUFA USBtoSerial.inf
+++ b/Projects/Benito/Benito Programmer.inf
diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c
index ba805347..712016bc 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 7d56cdb3..71422b64 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