X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/5930f47bf4b9b4490daf80d44595ff14ee7ce165..7a9b3d3641e1bc97d2826b4865b3cedb11099e62:/Projects/AVRISP/Lib/ISPTarget.h?ds=sidebyside diff --git a/Projects/AVRISP/Lib/ISPTarget.h b/Projects/AVRISP/Lib/ISPTarget.h index 121d7893f..bf884ae26 100644 --- a/Projects/AVRISP/Lib/ISPTarget.h +++ b/Projects/AVRISP/Lib/ISPTarget.h @@ -47,6 +47,15 @@ #include "V2ProtocolConstants.h" #include "V2ProtocolParams.h" + /* Preprocessor Checks: */ + #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1) + #undef ENABLE_ISP_PROTOCOL + + #if !defined(ENABLE_PDI_PROTOCOL) + #define ENABLE_PDI_PROTOCOL + #endif + #endif + /* Macros: */ /** Total number of allowable ISP programming speeds supported by the device */ #define TOTAL_ISP_PROGRAMMING_SPEEDS 7