diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-04 11:33:51 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-04 11:33:51 +0000 |
commit | ab8668b14ee05854dfe935bf143be7ebe051b8f5 (patch) | |
tree | 7dc38a8e4a14e3e2bcc400db71697b1af035ace8 /Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h | |
parent | 708a1c6166af75f0243972c81d06978cc9bf20be (diff) | |
download | lufa-ab8668b14ee05854dfe935bf143be7ebe051b8f5.tar.gz lufa-ab8668b14ee05854dfe935bf143be7ebe051b8f5.tar.bz2 lufa-ab8668b14ee05854dfe935bf143be7ebe051b8f5.zip |
Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h index e0400e2cc..65ec11bcf 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h @@ -54,38 +54,10 @@ #define ENABLE_XPROG_PROTOCOL
#endif
#endif
-
- /* Defines: */
- #if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
- #define XPROG_VIA_HARDWARE_USART
- #else
- #define BITBANG_PDIDATA_PORT PORTB
- #define BITBANG_PDIDATA_DDR DDRB
- #define BITBANG_PDIDATA_PIN PINB
- #define BITBANG_PDIDATA_MASK (1 << 3)
-
- #define BITBANG_PDICLOCK_PORT AUX_LINE_PORT
- #define BITBANG_PDICLOCK_DDR AUX_LINE_DDR
- #define BITBANG_PDICLOCK_PIN AUX_LINE_PIN
- #define BITBANG_PDICLOCK_MASK AUX_LINE_MASK
-
- #define BITBANG_TPIDATA_PORT PORTB
- #define BITBANG_TPIDATA_DDR DDRB
- #define BITBANG_TPIDATA_PIN PINB
- #define BITBANG_TPIDATA_MASK (1 << 3)
-
- #define BITBANG_TPICLOCK_PORT PORTB
- #define BITBANG_TPICLOCK_DDR DDRB
- #define BITBANG_TPICLOCK_PIN PINB
- #define BITBANG_TPICLOCK_MASK (1 << 1)
- #endif
/** Serial carrier TPI/PDI speed when hardware TPI/PDI mode is used */
#define XPROG_HARDWARE_SPEED 1000000
- /** Number of cycles between each clock when software USART mode is used */
- #define BITS_BETWEEN_USART_CLOCKS 100
-
/** Total number of bits in a single USART frame */
#define BITS_IN_USART_FRAME 12
|