Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
06f3a6a8
Commit
06f3a6a8
authored
Jul 23, 2009
by
Dean Camera
Browse files
Tweaks to the new Benito Programmer project for documentation and port/pin usage.
parent
a6e85d6e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
LUFA.pnproj
View file @
06f3a6a8
This diff is collapsed.
Click to expand it.
Projects/Benito/
LUFA USBtoSerial
.inf
→
Projects/Benito/
Benito Programmer
.inf
View file @
06f3a6a8
File moved
Projects/Benito/Benito.c
View file @
06f3a6a8
...
...
@@ -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
...
...
Projects/Benito/makefile
View file @
06f3a6a8
...
...
@@ -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
=
"PORT
D
"
CDEFS
+=
-DAVR_RESET_LINE_DDR
=
"DDR
D
"
CDEFS
+=
-DAVR_RESET_LINE_MASK
=
"(1 <<
5
)"
CDEFS
+=
-DAVR_RESET_LINE_PORT
=
"PORT
B
"
CDEFS
+=
-DAVR_RESET_LINE_DDR
=
"DDR
B
"
CDEFS
+=
-DAVR_RESET_LINE_MASK
=
"(1 <<
0
)"
CDEFS
+=
-DAVR_RESET_PULSE_MS
=
10
CDEFS
+=
-DTX_RX_LED_PULSE_MS
=
10
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment