mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-17 02:54:17 +00:00
Submitted by Mikael Hermansson:
* avrdude.conf.in (ATxmega256A3): new device. * stk500v2 (stk500v2_initialize): Enable the AVRISPmkII as a PDI-capable device for ATxmega parts. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@809 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -1006,8 +1006,8 @@ static int stk500hvsp_program_enable(PROGRAMMER * pgm, AVRPART * p)
|
||||
static int stk500v2_initialize(PROGRAMMER * pgm, AVRPART * p)
|
||||
{
|
||||
|
||||
if (PDATA(pgm)->pgmtype == PGMTYPE_STK600 &&
|
||||
(p->flags & AVRPART_HAS_PDI) != 0) {
|
||||
if ((PDATA(pgm)->pgmtype == PGMTYPE_STK600 || PDATA(pgm)->pgmtype == PGMTYPE_AVRISP_MKII) != 0
|
||||
&& (p->flags & AVRPART_HAS_PDI) != 0) {
|
||||
/*
|
||||
* This is an ATxmega device, must use XPROG protocol for the
|
||||
* remaining actions.
|
||||
|
||||
Reference in New Issue
Block a user