Auto-configure AVRISP programmer configuration when built for the XPLAIN board to...
[pub/USBasp.git] / Projects / AVRISP / Lib / V2Protocol.h
index 7a181e3..f65a57c 100644 (file)
                #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 */