projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename PDIProtocol.c/.h to XPROGProtocol.c/.h as it will now handle both TPI and...
[pub/USBasp.git]
/
Projects
/
AVRISP
/
Lib
/
V2Protocol.h
diff --git
a/Projects/AVRISP/Lib/V2Protocol.h
b/Projects/AVRISP/Lib/V2Protocol.h
index
b43ae89
..
8cc4c3c
100644
(file)
--- a/
Projects/AVRISP/Lib/V2Protocol.h
+++ b/
Projects/AVRISP/Lib/V2Protocol.h
@@
-39,13
+39,13
@@
/* Includes: */
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
\r
/* Includes: */
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
\r
+ #include <LUFA/Drivers/Peripheral/Serial.h>
\r
\r
#include "../Descriptors.h"
#include "V2ProtocolConstants.h"
\r
#include "V2ProtocolParams.h"
\r
#include "../Descriptors.h"
#include "V2ProtocolConstants.h"
\r
#include "V2ProtocolParams.h"
- #include "ISPProtocol.h"
\r
- #include "PDIProtocol.h"
\r
- #include "TPIProtocol.h"
\r
+ #include "ISP/ISPProtocol.h"
\r
+ #include "XPROG/XPROGProtocol.h"
\r
\r
/* Preprocessor Checks: */
\r
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
\r
\r
/* Preprocessor Checks: */
\r
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
\r
@@
-59,14
+59,11
@@
/* Macros: */
\r
/** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */
/* Macros: */
\r
/** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */
- #define PROGRAMMER_ID "AVRISP_MK2"
\r
-
\r
- /** Timeout in milliseconds of target busy-wait loops waiting for a command to complete */
\r
- #define TARGET_BUSY_TIMEOUT_MS 240
+ #define PROGRAMMER_ID "AVRISP_MK2"
\r
\r
/* External Variables: */
\r
extern uint32_t CurrentAddress;
\r
\r
/* External Variables: */
\r
extern uint32_t CurrentAddress;
\r
- extern bool MustSetAddress;
\r
+ extern bool
MustSetAddress;
\r
\r
/* Function Prototypes: */
\r
void V2Protocol_ProcessCommand(void);
\r
\r
/* Function Prototypes: */
\r
void V2Protocol_ProcessCommand(void);
\r