Get rid of the Usage file.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@51 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2001-01-25 16:24:08 +00:00
parent eff6750e5c
commit a87a5d0671
2 changed files with 9 additions and 31 deletions

29
Usage
View File

@ -1,29 +0,0 @@
Usage: avrprog [options]
Available Options:
-m MemType : select memory type for reading or writing
\"e\", \"eeprom\" = EEPROM
\"f\", \"flash\" = FLASH (default)
-i Filename : select input file, \"-\" = stdin
-o Filename : select output file, \"-\" = stdout
-f Format : select input / output file format
\"i\" = Intel Hex
\"s\" = Motorola S-Record
\"r\" = Raw binary (default for output)
\"a\" = Auto detect (default for input)
(valid for input only)
-p Part : select Atmel part number (see below for valid parts)
-P Parallel : select parallel port device name (default = /dev/ppi0)
-F : override invalid device signature check
-t : enter terminal mode (or read commands from stdin)
-e : perform a chip erase (required before programming)

11
avr.h
View File

@ -37,7 +37,8 @@
/* /*
* AVR memory designations; the order of these is important, these are * AVR memory designations; the order of these is important, these are
* used as indexes into statically initialized data, don't change them * used as indexes into statically initialized data, don't change them
* around. * around. Specifically, avr_read_byte() and avr_write_byte() rely on
* the order.
*/ */
typedef enum { typedef enum {
AVR_EEPROM, AVR_EEPROM,
@ -48,7 +49,6 @@ typedef enum {
#if 0 #if 0
struct avrmem { struct avrmem {
AVRMEM memtype;
int startaddr; int startaddr;
int size; int size;
unsigned char * buf; unsigned char * buf;
@ -67,11 +67,18 @@ struct avrpart {
int min_write_delay; /* microseconds */ int min_write_delay; /* microseconds */
int max_write_delay; /* microseconds */ int max_write_delay; /* microseconds */
int chip_erase_delay; /* microseconds */ int chip_erase_delay; /* microseconds */
#if 1
unsigned char * mem[AVR_MAXMEMTYPES]; /* pointers to avr memory unsigned char * mem[AVR_MAXMEMTYPES]; /* pointers to avr memory
buffers, indexed by buffers, indexed by
AVR_EEPROM or AVR_FLASH */ AVR_EEPROM or AVR_FLASH */
#else
struct avrmem * mem[AVR_MAXMEMTYPES]; /* pointers to avr memory
buffers, indexed by
AVR_EEPROM or AVR_FLASH */
#endif
}; };
extern struct avrpart parts[]; extern struct avrpart parts[];