projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auto-configure AVRISP programmer configuration when built for the XPLAIN board to...
[pub/USBasp.git]
/
Projects
/
AVRISP
/
Lib
/
V2Protocol.h
diff --git
a/Projects/AVRISP/Lib/V2Protocol.h
b/Projects/AVRISP/Lib/V2Protocol.h
index
7a181e3
..
f65a57c
100644
(file)
--- a/
Projects/AVRISP/Lib/V2Protocol.h
+++ b/
Projects/AVRISP/Lib/V2Protocol.h
@@
-45,6
+45,12
@@
#include "V2ProtocolParams.h"
#include "ISPProtocol.h"
\r
#include "PDIProtocol.h"
\r
#include "V2ProtocolParams.h"
#include "ISPProtocol.h"
\r
#include "PDIProtocol.h"
\r
+
\r
+ /* Preprocessor Checks: */
\r
+ #if BOARD == BOARD_XPLAIN
\r
+ #undef ENABLE_SPI_PROTOCOL
\r
+ #define ENABLE_PDI_PROTOCOL
\r
+ #endif
\r
/* 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 */