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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue