Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections.

This commit is contained in:
Dean Camera 2009-12-03 08:35:32 +00:00
parent a5adbae652
commit f1baf12fae
6 changed files with 62 additions and 16 deletions

View file

@ -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 */