diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c index 48a90e3e41..c0572fca2f 100644 --- a/Projects/AVRISP/AVRISP.c +++ b/Projects/AVRISP/AVRISP.c @@ -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 */ diff --git a/Projects/AVRISP/AVRISP.h b/Projects/AVRISP/AVRISP.h index cdd551636d..a0f4d5e792 100644 --- a/Projects/AVRISP/AVRISP.h +++ b/Projects/AVRISP/AVRISP.h @@ -45,7 +45,6 @@ #include "Descriptors.h" #include - #include #include #include diff --git a/Projects/AVRISP/AVRISP.txt b/Projects/AVRISP/AVRISP.txt index 8649464342..f39e68f2c2 100644 --- a/Projects/AVRISP/AVRISP.txt +++ b/Projects/AVRISP/AVRISP.txt @@ -152,7 +152,7 @@ * * * - * 1 When PDI_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together + * 1 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. * * \section Sec_TPI TPI Connections @@ -196,7 +196,7 @@ * * * - * 1 When TPI_VIA_HARDWARE_USART is set, the AVR's Tx and Rx become the DATA line when connected together + * 1 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. * * \section SSec_Options Project Options diff --git a/Projects/AVRISP/Lib/V2Protocol.c b/Projects/AVRISP/Lib/V2Protocol.c index 0c4664e549..4f7904a217 100644 --- a/Projects/AVRISP/Lib/V2Protocol.c +++ b/Projects/AVRISP/Lib/V2Protocol.c @@ -51,8 +51,6 @@ void V2Protocol_ProcessCommand(void) { uint8_t V2Command = Endpoint_Read_Byte(); - Serial_TxByte(V2Command); - switch (V2Command) { case CMD_SIGN_ON: diff --git a/Projects/AVRISP/Lib/V2Protocol.h b/Projects/AVRISP/Lib/V2Protocol.h index 8cc4c3c688..db4d09f0a1 100644 --- a/Projects/AVRISP/Lib/V2Protocol.h +++ b/Projects/AVRISP/Lib/V2Protocol.h @@ -39,7 +39,6 @@ /* Includes: */ #include #include - #include #include "../Descriptors.h" #include "V2ProtocolConstants.h" diff --git a/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c index d919413079..98530e9aa7 100644 --- a/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c +++ b/Projects/AVRISP/Lib/XPROG/XPROGProtocol.c @@ -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 diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 8db6ac97cf..261d127879 100644 --- a/Projects/AVRISP/makefile +++ b/Projects/AVRISP/makefile @@ -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 \