Add basic support for STK500.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@160 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean
2002-12-01 04:30:01 +00:00
parent a193330803
commit dcca02ebbf
10 changed files with 1086 additions and 74 deletions

4
pgm.h
View File

@@ -32,6 +32,8 @@
#ifndef __pgm_h__
#define __pgm_h__
#include <limits.h>
#include "avrpart.h"
#include "lists.h"
#include "pindefs.h"
@@ -41,11 +43,13 @@
#define OFF 0
#define PGM_DESCLEN 80
#define PGM_PORTLEN PATH_MAX
#define PGM_TYPELEN 32
typedef struct programmer_t {
LISTID id;
char desc[PGM_DESCLEN];
char type[PGM_TYPELEN];
char port[PGM_PORTLEN];
unsigned int pinno[N_PINS];
int ppidata;
int fd;