Change the AVRISP project's RESET LINE makefile tokens to AUX LINE, as it is not always used for target reset.
This commit is contained in:
1 parent
93fe420d89
commit
e1c1c25619
5 files changed
+36
-32
No files matched your search
@@ -189,8 +189,8 @@ void XPROGTarget_EnableTargetTPI(void)
|
||||
IsSending = false;
|
||||
|
||||
/* Set /RESET line low for at least 90ns to enable TPI functionality */
|
||||
RESET_LINE_DDR |= RESET_LINE_MASK;
|
||||
RESET_LINE_PORT &= ~RESET_LINE_MASK;
|
||||
AUX_LINE_DDR |= AUX_LINE_MASK;
|
||||
AUX_LINE_PORT &= ~AUX_LINE_MASK;
|
||||
asm volatile ("NOP"::);
|
||||
asm volatile ("NOP"::);
|
||||
|
||||
@@ -269,8 +269,8 @@ void XPROGTarget_DisableTargetTPI(void)
|
||||
#endif
|
||||
|
||||
/* Tristate target /RESET line */
|
||||
RESET_LINE_DDR &= ~RESET_LINE_MASK;
|
||||
RESET_LINE_PORT &= ~RESET_LINE_MASK;
|
||||
AUX_LINE_DDR &= ~AUX_LINE_MASK;
|
||||
AUX_LINE_PORT &= ~AUX_LINE_MASK;
|
||||
}
|
||||
|
||||
/** Sends a byte via the USART.
|
||||
|
||||
Reference in new issue
Block a user