Auto-configure AVRISP programmer configuration when built for the XPLAIN board to...
[pub/USBasp.git] / Projects / AVRISP / Lib / ISPProtocol.h
index 5a91f59..5a144c4 100644 (file)
                #include <avr/io.h>\r
                \r
                #include "V2Protocol.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
                /** Mask for the reading or writing of the high byte in a FLASH word when issuing a low-level programming command */\r