Auto-configure AVRISP programmer configuration when built for the XPLAIN board to...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPTarget.h
index 121d789..4c4b891 100644 (file)
                #include "V2ProtocolConstants.h"\r
                #include "V2ProtocolParams.h"\r
 \r
+       /* Preprocessor Checks: */\r
+               #if BOARD == BOARD_XPLAIN\r
+                       #undef  ENABLE_SPI_PROTOCOL\r
+                       #define ENABLE_PDI_PROTOCOL\r
+               #endif\r
+\r
        /* Macros: */\r
                /** Total number of allowable ISP programming speeds supported by the device */\r
                #define TOTAL_ISP_PROGRAMMING_SPEEDS  7\r