Remove serial driver use from the AVRISP project now that it is no longer needed.

pull/1469/head
Dean Camera 15 years ago
parent 9decc2bc59
commit 18b0d408a9

@ -70,7 +70,6 @@ void SetupHardware(void)
/* Hardware Initialization */ /* Hardware Initialization */
LEDs_Init(); LEDs_Init();
USB_Init(); USB_Init();
Serial_Init(9600, true);
#if defined(ADC) #if defined(ADC)
/* Initialize the ADC converter for VTARGET level detection on supported AVR models */ /* Initialize the ADC converter for VTARGET level detection on supported AVR models */

@ -45,7 +45,6 @@
#include "Descriptors.h" #include "Descriptors.h"
#include <LUFA/Version.h> #include <LUFA/Version.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Board/LEDs.h> #include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h> #include <LUFA/Drivers/USB/USB.h>

@ -152,7 +152,7 @@
* </tr> * </tr>
* </table> * </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> * via a pair of 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i>
* *
* \section Sec_TPI TPI Connections * \section Sec_TPI TPI Connections
@ -196,7 +196,7 @@
* </tr> * </tr>
* </table> * </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> * via a pair of 300 ohm resistors, and the AVR's XCK pin becomes CLOCK.</i>
* *
* \section SSec_Options Project Options * \section SSec_Options Project Options

@ -51,8 +51,6 @@ void V2Protocol_ProcessCommand(void)
{ {
uint8_t V2Command = Endpoint_Read_Byte(); uint8_t V2Command = Endpoint_Read_Byte();
Serial_TxByte(V2Command);
switch (V2Command) switch (V2Command)
{ {
case CMD_SIGN_ON: case CMD_SIGN_ON:

@ -39,7 +39,6 @@
/* Includes: */ /* Includes: */
#include <LUFA/Drivers/USB/USB.h> #include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SPI.h> #include <LUFA/Drivers/Peripheral/SPI.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include "../Descriptors.h" #include "../Descriptors.h"
#include "V2ProtocolConstants.h" #include "V2ProtocolConstants.h"

@ -44,7 +44,7 @@ uint32_t XPROG_Param_NVMBase = 0x010001C0;
uint32_t XPROG_Param_EEPageSize; uint32_t XPROG_Param_EEPageSize;
/** Currently selected XPROG programming protocol */ /** 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 /** Handler for the CMD_XPROG_SETMODE command, which sets the programmer-to-target protocol used for PDI/TPI

@ -136,7 +136,6 @@ SRC = $(TARGET).c \
Lib/XPROG/XMEGANVM.c \ Lib/XPROG/XMEGANVM.c \
Lib/XPROG/TPITarget.c \ Lib/XPROG/TPITarget.c \
Lib/XPROG/TINYNVM.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/DevChapter9.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \

Loading…
Cancel
Save