From f1baf12fae61a13e6d8e88655d709d74977322b5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 3 Dec 2009 08:35:32 +0000 Subject: Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections. --- Projects/AVRISP/Lib/PDIProtocol.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Projects/AVRISP/Lib/PDIProtocol.h') diff --git a/Projects/AVRISP/Lib/PDIProtocol.h b/Projects/AVRISP/Lib/PDIProtocol.h index 406ba2732..6ac3eb209 100644 --- a/Projects/AVRISP/Lib/PDIProtocol.h +++ b/Projects/AVRISP/Lib/PDIProtocol.h @@ -43,6 +43,12 @@ #include "V2Protocol.h" #include "PDITarget.h" + /* Preprocessor Checks: */ + #if BOARD == BOARD_XPLAIN + #undef ENABLE_SPI_PROTOCOL + #define ENABLE_PDI_PROTOCOL + #endif + /* Macros: */ #define XPRG_CMD_ENTER_PROGMODE 0x01 #define XPRG_CMD_LEAVE_PROGMODE 0x02 -- cgit v1.2.3