Combine PDIProtocol and TPIProtocol into a single XPROGProtocol set of files.
This commit is contained in:
parent
05fcf7e2a7
commit
9decc2bc59
15 changed files with 217 additions and 191 deletions
|
@ -46,16 +46,15 @@
|
|||
/* Preprocessor Checks: */
|
||||
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
||||
#undef ENABLE_ISP_PROTOCOL
|
||||
#undef ENABLE_TPI_PROTOCOL
|
||||
|
||||
#if !defined(ENABLE_PDI_PROTOCOL)
|
||||
#define ENABLE_PDI_PROTOCOL
|
||||
#if !defined(ENABLE_XPROG_PROTOCOL)
|
||||
#define ENABLE_XPROG_PROTOCOL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Defines: */
|
||||
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
||||
#define PDI_VIA_HARDWARE_USART
|
||||
#define XPROG_VIA_HARDWARE_USART
|
||||
#else
|
||||
#define BITBANG_PDIDATA_PORT PORTB
|
||||
#define BITBANG_PDIDATA_DDR DDRB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue