Add support for the Atmel Butterfly board which talks to the

Butterfly's supplied bootloader firmware.

Contributed by: Michael Mayer <michael-mayer@gmx.de>


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@387 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean
2003-11-30 15:16:48 +00:00
parent 9a00b545e3
commit bceb249858
7 changed files with 698 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
#include "pgm.h"
#include "stk500.h"
#include "avr910.h"
#include "butterfly.h"
#include "avr.h"
extern char * progname;
@@ -105,6 +106,7 @@ static int parse_cmdbits(OPCODE * op);
%token K_SIZE
%token K_STK500
%token K_AVR910
%token K_BUTTERFLY
%token K_TYPE
%token K_VCC
%token K_VFYLED
@@ -294,6 +296,12 @@ prog_parm :
}
} |
K_TYPE TKN_EQUAL K_BUTTERFLY {
{
butterfly_initpgm(current_prog);
}
} |
K_DESC TKN_EQUAL TKN_STRING {
strncpy(current_prog->desc, $3->value.string, PGM_DESCLEN);
current_prog->desc[PGM_DESCLEN-1] = 0;