forked from mfulz_github/qmk_firmware
Tweaks to the new Benito Programmer project for documentation and port/pin usage.
This commit is contained in:
parent
a6e85d6ed8
commit
06f3a6a876
File diff suppressed because one or more lines are too long
|
@ -36,8 +36,13 @@
|
||||||
|
|
||||||
#include "Benito.h"
|
#include "Benito.h"
|
||||||
|
|
||||||
|
/** Counter for the number of milliseconds remaining for the target /RESET pulse being generated. */
|
||||||
volatile uint8_t ResetPulseMSRemaining = 0;
|
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;
|
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;
|
volatile uint8_t RxPulseMSRemaining = 0;
|
||||||
|
|
||||||
/** LUFA CDC Class driver interface configuration and state information. This structure is
|
/** LUFA CDC Class driver interface configuration and state information. This structure is
|
||||||
|
|
|
@ -192,9 +192,9 @@ CSTANDARD = -std=gnu99
|
||||||
|
|
||||||
# Place -D or -U options here for C sources
|
# 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 = -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_PORT="PORTB"
|
||||||
CDEFS += -DAVR_RESET_LINE_DDR="DDRD"
|
CDEFS += -DAVR_RESET_LINE_DDR="DDRB"
|
||||||
CDEFS += -DAVR_RESET_LINE_MASK="(1 << 5)"
|
CDEFS += -DAVR_RESET_LINE_MASK="(1 << 0)"
|
||||||
CDEFS += -DAVR_RESET_PULSE_MS=10
|
CDEFS += -DAVR_RESET_PULSE_MS=10
|
||||||
CDEFS += -DTX_RX_LED_PULSE_MS=10
|
CDEFS += -DTX_RX_LED_PULSE_MS=10
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue