diff options
| author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-03 08:35:32 +0000 | 
|---|---|---|
| committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-03 08:35:32 +0000 | 
| commit | f1baf12fae61a13e6d8e88655d709d74977322b5 (patch) | |
| tree | 3903a0a155f520bac44def96e666352e5fbf224b /Projects/AVRISP/Lib/ISPProtocol.h | |
| parent | a5adbae652bcf5382ef34d71da4d11de15b482a6 (diff) | |
| download | lufa-f1baf12fae61a13e6d8e88655d709d74977322b5.tar.gz lufa-f1baf12fae61a13e6d8e88655d709d74977322b5.tar.bz2 lufa-f1baf12fae61a13e6d8e88655d709d74977322b5.zip | |
Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections.
Diffstat (limited to 'Projects/AVRISP/Lib/ISPProtocol.h')
| -rw-r--r-- | Projects/AVRISP/Lib/ISPProtocol.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/Projects/AVRISP/Lib/ISPProtocol.h b/Projects/AVRISP/Lib/ISPProtocol.h index 5a91f59e3..5a144c4f7 100644 --- a/Projects/AVRISP/Lib/ISPProtocol.h +++ b/Projects/AVRISP/Lib/ISPProtocol.h @@ -40,6 +40,12 @@  		#include <avr/io.h>
  		#include "V2Protocol.h"
 +		
 +	/* Preprocessor Checks: */
 +		#if BOARD == BOARD_XPLAIN
 +			#undef  ENABLE_SPI_PROTOCOL
 +			#define ENABLE_PDI_PROTOCOL
 +		#endif
  	/* Macros: */
  		/** Mask for the reading or writing of the high byte in a FLASH word when issuing a low-level programming command */
 | 
