projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added const where possible to the source functions in the Projects directory.
[pub/USBasp.git]
/
Projects
/
AVRISP
/
Lib
/
V2Protocol.h
diff --git
a/Projects/AVRISP/Lib/V2Protocol.h
b/Projects/AVRISP/Lib/V2Protocol.h
index
db4d09f
..
76b08b0
100644
(file)
--- a/
Projects/AVRISP/Lib/V2Protocol.h
+++ b/
Projects/AVRISP/Lib/V2Protocol.h
@@
-49,16
+49,21
@@
/* Preprocessor Checks: */
\r
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
\r
#undef ENABLE_ISP_PROTOCOL
\r
/* Preprocessor Checks: */
\r
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
\r
#undef ENABLE_ISP_PROTOCOL
\r
- #undef ENABLE_TPI_PROTOCOL
\r
\r
\r
- #if !defined(ENABLE_
PDI
_PROTOCOL)
\r
- #define ENABLE_
PDI
_PROTOCOL
\r
+ #if !defined(ENABLE_
XPROG
_PROTOCOL)
\r
+ #define ENABLE_
XPROG
_PROTOCOL
\r
#endif
\r
#endif
\r
/* Macros: */
\r
/** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */
#define PROGRAMMER_ID "AVRISP_MK2"
\r
#endif
\r
#endif
\r
/* Macros: */
\r
/** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */
#define PROGRAMMER_ID "AVRISP_MK2"
\r
+
\r
+ /** Timeout period for each issued command from the host before it is aborted */
\r
+ #define COMMAND_TIMEOUT_MS 200
\r
+
\r
+ /** Command timeout counter register, GPIOR for speed */
\r
+ #define TimeoutMSRemaining GPIOR1
\r
\r
/* External Variables: */
\r
extern uint32_t CurrentAddress;
\r
\r
/* External Variables: */
\r
extern uint32_t CurrentAddress;
\r