Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections.
This commit is contained in:
parent
a5adbae652
commit
f1baf12fae
6 changed files with 62 additions and 16 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue