Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
18b0d408
Commit
18b0d408
authored
Dec 24, 2009
by
Dean Camera
Browse files
Remove serial driver use from the AVRISP project now that it is no longer needed.
parent
9decc2bc
Changes
7
Show whitespace changes
Inline
Side-by-side
Projects/AVRISP/AVRISP.c
View file @
18b0d408
...
...
@@ -70,7 +70,6 @@ void SetupHardware(void)
/* Hardware Initialization */
LEDs_Init
();
USB_Init
();
Serial_Init
(
9600
,
true
);
#if defined(ADC)
/* Initialize the ADC converter for VTARGET level detection on supported AVR models */
...
...
Projects/AVRISP/AVRISP.h
View file @
18b0d408
...
...
@@ -45,7 +45,6 @@
#include "Descriptors.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h>
...
...
Projects/AVRISP/AVRISP.txt
View file @
18b0d408
...
...
@@ -152,7 +152,7 @@
* </tr>
* </table>
*
* <b><sup>1</sup></b> <i>When
PDI
_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together
* <b><sup>1</sup></b> <i>When
XPROG
_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together
* via a pair of 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i>
*
* \section Sec_TPI TPI Connections
...
...
@@ -196,7 +196,7 @@
* </tr>
* </table>
*
* <b><sup>1</sup></b> <i>When
TPI
_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together
* <b><sup>1</sup></b> <i>When
XPROG
_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together
* via a pair of 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i>
*
* \section SSec_Options Project Options
...
...
Projects/AVRISP/Lib/V2Protocol.c
View file @
18b0d408
...
...
@@ -51,8 +51,6 @@ void V2Protocol_ProcessCommand(void)
{
uint8_t
V2Command
=
Endpoint_Read_Byte
();
Serial_TxByte
(
V2Command
);
switch
(
V2Command
)
{
case
CMD_SIGN_ON
:
...
...
Projects/AVRISP/Lib/V2Protocol.h
View file @
18b0d408
...
...
@@ -39,7 +39,6 @@
/* Includes: */
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include "../Descriptors.h"
#include "V2ProtocolConstants.h"
...
...
Projects/AVRISP/Lib/XPROG/XPROGProtocol.c
View file @
18b0d408
...
...
@@ -44,7 +44,7 @@ uint32_t XPROG_Param_NVMBase = 0x010001C0;
uint32_t
XPROG_Param_EEPageSize
;
/** Currently selected XPROG programming protocol */
uint8_t
XPROG_SelectedProtocol
;
uint8_t
XPROG_SelectedProtocol
=
XPRG_PROTOCOL_PDI
;
/** Handler for the CMD_XPROG_SETMODE command, which sets the programmer-to-target protocol used for PDI/TPI
...
...
Projects/AVRISP/makefile
View file @
18b0d408
...
...
@@ -136,7 +136,6 @@ SRC = $(TARGET).c \
Lib/XPROG/XMEGANVM.c
\
Lib/XPROG/TPITarget.c
\
Lib/XPROG/TINYNVM.c
\
$(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c
\
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c
\
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c
\
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c
\
...
...
Write
Preview
Markdown
is supported
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