aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-07-23 11:01:32 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-07-23 11:01:32 +0000
commit06f3a6a876abb4911fbf205daeacbb33c4c0f92a (patch)
treec0049d48f4f9dc09be6badcaa9d46cf9ef56b3a6 /Projects/Benito
parenta6e85d6ed80720e15477433f4abf0ca5f54422ba (diff)
downloadlufa-06f3a6a876abb4911fbf205daeacbb33c4c0f92a.tar.gz
lufa-06f3a6a876abb4911fbf205daeacbb33c4c0f92a.tar.bz2
lufa-06f3a6a876abb4911fbf205daeacbb33c4c0f92a.zip
Tweaks to the new Benito Programmer project for documentation and port/pin usage.
Diffstat (limited to 'Projects/Benito')
-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 bd9c8bf14..bd9c8bf14 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 ba8053473..712016bc0 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 7d56cdb3f..71422b64e 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